Skip to content

Commit

Permalink
fix facet errors
Browse files Browse the repository at this point in the history
Chris Cho committed Sep 21, 2023
1 parent 4f117e8 commit 2483b0f
Showing 2 changed files with 9 additions and 9 deletions.
10 changes: 5 additions & 5 deletions source/fundamentals/connection.txt
Original file line number Diff line number Diff line change
@@ -7,7 +7,7 @@ Connection Guide
.. default-domain:: mongodb

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

.. contents:: On this page
@@ -67,7 +67,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
@@ -89,7 +89,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>`.

@@ -282,7 +282,7 @@ amount of time that a single operation can take to execute using the
connection URI string. ``Database``, ``Collection``,
``Session``, ``ChangeStream``, and ``Bucket`` instances elsewhere in
your code inherit the ``Timeout`` option from ``Client`` if you do not set a
Context for operations against the same entity.
Context for operations against the same entity.

If you pass a Context into an operation with a deadline, the driver uses
that Context deadline for the operation. If the context does not have a
@@ -323,4 +323,4 @@ URI option and execute an operation that inherits this setting:
will be deprecated in an upcoming release. The driver ignores ``MaxTime`` and
``MaxCommitTime`` if you set ``Timeout``. The driver still honors
``SocketTimeout`` and ``wTimeout``, but these settings may result in
undefined behavior. Consider using only the single timeout option instead.
undefined behavior. Consider using only the single timeout option instead.
8 changes: 4 additions & 4 deletions source/index.txt
Original file line number Diff line number Diff line change
@@ -5,7 +5,7 @@
.. default-domain:: mongodb

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

.. toctree::
@@ -30,9 +30,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

0 comments on commit 2483b0f

Please sign in to comment.