Skip to content

Commit 08f4ec2

Browse files
authored
DOCSP-30082: Replace doc directives (#266)
* DOCSP-30082: Replace doc with ref * fixed count.txt err * actual fix * final fix * RR PR feedback * RR PR feedback v2
1 parent 1afa32d commit 08f4ec2

File tree

6 files changed

+6
-19
lines changed

6 files changed

+6
-19
lines changed

source/fundamentals/collations.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44
Collations
55
==========
66

7-
.. default-domain:: mongodb
8-
97
.. contents:: On this page
108
:local:
119
:backlinks: none

source/fundamentals/crud/read-operations/count.txt

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44
Count Documents
55
===============
66

7-
.. default-domain:: mongodb
8-
97
.. contents:: On this page
108
:local:
119
:backlinks: none
@@ -249,8 +247,7 @@ guides:
249247
- :ref:`golang-skip`
250248
- :ref:`golang-limit`
251249
- :ref:`golang-aggregation`
252-
253-
.. - :doc:`Collations </fundamentals/collations>`
250+
- :ref:`golang-collations`
254251

255252
API Documentation
256253
~~~~~~~~~~~~~~~~~

source/fundamentals/crud/read-operations/query-document.txt

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44
Specify a Query
55
===============
66

7-
.. default-domain:: mongodb
8-
97
.. contents:: On this page
108
:local:
119
:backlinks: none
@@ -443,8 +441,8 @@ Query Operators </reference/operator/query-bitwise/>` page.
443441
Additional Information
444442
----------------------
445443

446-
.. For information on specifying a geospatial query, see the guide on
447-
.. :doc:`Geospatial Data </fundamentals/crud/read-operations/geospatial>`.
444+
For information on specifying a geospatial query, see the guide on
445+
:ref:`Geospatial Data <golang-geo>`.
448446

449447
API Documentation
450448
~~~~~~~~~~~~~~~~~

source/fundamentals/crud/read-operations/text.txt

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44
Search Text
55
===========
66

7-
.. default-domain:: mongodb
8-
97
.. contents:: On this page
108
:local:
119
:backlinks: none
@@ -387,8 +385,7 @@ guides:
387385
- :manual:`$text </reference/operator/query/text/>`
388386
- :manual:`$meta </reference/operator/aggregation/meta/>`
389387
- :ref:`golang-aggregation`
390-
391-
.. - :doc:`Indexes </fundamentals/crud/indexes>`
388+
- :ref:`golang-indexes`
392389

393390
API Documentation
394391
~~~~~~~~~~~~~~~~~

source/fundamentals/crud/write-operations/change-a-document.txt

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44
Change a Document
55
=================
66

7-
.. default-domain:: mongodb
8-
97
.. contents:: On this page
108
:local:
119
:backlinks: none
@@ -126,8 +124,8 @@ the method selects and updates the first matched document. If no
126124
documents match the query filter, the update operation makes no
127125
changes.
128126

129-
.. See our :doc:`upsert guide </fundamentals/crud/write-operations/upsert>`
130-
.. to learn how to insert a new document if no documents match the query filter.
127+
See our :ref:`upsert guide <golang-upsert-guide>`
128+
to learn how to insert a new document if no documents match the query filter.
131129

132130
Example
133131
```````

source/includes/fundamentals-sections.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,3 @@ Fundamentals section:
1818
- :ref:`Encrypt Fields <golang-fle>`
1919
- :ref:`Work with Geospatial Data <golang-geo>`
2020

21-
.. - :doc:`Record Events in the Driver </fundamentals/logging>`

0 commit comments

Comments
 (0)