diff --git a/snooty.toml b/snooty.toml index a49ef1e1..4d0cd304 100644 --- a/snooty.toml +++ b/snooty.toml @@ -1,13 +1,11 @@ name = "drivers" -title = "MongoDB Drivers" +title = "Drivers" toc_landing_pages = [ - "/cpp-drivers", "/python-drivers", "/php-drivers", "/java-drivers", "/kotlin-drivers", - "/use-cases", "/ruby-drivers", "/csharp-drivers", "/other-document-dbs", @@ -22,7 +20,3 @@ stable-api = "Stable API" node-driver-long = "MongoDB Node.js Driver" node-driver-short = "Node.js Driver" atlas = "MongoDB Atlas" - -java-version = "5.1" -java-version-full = "{+java-version+}.1" -java-api = "https://mongodb.github.io/mongo-java-driver/{+java-version+}" diff --git a/source/includes/help-links-cxx.rst b/source/includes/help-links-cxx.rst deleted file mode 100644 index ab771849..00000000 --- a/source/includes/help-links-cxx.rst +++ /dev/null @@ -1,6 +0,0 @@ -How to get help ---------------- - -- Ask questions on our :community-forum:`MongoDB Community Forums <>`. -- Visit our :technical-support:`Support Channels `. -- See how to `report a bug `_. diff --git a/source/includes/help-links-go.rst b/source/includes/help-links-go.rst deleted file mode 100644 index 484855de..00000000 --- a/source/includes/help-links-go.rst +++ /dev/null @@ -1,6 +0,0 @@ -How to get help ---------------- - -- Ask questions on our :community-forum:`MongoDB Community Forums <>`. -- Visit our :technical-support:`Support Channels `. -- See the :issue:`project JIRA ` to raise issues or request features. diff --git a/source/includes/help-links-java.rst b/source/includes/help-links-java.rst deleted file mode 100644 index 5a143644..00000000 --- a/source/includes/help-links-java.rst +++ /dev/null @@ -1,6 +0,0 @@ -How to get help ---------------- - -- Ask questions on our :community-forum:`MongoDB Community Forums <>`. -- Visit our :technical-support:`Support Channels `. -- See `Issues & Help <{+java-api+}/issues-help/>`__. diff --git a/source/includes/help-links-kotlin.rst b/source/includes/help-links-kotlin.rst deleted file mode 100644 index b58b93f3..00000000 --- a/source/includes/help-links-kotlin.rst +++ /dev/null @@ -1,6 +0,0 @@ -How to get help ---------------- - -- Ask questions on our :community-forum:`MongoDB Community Forums <>`. -- Visit our :technical-support:`Support Channels `. -- See `Issues & Help `__. diff --git a/source/includes/help-links-pymongo.rst b/source/includes/help-links-pymongo.rst deleted file mode 100644 index 9e856d4c..00000000 --- a/source/includes/help-links-pymongo.rst +++ /dev/null @@ -1,6 +0,0 @@ -How to get help ---------------- - -- Ask questions on our :community-forum:`MongoDB Community Forums <>`. -- Visit our :technical-support:`Support Channels `. -- See `JIRA `_ to raise issues or request features. diff --git a/source/includes/replacement-mms.rst b/source/includes/replacement-mms.rst deleted file mode 100644 index f1eccb35..00000000 --- a/source/includes/replacement-mms.rst +++ /dev/null @@ -1,2 +0,0 @@ -.. |mms-home| replace:: :mms-home:`MongoDB Cloud Manager ` -.. |MMS| replace:: MongoDB Cloud Manager diff --git a/source/includes/stable-api-snippets/kotlin-sync-client.kt b/source/includes/stable-api-snippets/kotlin-sync-client.kt deleted file mode 100644 index 151accfc..00000000 --- a/source/includes/stable-api-snippets/kotlin-sync-client.kt +++ /dev/null @@ -1,22 +0,0 @@ -import com.mongodb.ConnectionString -import com.mongodb.MongoClientSettings -import com.mongodb.ServerApi -import com.mongodb.ServerApiVersion -import com.mongodb.kotlin.client.MongoClient -import com.mongodb.kotlin.client.MongoDatabase - -// Replace the placeholder with your MongoDB deployment's connection string -val uri = "" - -// Set the Stable API version on the client -val serverApi = ServerApi.builder() - .version(ServerApiVersion.V1) - .build() -val settings = MongoClientSettings.builder() - .applyConnectionString(ConnectionString(uri)) - .serverApi(serverApi) - .build() - -// Create a new client and connect to the server -val mongoClient = MongoClient.create(settings) -val database = mongoClient.getDatabase("test") diff --git a/source/includes/stable-api-snippets/pymongo-client.py b/source/includes/stable-api-snippets/pymongo-client.py deleted file mode 100644 index bff2d429..00000000 --- a/source/includes/stable-api-snippets/pymongo-client.py +++ /dev/null @@ -1,8 +0,0 @@ -from pymongo.mongo_client import MongoClient -from pymongo.server_api import ServerApi - -# Replace with your MongoDB deployment's connection string. -conn_str = "" - -# Set the Stable API version on the client. -client = pymongo.MongoClient(conn_str, server_api=ServerApi('1'), serverSelectionTimeoutMS=5000)