diff --git a/config/redirects b/config/redirects index 1aa16d04..fc66d5dd 100644 --- a/config/redirects +++ b/config/redirects @@ -1,6 +1,6 @@ define: prefix docs/drivers/go define: base https://www.mongodb.com/${prefix} -define: versions v1.7 v1.8 v1.9 v1.10 v1.11 v1.12 v1.13 v1.14 v1.15 v1.16 v1.17 master +define: versions v1.7 v1.8 v1.9 v1.10 v1.11 v1.12 v1.13 v1.14 v1.15 v1.16 v1.17 v2.0 master symlink: current -> master diff --git a/snooty.toml b/snooty.toml index d5f4b04f..361fd0d9 100644 --- a/snooty.toml +++ b/snooty.toml @@ -14,12 +14,13 @@ intersphinx = [ sharedinclude_root = "https://raw.githubusercontent.com/10gen/docs-shared/main/" [constants] +api-version = "v2" driver-long = "MongoDB Go Driver" driver-short = "Go driver" docs-branch = "master" -version = "v1.17.1" +version = "v2.0" example = "https://raw.githubusercontent.com/mongodb/docs-golang/{+docs-branch+}/source/includes/usage-examples/code-snippets" -api = "https://pkg.go.dev/go.mongodb.org/mongo-driver@{+version+}" +api = "https://pkg.go.dev/go.mongodb.org/mongo-driver/{+api-version+}" stable-api = "Stable API" qe = "Queryable Encryption" key-vault-long = "key vault collection" diff --git a/source/includes/mongodb-compatibility-table-go.rst b/source/includes/mongodb-compatibility-table-go.rst index e04281ad..ee227f04 100644 --- a/source/includes/mongodb-compatibility-table-go.rst +++ b/source/includes/mongodb-compatibility-table-go.rst @@ -14,7 +14,7 @@ - MongoDB 4.0 - MongoDB 3.6 - * - 1.12 to 1.17 + * - 1.12 to 2.0 - ⊛ [#8.0-support]_ - ✓ - ✓