Skip to content

Commit 526fb2d

Browse files
committed
add banner
1 parent ad0b33f commit 526fb2d

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

snooty.toml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ intersphinx = [
55
"https://www.mongodb.com/docs/drivers/objects.inv",
66
"https://www.mongodb.com/docs/atlas/objects.inv",
77
]
8+
eol = true
89

910
toc_landing_pages = [
1011
"/get-started",
@@ -32,3 +33,11 @@ stable-api = "Stable API"
3233
vector-search = "Atlas Vector Search"
3334
language = "JavaScript"
3435
environment = "Node.js"
36+
docs-url = "http://mongodb.com/docs/drivers/node/current"
37+
38+
[[banners]]
39+
targets = ["*"]
40+
variant = "info"
41+
value = """\
42+
This version of the documentation is archived and no longer supported. View the `current documentation <{+docs-url+}>`__ to learn how to `upgrade your version of the {+driver-short+} <{+docs-url+}/upgrade/>`__.\
43+
"""

0 commit comments

Comments
 (0)