Skip to content

Commit 0840980

Browse files
author
Chris Cho
authored
Merge pull request #530 from ccho-mongodb/DOCSP-6654
DOCSP-6654: Update java docs references to point to latest (3.10 -> 3.11)
2 parents 534e9a6 + 969d098 commit 0840980

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

conf.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@
6666
'mms-docs': ('https://docs.cloud.mongodb.com%s', ''),
6767
'mms-home': ('https://cloud.mongodb.com%s', ''),
6868
'guides': ('https://docs.mongodb.com/guides%s', ''),
69+
'java-docs-latest': ('http://mongodb.github.io/mongo-java-driver/3.11/%s', ''),
6970
}
7071

7172
intersphinx_mapping = {}

source/drivers/java.txt

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@ Introduction
1919

2020
The official MongoDB Java Driver providing both synchronous and asynchronous interaction with MongoDB.
2121

22-
- `Tutorials <http://mongodb.github.io/mongo-java-driver/3.10/driver/tutorials/>`__
22+
- :java-docs-latest:`Tutorials <driver/tutorials/>`
2323

24-
- `Usage Guide <http://mongodb.github.io/mongo-java-driver/3.10/driver/>`__
24+
- :java-docs-latest:`Usage Guide <driver/>`
2525

26-
- `API Documentation <http://mongodb.github.io/mongo-java-driver/3.10/javadoc/overview-summary.html>`_
26+
- :java-docs-latest:`API Documentation <javadoc/overview-summary.html>`
2727

28-
- `Changelog <http://mongodb.github.io/mongo-java-driver/3.10/whats-new/>`__
28+
- :java-docs-latest:`Changelog <whats-new/>`
2929

3030
- `Source Code <https://github.com/mongodb/mongo-java-driver/>`__
3131

@@ -48,7 +48,7 @@ Installation
4848

4949
The recommended way to get started using one of the drivers in your project is with a dependency
5050
management system. See
51-
`Installation Guide <http://mongodb.github.io/mongo-java-driver/3.10/driver/getting-started/installation/>`__
51+
:java-docs-latest:`Installation Guide <driver/getting-started/installation/>`
5252

5353

5454
Connect to MongoDB Atlas
@@ -76,7 +76,7 @@ To connect to a `MongoDB Atlas <https://docs.atlas.mongodb.com/>`_ cluster, use
7676
MongoDatabase database = mongoClient.getDatabase("test");
7777

7878

79-
See `Connect to MongoDB <http://mongodb.github.io/mongo-java-driver/3.10/driver/tutorials/connect-to-mongodb/>`__
79+
See :java-docs-latest:`Connect to MongoDB <driver/tutorials/connect-to-mongodb/>`
8080
for more ways to connect.
8181

8282

@@ -109,7 +109,7 @@ How to get help
109109
- Join our `Google Group <https://groups.google.com/forum/#!forum/mongodb-user>`__.
110110
- Ask on `Stack Overflow <https://stackoverflow.com/questions/tagged/mongodb+java>`__.
111111
- Visit our `Support Channels <https://docs.mongodb.com/manual/support/>`__.
112-
- See `Issues & Help <http://mongodb.github.io/mongo-java-driver/3.10/issues-help/>`__.
112+
- See :java-docs-latest:`Issues & Help <issues-help/>`.
113113

114114

115115

0 commit comments

Comments
 (0)