Skip to content

Commit 0031874

Browse files
authored
Fix RST bugs (#10)
* add backticks * fix links * re-add deleted images
1 parent 3923de2 commit 0031874

File tree

6 files changed

+13
-13
lines changed

6 files changed

+13
-13
lines changed

source/fundamentals/connection/connect.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ A standard connection string includes the following pieces:
3636

3737
* - ``username:password@``
3838

39-
- Optional. Authentication credentials. If you include these, the client will authenticate the user against the database specified in `authSource`.
39+
- Optional. Authentication credentials. If you include these, the client will authenticate the user against the database specified in ``authSource``.
4040

4141
* - ``host[:port]``
4242

502 KB
Loading
77.7 KB
Loading

source/usage-examples/findMany.txt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Examples
2121

2222
These examples use the following ``Restaurant`` class as a model:
2323

24-
.. literalinclude:: ../includes/code-examples/FindManySync.cs
24+
.. literalinclude:: ../includes/code-examples/FindMany.cs
2525
:start-after: start-model
2626
:end-before: end-model
2727
:language: csharp
@@ -55,7 +55,7 @@ These examples use the following ``Restaurant`` class as a model:
5555
The following example uses builders to synchronously find documents in
5656
the ``restaurants`` collection with the ``cuisine`` "Pizza".
5757

58-
.. literalinclude:: ../includes/code-examples/FindManySync.cs
58+
.. literalinclude:: ../includes/code-examples/FindMany.cs
5959
:start-after: start-find-builders-sync
6060
:end-before: end-find-builders-sync
6161
:language: csharp
@@ -87,7 +87,7 @@ These examples use the following ``Restaurant`` class as a model:
8787
The following example uses LINQ to synchronously find documents in the
8888
``restaurants`` collection with the ``cuisine`` "Pizza".
8989

90-
.. literalinclude:: ../includes/code-examples/FindManySync.cs
90+
.. literalinclude:: ../includes/code-examples/FindMany.cs
9191
:start-after: start-find-linq-sync
9292
:end-before: end-find-linq-sync
9393
:language: csharp
@@ -118,7 +118,7 @@ Find All Documents
118118
The following example synchronously finds all documents in the
119119
``restaurants`` collection.
120120

121-
.. literalinclude:: ../includes/code-examples/FindManySync.cs
121+
.. literalinclude:: ../includes/code-examples/FindMany.cs
122122
:start-after: start-find-all-sync
123123
:end-before: end-find-all-sync
124124
:language: csharp
@@ -128,7 +128,7 @@ Find All Documents
128128
Expected Result
129129
~~~~~~~~~~~~~~~
130130

131-
Running the :ref:`full example <find-runnable-example>` returns
131+
Running the :ref:`full example <find-many-runnable-example>` returns
132132
the following results:
133133

134134
.. code-block:: none
@@ -156,7 +156,7 @@ Additional Information
156156
For a fully runnable example of the ``Find`` operations on this page, see the following:
157157

158158
- `Async Find Multiple Example <{+example+}/FindManyAsync.cs>`__
159-
- `Synchronous Find Multiple Example <{+example+}/FindManySync.cs>`__
159+
- `Synchronous Find Multiple Example <{+example+}/FindMany.cs>`__
160160

161161
.. TODO: Add links to references once pages are done
162162

source/usage-examples/findOne.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Examples
2626

2727
These examples use the following ``Restaurant`` class as a model:
2828

29-
.. literalinclude:: ../includes/code-examples/FindOneSync.cs
29+
.. literalinclude:: ../includes/code-examples/FindOne.cs
3030
:start-after: start-model
3131
:end-before: end-model
3232
:language: csharp
@@ -60,7 +60,7 @@ These examples use the following ``Restaurant`` class as a model:
6060
The following example uses builders to synchronously find a document in the ``restaurants``
6161
collection with the ``name`` "Bagels N Buns".
6262

63-
.. literalinclude:: ../includes/code-examples/FindOneSync.cs
63+
.. literalinclude:: ../includes/code-examples/FindOne.cs
6464
:start-after: start-find-builders
6565
:end-before: end-find-builders
6666
:language: csharp
@@ -92,7 +92,7 @@ These examples use the following ``Restaurant`` class as a model:
9292
The following example uses LINQ to synchronously find a document in the ``restaurants``
9393
collection with the ``name`` "Bagels N Buns".
9494

95-
.. literalinclude:: ../includes/code-examples/FindOneSync.cs
95+
.. literalinclude:: ../includes/code-examples/FindOne.cs
9696
:start-after: start-find-linq
9797
:end-before: end-find-linq
9898
:language: csharp
@@ -126,7 +126,7 @@ Additional Information
126126
For fully runnable examples of the ``Find`` operations on this page, see the following:
127127

128128
- `Async Find One Example <{+example+}/FindOneAsync.cs>`__
129-
- `Synchronous Find One Example <{+example+}/FindOneSync.cs>`__
129+
- `Synchronous Find One Example <{+example+}/FindOne.cs>`__
130130

131131
.. TODO: Add links to references once pages are done
132132

source/usage-examples/updateOne.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ These examples use the following ``Restaurant`` class as a model:
7272
Expected Result
7373
~~~~~~~~~~~~~~~
7474

75-
After running the :ref:`full example <find-runnable-example>`, each call to ``UpdateOne()`` writes the following to the console:
75+
After running the :ref:`full example <update-one-runnable-example>`, each call to ``UpdateOne()`` writes the following to the console:
7676

7777
.. code-block:: none
7878

@@ -85,7 +85,7 @@ After running the :ref:`full example <find-runnable-example>`, each call to ``Up
8585
More Information
8686
----------------
8787

88-
.. _find-runnable-example:
88+
.. _update-one-runnable-example:
8989

9090
For fully runnable examples of the ``UpdateOne()`` operations on this page, see the
9191
`UpdateOne Example <{+example+}/UpdateOne.cs>`__ and `UpdateOneAsync Example <{+example+}/UpdateOneAsync.cs>`__

0 commit comments

Comments
 (0)