Skip to content

Commit

Permalink
Merge pull request #290 from ccho-mongodb/DOCSP-30911-server-support
Browse files Browse the repository at this point in the history
DOCSP-30911: Add server lifecycle support callout
(cherry picked from commit 332a3ca)
(cherry picked from commit aac87a8)
(cherry picked from commit bcc0e55)
  • Loading branch information
Chris Cho authored and Chris Cho committed Sep 21, 2023
1 parent 36e66ff commit 54d8f53
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 6 deletions.
4 changes: 3 additions & 1 deletion source/compatibility.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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. <about-driver-compatibility>`
:ref:`MongoDB Compatibility Tables. <about-driver-compatibility>`
8 changes: 6 additions & 2 deletions source/fundamentals/connection.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ Connection Guide

.. default-domain:: mongodb

.. facet::
:name: genre
:values: tutorial

.. contents:: On this page
:local:
:backlinks: none
Expand Down Expand Up @@ -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
Expand All @@ -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
<golang-stable-api>`.

Expand Down
10 changes: 7 additions & 3 deletions source/index.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@

.. default-domain:: mongodb

.. facet::
:name: genre
:values: reference

.. toctree::
:titlesonly:
:maxdepth: 1
Expand All @@ -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 <https://pkg.go.dev/cmd/go/internal/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 <https://pkg.go.dev/cmd/go/internal/get>`__
or set up a runnable project by following our Quick Start guide.

Quick Start
Expand Down

0 comments on commit 54d8f53

Please sign in to comment.