[JAVA-2619] docsref links are broken Created: 03/Oct/17  Updated: 29/Oct/23  Resolved: 13/Nov/17

Status: Closed
Project: Java Driver
Component/s: Documentation
Affects Version/s: 3.5.0
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Farès Hassak Assignee: Ross Lawley
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible

 Description   

Hello,

All _docsref _link are broken in documentation of mongodb-java-driver since version 3.5.

Exemple :

  1. http://mongodb.github.io/mongo-java-driver/3.5/builders/aggregation/

Match
The $match pipeline stage....

$match refer to http://docs.mongodb.org/manualreference/operator/aggregation/match/

'/' is missing between manual and reference.

  1. http://mongodb.github.io/mongo-java-driver/3.5/driver/tutorials/indexes/

Indexes support....

Indexes refer to http://docs.mongodb.org/manualindexes

'/' is missing between manual and indexes

'/' has been deleted here :

docs/reference/themes/mongodb/layouts/shortcodes/docsref.html

Git history :

https://github.com/mongodb/mongo-java-driver/commit/3770623f7051634daa978c265a3b03fe04fee913#diff-24e2b6e398bc4a403c7bfab94cbfb156

-http://docs.mongodb.org/manual/{{ .Get 0 }}
+http://docs.mongodb.org/manual{{ if eq (((.Get 0) 1) "/") false }}/{{ end }}{{ .Get 0 }}

Farès



 Comments   
Comment by Ross Lawley [ 13/Nov/17 ]

PR: https://github.com/rozza/mongo-java-driver/pull/219

Generated at Thu Feb 08 08:57:40 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.