Skip to content

Commit 3b87d64

Browse files
authored
DOCSP-37038: Fix broken links (#5788)
1 parent 5b52d12 commit 3b87d64

File tree

3 files changed

+9
-10
lines changed

3 files changed

+9
-10
lines changed

source/reference/configuration.txt

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -541,9 +541,8 @@ Place the following in one of environment configuration files, such as
541541

542542
.. note::
543543

544-
The ``log_level`` Mongoid `configuration option <configuration-options>`_
545-
is not used when Mongoid operates in a Rails application, because Mongoid
546-
inherits Rails' log level in this case.
544+
The ``log_level`` Mongoid configuration option is not used when Mongoid operates
545+
in a Rails application, because Mongoid inherits Rails' log level in this case.
547546

548547
To configure either Mongoid or driver logger differently from the Rails logger,
549548
use an initializer as follows:
@@ -590,8 +589,8 @@ Standalone
590589
----------
591590

592591
When not loaded in a Ruby on Rails application, Mongoid respects the
593-
``log_level`` top level `configuration option <configuration-options>`_.
594-
It can be given in the configuration file as follows:
592+
``log_level`` top level configuration option. It can be given in the
593+
configuration file as follows:
595594

596595
.. code-block:: yaml
597596

@@ -830,7 +829,7 @@ Client-Side Encryption
830829
When loading the configuration file, Mongoid permits the file to contain
831830
``BSON::Binary`` instances which are used for specifying ``keyId`` in
832831
the schema map for `client-side encryption
833-
<https://www.mongodb.com/docs/ruby-driver/current/reference/client-side-encryption/>`_,
832+
<https://www.mongodb.com/docs/ruby-driver/current/reference/in-use-encryption/client-side-encryption/>`_,
834833
as the following example shows:
835834

836835
.. code-block:: yaml

source/reference/sharding.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ Shard keys can be declared on models using the ``shard_key`` macro:
3535
end
3636

3737
Note that in order to shard a collection, the collection must have an index
38-
that starts with the shard key. Mongoid provides `index management
39-
<indexes>`_ functionality, which the examples here take
38+
that starts with the shard key. Mongoid provides :ref:`index management
39+
<indexes>` functionality, which the examples here take
4040
advantage of.
4141

4242
Mongoid supports two syntaxes for declaring shard keys. The standard syntax

source/reference/text-search.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ To perform text search with Mongoid, follow these steps:
3535
Defining Text Search Index
3636
--------------------------
3737

38-
Index definition through Mongoid is described in detail on the `indexes
39-
<indexes>`_ page. Text search indexes are described in detail
38+
Index definition through Mongoid is described in detail on the :ref:`indexes
39+
<indexes>` page. Text search indexes are described in detail
4040
under `text indexes <https://mongodb.com/docs/manual/core/index-text/>`_
4141
in the MongoDB manual. Below is an example definition of a Band model with
4242
a text index utilizing the description field:

0 commit comments

Comments
 (0)