Skip to content

Commit 5233ff8

Browse files
committed
Docs: Updated landing page for 4.0
JAVA-3533
1 parent 7decb14 commit 5233ff8

File tree

16 files changed

+36
-222
lines changed

16 files changed

+36
-222
lines changed

docs/landing/config.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
baseurl = "/mongo-java-driver/"
22
languageCode = "en-us"
3-
title = "MongoDB Java Driver"
3+
title = "MongoDB Java Drivers"
44
canonifyurls = false
55
disableHugoGeneratorInject = true
66
disableKinds = ["section", "taxonomy", "taxonomyTerm", "404"]

docs/landing/data/releases.toml

Lines changed: 6 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
current = "3.12.0"
22

3+
[[versions]]
4+
version = "4.0.0-beta1"
5+
docs = "./4.0"
6+
api = "./4.0/javadoc"
7+
38
[[versions]]
49
version = "3.12.0"
510
status = "current"
@@ -44,50 +49,4 @@ current = "3.12.0"
4449
[[versions]]
4550
version = "3.4.3"
4651
docs = "./3.4"
47-
api = "./3.4/javadoc"
48-
49-
[[versions]]
50-
version = "3.3.0"
51-
docs = "./3.3"
52-
api = "http://api.mongodb.com/java/3.3"
53-
54-
[[versions]]
55-
version = "3.2.2"
56-
docs = "./3.2"
57-
api = "http://api.mongodb.com/java/3.2"
58-
59-
[[versions]]
60-
version = "3.1.1"
61-
docs = "./3.1"
62-
api = "http://api.mongodb.com/java/3.1"
63-
64-
[[versions]]
65-
version = "3.0.4"
66-
docs = "./3.0"
67-
api = "http://api.mongodb.com/java/3.0"
68-
69-
[[versions]]
70-
version = "2.14.2"
71-
docs = "./2.14"
72-
api = "http://api.mongodb.com/java/2.14"
73-
74-
[[versions]]
75-
version = "2.13.3"
76-
docs = "./2.13"
77-
api = "http://api.mongodb.com/java/2.13"
78-
79-
[[drivers]]
80-
name = "mongodb-driver-sync"
81-
description = "The synchronous driver, new in 3.7."
82-
versions = "3.12.0,3.11.2,3.10.2,3.9.0,3.8.2,3.7.1"
83-
84-
[[drivers]]
85-
name = "mongodb-driver-legacy"
86-
description = "The legacy API for the synchronous driver.<br/>Prefer mongodb-driver-sync for new applications"
87-
versions = "3.12.0,3.11.2,3.10.2,3.9.0"
88-
89-
[[drivers]]
90-
name = "mongodb-driver-async"
91-
description = "The callback-based asynchronous driver.<br/>Prefer the Reactive Streams driver for new applications."
92-
versions = "3.12.0,3.11.2,3.10.2,3.9.0,3.8.2,3.7.1,3.6.4,3.5.0,3.4.3,3.3.0,3.2.2,3.1.1,3.0.4"
93-
52+
api = "./3.4/javadoc"

docs/landing/layouts/index.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424

2525
{{- partial "features.html" . -}}
2626

27-
{{- partial "quickStart.html" . -}}
2827
</div>
2928
<div class="col-md-4">
3029
{{- partial "releases.html" . -}}

