Skip to content

Commit 53cbdb0

Browse files
author
Chris Cho
authored
docs: add link to new reference docs
DOCSP-9667
1 parent a1be593 commit 53cbdb0

File tree

3 files changed

+10
-1
lines changed

3 files changed

+10
-1
lines changed

docs/reference/config.toml

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
1-
baseurl = "/node-mongodb-native/steverenaker/DOCS-8756"
1+
baseurl = "/node-mongodb-native/3.5"
22
languageCode = "en-us"
33
title = "MongoDB Node.js Driver"
44
theme = "mongodb"
55
canonifyurls = false
66

7+
[params]
8+
referenceDocsUrl = "https://docs.mongodb.com/drivers/node"
9+
710
[blackfriday]
811
plainIdAnchors = true
912

docs/reference/layouts/partials/header.html

+2
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,5 @@
2525
<div class="documentwrapper">
2626
<div class="bodywrapper">
2727
<div class="body">
28+
29+
{{ partial "new_version.html" . }}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
<div class="alert alert-info" role="alert">
2+
Note: You are currently viewing version 3.5 of the Node.js driver documentation.
3+
<a href="{{.Site.Params.ReferenceDocsUrl}}">Click here</a> for the latest version.
4+
</div>

0 commit comments

Comments
 (0)