From 11b9cf369aaf23e98ba3b79fa745494cde5bd7d8 Mon Sep 17 00:00:00 2001 From: Chris Cho Date: Thu, 21 Sep 2023 14:31:22 -0400 Subject: [PATCH] Merge pull request #290 from ccho-mongodb/DOCSP-30911-server-support DOCSP-30911: Add server lifecycle support callout (cherry picked from commit 332a3cae190adfa0877aac457747fb392927ce0a) (cherry picked from commit aac87a8b4551a32ee59e322c5755d28dcca85b48) (cherry picked from commit bcc0e554f73ec2b9df711964ed32c785b271a2e9) --- source/compatibility.txt | 4 +++- source/fundamentals/connection.txt | 8 ++++++-- source/index.txt | 10 +++++++--- 3 files changed, 16 insertions(+), 6 deletions(-) diff --git a/source/compatibility.txt b/source/compatibility.txt index f2981c99..a39444ac 100644 --- a/source/compatibility.txt +++ b/source/compatibility.txt @@ -18,6 +18,8 @@ The following compatibility table specifies the recommended version of the The first column lists the driver version. +.. sharedinclude:: dbx/lifecycle-schedule-callout.rst + .. sharedinclude:: dbx/compatibility-table-legend.rst .. sharedinclude:: dbx/mongodb-compatibility-table-go.rst @@ -28,4 +30,4 @@ Language Compatibility .. sharedinclude:: dbx/language-compatibility-table-go.rst For more information on how to read the compatibility tables, see our guide on -:ref:`MongoDB Compatibility Tables. ` \ No newline at end of file +:ref:`MongoDB Compatibility Tables. ` diff --git a/source/fundamentals/connection.txt b/source/fundamentals/connection.txt index c9731761..f115fc3d 100644 --- a/source/fundamentals/connection.txt +++ b/source/fundamentals/connection.txt @@ -6,6 +6,10 @@ Connection Guide .. default-domain:: mongodb +.. facet:: + :name: genre + :values: tutorial + .. contents:: On this page :local: :backlinks: none @@ -61,7 +65,7 @@ To connect to MongoDB, you need to create a client. A client manages your connections and runs database commands. .. tip:: Reuse Your Client - + We recommend that you reuse your client across sessions and operations. You can use the same ``Client`` instance to perform multiple tasks, instead of creating a new one each time. The ``Client`` type is safe for @@ -83,7 +87,7 @@ more about creating a client, see the API documentation for `Client <{+api+}/mongo#Client>`__ and `Connect() <{+api+}/mongo#Connect>`__. You can set the {+stable-api+} version as an option to avoid -breaking changes when you upgrade to a new server version. To +breaking changes when you upgrade to a new server version. To learn more about the {+stable-api+} feature, see the :ref:`{+stable-api+} page `. diff --git a/source/index.txt b/source/index.txt index e544b06f..25565a84 100644 --- a/source/index.txt +++ b/source/index.txt @@ -4,6 +4,10 @@ .. default-domain:: mongodb +.. facet:: + :name: genre + :values: reference + .. toctree:: :titlesonly: :maxdepth: 1 @@ -25,9 +29,9 @@ Introduction ------------ -Welcome to the documentation site for the official {+driver-long+}. -You can add the driver to your application to work with MongoDB in Go. -Download it using `go get `__ +Welcome to the documentation site for the official {+driver-long+}. +You can add the driver to your application to work with MongoDB in Go. +Download it using `go get `__ or set up a runnable project by following our Quick Start guide. Quick Start