docs/landing/layouts/partials/features.html

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,15 @@ <h2>Features</h2>
77
intermediate Map instance.</dd>
88
<dt>MongoDB Driver</dt>
99
<dd>An updated Java driver that includes the legacy API as well as a new generic MongoCollection interface that complies with a new cross-driver CRUD specification.</dd>
10-
<dt>MongoDB Async Driver</dt>
11-
<dd>A callback-based asynchronous driver. Note that this driver is now deprecated in favor of the
12-
<a href="http://mongodb.github.io/mongo-java-driver-reactivestreams/">Reactive Streams Java Driver</a>
10+
<dt>MongoDB Reactive Streams Driver</dt>
11+
<dd>Providing asynchronous stream processing with non-blocking back pressure for MongoDB.
12+
Fully implements the <a href="http://www.reactive-streams.org/">Reactive Streams API</a> for providing interop with other reactive streams within the JVM ecosystem.<br><br>
13+
From 4.0 documentation for the MongoDB Java Reactive Streams Driver is available here, alongside all the JVM drivers.
14+
For 1.x documentation see the old <a href="http://mongodb.github.io/mongo-java-driver-reactivestreams/">Reactive Streams Java Driver documentation.</a>
15+
</dd>
16+
<dt>MongoDB Scala Driver</dt>
17+
<dd>Providing idiomatic Scala support for MongoDB.<br><br>
18+
From 4.0 documentation for the MongoDB Scala Driver is available here, alongside all the JVM drivers.
19+
For 2.x documentation see the old <a href="http://mongodb.github.io/mongo-scala-driver/">Scala Driver documentation.</a>
1320
</dd>
1421
</dl>
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<div>
22
<div class="nav-items pull-right hidden-xs">
33
<a href="https://university.mongodb.com" data-toggle="tooltip" data-placement="bottom" title="Free Online Classes">MongoDB University</a>
4-
<a href="http://www.mongodb.org/downloads" data-toggle="tooltip" data-placement="bottom" title="Download MongoDB">Downloads</a>
5-
<a href="http://www.mongodb.org/get-involved" data-toggle="tooltip" data-placement="bottom" title="Get involved with MongoDB">Community</a>
6-
<a href="http://docs.mongodb.org" data-toggle="tooltip" data-placement="bottom" title="The MongoDB Documentation">Docs</a>
7-
<a href="http://blog.mongodb.org" data-toggle="tooltip" data-placement="bottom" title="The MongoDB Blog">Blog</a>
4+
<a href="https://www.mongodb.com/download-center" data-toggle="tooltip" data-placement="bottom" title="Download MongoDB">Downloads</a>
5+
<a href="https://www.mongodb.com/community" data-toggle="tooltip" data-placement="bottom" title="Get involved with MongoDB">Community</a>
6+
<a href="https://docs.mongodb.com/" data-toggle="tooltip" data-placement="bottom" title="The MongoDB Documentation">Docs</a>
7+
<a href="https://www.mongodb.com/blog" data-toggle="tooltip" data-placement="bottom" title="The MongoDB Blog">Blog</a>
88
</div>
99
</div>

docs/landing/layouts/partials/hero.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
<div class="row">
44
<div class="col-md-2"></div>
55
<div class="col-md-6">
6-
<h2>MongoDB Java Driver</h2>
6+
<h2>MongoDB Java Drivers</h2>
77
<p>
8-
The next generation Java driver for MongoDB
8+
The next generation Java drivers for MongoDB
99
</p>
1010
<p>
1111
{{- range where $.Site.Data.releases.versions "version" $.Site.Data.releases.current -}}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<h2>Introduction</h2>
22

33
<p>
4-
The official MongoDB Java Driver providing both synchronous and asynchronous interaction with MongoDB.
4+
The official MongoDB Java Drivers providing both synchronous and asynchronous interaction with MongoDB.
55
</p>
Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
<section id="universityPromo">
22
<h3><span>MongoDB University</span></h3>
33

4-
<h4>M101J: MongoDB for Java Developers</h4>
5-
<p>Learn everything you need to know to get started building a MongoDB-based app. From basic installation, JSON, schema design, querying, insertion of data, indexing and working with the Java driver.
6-
</p>
4+
<h4>M220J: MongoDB for Java Developers</h4>
5+
<p> Learn the essentials of Java application development with MongoDB.</p>
76
<p>
8-
<a href="https://university.mongodb.com/courses/M101J/about" target="_blank" class="btn btn-success btn-mongo">Learn More</a>
7+
<a href="https://university.mongodb.com/courses/M220J/about" target="_blank" class="btn btn-success btn-mongo">Learn More</a>
98
</p>
109
</section>

docs/landing/layouts/partials/quickStart.html

Lines changed: 0 additions & 150 deletions
This file was deleted.

docs/reference/config.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
baseURL = "/mongo-java-driver"
1+
baseURL = "/mongo-java-driver/4.0"
22
languageCode = "en-us"
33
title = "MongoDB JVM Drivers"
44
theme = "mongodb"

0 commit comments

Comments
 (0)