Skip to content

Commit 67bf7dd

Browse files
committed
DOCSP-46650: Cleanup
1 parent 3d3b43b commit 67bf7dd

15 files changed

+62
-61
lines changed

snooty.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ name = "ruby-driver"
22
title = "Ruby MongoDB Driver"
33
toc_landing_pages = [
44
"/get-started",
5-
"/connect",
65
"/write",
76
"/indexes",
87
"/databases-collection",

source/aggregation.txt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -199,9 +199,8 @@ This example creates pipeline stages to perform the following actions:
199199

200200
To run the following example, you must create an Atlas Search index on the ``restaurants``
201201
collection that covers the ``name`` field. Then, replace the ``"<your_search_index_name>"``
202-
placeholder with the name of the index.
203-
204-
.. TODO: Add a link in the callout to the Atlas Search index creation guide.
202+
placeholder with the name of the index. To learn how to create an Atlas Search index,
203+
see the :ref:`ruby-atlas-search-index` guide.
205204

206205
.. io-code-block::
207206
:copyable:

source/connect/connection-targets.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@ Atlas
2929
To connect to a MongoDB deployment on Atlas, include the following elements
3030
in your connection string:
3131

32-
- The URL of your Atlas cluster
33-
- Your MongoDB username
34-
- Your MongoDB password
32+
- URL of your Atlas cluster
33+
- MongoDB username
34+
- MongoDB password
3535

3636
Then, pass your connection string to the ``Mongo::Client`` constructor.
3737

source/connect/mongoclient.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@ A standard connection string includes the following components:
5656

5757
- Optional. Authentication credentials. If you include these, the client
5858
authenticates the user against the database specified in ``authSource``.
59-
For more information about the ``authSource`` connection option, see
60-
:ref:`ruby-auth`.
59+
For more information about the ``authSource`` connection option, see the
60+
:ref:`ruby-authentication-mechanisms` guide.
6161

6262
* - ``hostname[:port]``
6363

source/data-formats/time-series.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -171,11 +171,11 @@ Query Time Series Data
171171

172172
You can use the same syntax and conventions to query data stored in a time
173173
series collection as you use when performing read or aggregation operations on
174-
other collections.
174+
other collections. To learn more about these operations, see the following
175+
guides:
175176

176-
.. TODO: add links
177-
.. To learn more about these operations, see :ref:`ruby-read`
178-
.. and :ref:`ruby-aggregation`.
177+
- :ref:`ruby-read`
178+
- :ref:`ruby-aggregation`
179179

180180
.. _ruby-time-series-addtl-info:
181181

source/databases-collection.txt

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -250,12 +250,6 @@ within 35 milliseconds of the closest member's ping time.
250250
:manual:`localThreshold </reference/program/mongos/#std-option-mongos.--localThreshold>`
251251
command-line option.
252252

253-
.. TODO:
254-
.. Troubleshooting
255-
.. ---------------
256-
257-
.. .. include:: /includes/usage-examples/databases-collection.rb
258-
259253
API Documentation
260254
-----------------
261255

source/get-started/create-a-connection-string.txt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,8 @@ The connection string includes the hostname or IP address and
1313
port of your deployment, the authentication mechanism, user credentials
1414
when applicable, and connection options.
1515

16-
.. TODO:
17-
To connect to an instance or deployment not hosted on Atlas, see
18-
:ref:`ruby-connection-targets`.
16+
To learn how to connect to an instance or deployment not hosted on
17+
Atlas, see the :ref:`ruby-connection-targets` guide.
1918

2019
.. procedure::
2120
:style: connected

source/get-started/next-steps.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ In this tutorial, you created a {+language+} application that
1717
connects to a MongoDB deployment hosted on MongoDB Atlas
1818
and retrieves a document that matches a query.
1919

20-
.. TODO:
21-
Learn more about {+driver-short+} from the following resources:
22-
- Learn how to perform read operations in the :ref:`<ruby-read>` section.
23-
- Learn how to perform write operations in the :ref:`<ruby-write>` section.
20+
Learn more about the {+driver-short+} from the following resources:
21+
22+
- Learn how to perform read operations in the :ref:`<ruby-read>` section.
23+
- Learn how to perform write operations in the :ref:`<ruby-write>` section.

source/index.txt

Lines changed: 15 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414

1515
Get Started </get-started>
1616
Connect </connect>
17-
Write Data </write>
1817
Read Data </read>
18+
Write Data </write>
1919
Operations on Replica Sets </read-write-pref>
2020
Indexes </indexes>
2121
Data Aggregation </aggregation>
@@ -29,9 +29,7 @@
2929
Databases & Collections </databases-collection>
3030

3131
.. TODO:
32-
Write Data </write>
3332
Monitor Your Application </monitoring>
34-
Security </security>
3533
Issues & Help </issues-and-help>
3634

3735
Introduction
@@ -58,39 +56,39 @@ Databases and Collections
5856
Learn how to use the {+driver-short+} to work with MongoDB databases and collections in the
5957
:ref:`ruby-databases-collections` section.
6058

61-
.. Read Data from MongoDB
62-
.. ----------------------
59+
Read Data from MongoDB
60+
----------------------
6361

64-
.. Learn how you can retrieve data from MongoDB in the :ref:`ruby-read` section.
62+
Learn how you can retrieve data from MongoDB in the :ref:`ruby-read` section.
6563

66-
.. Write Data to MongoDB
67-
.. ---------------------
64+
Write Data to MongoDB
65+
---------------------
6866

69-
.. Learn how you can write data to MongoDB in the :ref:`ruby-write` section.
67+
Learn how you can write data to MongoDB in the :ref:`ruby-write` section.
7068

7169
Configure Operations on Replica Sets
7270
------------------------------------
7371

7472
Learn how to configure read and write operations on a replica set in the
7573
:ref:`ruby-crud-write-read-pref` section.
7674

77-
.. Optimize Queries by Using Indexes
78-
.. ---------------------------------
75+
Optimize Queries by Using Indexes
76+
---------------------------------
7977

80-
.. Learn how to work with common types of indexes in the :ref:`ruby-indexes`
81-
.. section.
78+
Learn how to work with common types of indexes in the :ref:`ruby-indexes`
79+
section.
8280

8381
Transform Your Data with Aggregation
8482
------------------------------------
8583

8684
Learn how to use the {+driver-short+} to perform aggregation operations in the
8785
:ref:`ruby-aggregation` section.
8886

89-
.. Secure Your Data
90-
.. ----------------
87+
Secure Your Data
88+
----------------
9189

92-
.. Learn how to authenticate your application and encrypt your data in the
93-
.. :ref:`ruby-security` section.
90+
Learn how to authenticate your application and encrypt your data in the
91+
:ref:`ruby-security` section.
9492

9593
Specialized Data Formats
9694
------------------------

source/read-write-pref.txt

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -143,8 +143,10 @@ The following code sets the read concern level of an aggregation to ``"available
143143
:start-after: start-read-concern
144144
:end-before: end-read-concern
145145

146-
.. TODO: insert :ref:`Aggregation <ruby-aggregation>` link here
147-
.. For more information about aggregation, see the Aggregation page.
146+
.. tip::
147+
148+
To learn more about aggregation operations, see the
149+
:ref:`ruby-aggregation` guide.
148150

149151
Example: Change the Read Concern of a Database
150152
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -206,8 +208,10 @@ the operations in a transaction:
206208
:start-after: start-read-preference
207209
:end-before: end-read-preference
208210

209-
.. TODO: insert :ref:`Transactions <ruby-transactions>` link
210-
.. For more information about transactions, see the Transactions guide.
211+
.. tip::
212+
213+
To learn more about transactions, see the
214+
:ref:`ruby-transactions` guide.
211215

212216
Example: Set the Read Preference of a Cluster in the Connection String
213217
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

0 commit comments

Comments
 (0)