Skip to content
This repository was archived by the owner on Jul 16, 2024. It is now read-only.

Commit e2e5283

Browse files
committed
Docs: Added note about the latest documentation
1 parent 6304052 commit e2e5283

File tree

3 files changed

+41
-1
lines changed

3 files changed

+41
-1
lines changed

docs/landing/layouts/partials/introduction.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
<div class="admonition note">
2+
<h5 class="admonition-title">Project documentation moved for latest version</h5>
3+
The latest scala driver documentation has been merged with the Java Driver.<br/>
4+
The latest documentation is available from: <a href="http://mongodb.github.io/mongo-java-driver/">http://mongodb.github.io/mongo-java-driver/</a>.
5+
</div>
6+
17
<h2>Introduction</h2>
28

39
<p>

docs/landing/static/s/css/frontpage.css

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -391,3 +391,37 @@ code {
391391
background-color: #ddd;
392392
color: #494747;
393393
}
394+
395+
div.admonition {
396+
margin: 24px 0;
397+
width: auto;
398+
max-width: 100%;
399+
padding: 2px 12px 22px 12px;
400+
border: 5px solid transparent;
401+
}
402+
403+
.admonition .admonition-title {
404+
margin-bottom: 0;
405+
font-size: 14px;
406+
font-weight: bold;
407+
text-transform: uppercase;
408+
line-height: 24px;
409+
}
410+
411+
.admonition .admonition-title:after {
412+
content: ":";
413+
font-weight:900;
414+
}
415+
416+
.admonition > p {
417+
margin: 0 0 12.5px 0;
418+
}
419+
420+
.admonition > p.last {
421+
margin-bottom: 0;
422+
}
423+
424+
.admonition.note {
425+
background-color: #edf4e8;
426+
border-color: #6ba442;
427+
}

docs/landing/static/versions.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
[{"version": "2.8"}, {"version": "2.7"}, {"version": "2.6"}, {"version": "2.5"}, {"version": "2.4"}, {"version": "2.3"}, {"version": "2.2"}, {"version": "2.1"}, {"version": "2.0"}, {"version": "1.2"}, {"version": "1.1"}, {"version": "1.0"}]
1+
[{"version": "2.9"}, {"version": "2.8"}, {"version": "2.7"}, {"version": "2.6"}, {"version": "2.5"}, {"version": "2.4"}, {"version": "2.3"}, {"version": "2.2"}, {"version": "2.1"}, {"version": "2.0"}, {"version": "1.2"}, {"version": "1.1"}, {"version": "1.0"}]

0 commit comments

Comments
 (0)