Skip to content

Commit 9ff09e3

Browse files
committed
DOCSP-15525 update Manual for mongosh - mongo monospace
1 parent 6a6a459 commit 9ff09e3

39 files changed

+68
-69
lines changed

source/core/server-side-javascript.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@ see :ref:`disable-server-side-js`.
4343

4444
.. _running-js-scripts-in-mongo-on-mongod-host:
4545

46-
Running ``.js`` files via a ``mongo`` shell Instance on the Server
47-
------------------------------------------------------------------
46+
Running ``.js`` files via a ``mongosh`` Instance on the Server
47+
--------------------------------------------------------------
4848

4949
You can specify a JavaScript (``.js``) file to :mongosh:`mongosh </>`
5050
to execute the file on the server. This is a good technique

source/core/shell-types.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
=================================
2-
Data Types in the ``mongo`` Shell
3-
=================================
1+
========================================
2+
Data Types in the Legacy ``mongo`` Shell
3+
========================================
44

55
.. default-domain:: mongodb
66

source/core/transactions-in-applications.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ The :ref:`txn-core-api`:
3838
.. _txn-callback-api:
3939

4040
Callback API
41-
-------------
41+
------------
4242

4343
The callback API incorporates logic:
4444

@@ -453,8 +453,8 @@ Additional Information
453453

454454
.. _txn-mongo-shell-example:
455455

456-
``mongo`` Shell Example
457-
~~~~~~~~~~~~~~~~~~~~~~~
456+
``mongosh`` Example
457+
~~~~~~~~~~~~~~~~~~~
458458

459459
The following :mongosh:`mongosh </>` methods are available for
460460
transactions:

source/includes/extracts-collation.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ content: |-
225225
:header-rows: 1
226226
227227
* - Commands
228-
- ``mongo`` Shell Methods
228+
- ``mongosh`` Methods
229229
230230
* - :dbcommand:`create`
231231
- | :method:`db.createCollection()`

source/includes/extracts-sessions.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ content: |
115115
</reference/server-sessions>`, with the exception of unacknowledged
116116
write operations. For operations not explicitly associated with a
117117
session (i.e. using :method:`Mongo.startSession()`), MongoDB drivers
118-
and the ``mongo`` shell creates an implicit session and associates it
118+
and ``mongosh`` create an implicit session and associate it
119119
with the operation.
120120
121121
If a session is idle for longer than 30 minutes, the MongoDB server

source/includes/steps-authenticate-as-client.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
title: Specify your credentials when starting the ``mongo`` instance.
1+
title: Specify your credentials when starting ``mongosh``.
22
stepnum: 1
33
ref: authenticate
44
action:

source/includes/steps-authenticate-through-ldap.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
title: Authenticate the user in the ``mongo`` shell.
1+
title: Authenticate the user in ``mongosh``.
22
stepnum: 1
33
ref: authenticate
44
pre: |

source/includes/steps-configure-ldap-mongodb.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ action:
7676
.. include:: /includes/extracts/default-bind-ip-security-additional-config-file.rst
7777
7878
---
79-
title: Authenticate the user in the ``mongo`` shell.
79+
title: Authenticate the user in ``mongosh``.
8080
stepnum: 3
8181
ref: ldap-sasl-authenticate
8282
content: |
@@ -91,10 +91,10 @@ content: |
9191
name: Authenticate during Connection
9292
content: |
9393
94-
To authenticate when connecting with the ``mongo`` shell,
95-
run :mongosh:`mongosh </>` with the following command-line
96-
options, substituting ``<host>`` and ``<user>``, and
97-
enter your password when prompted:
94+
To authenticate when connecting with
95+
:mongosh:`mongosh </>`, run ``mongosh`` with the following
96+
command-line options, substituting ``<host>`` and
97+
``<user>``, and enter your password when prompted:
9898
9999
.. code-block:: bash
100100

source/includes/steps-control-access-to-mongodb-with-kerberos-authentication.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ post: |
100100
``KRB5_KTNAME`` in a environment settings file. See
101101
:ref:`setting-krb5_ktname` for details.
102102
---
103-
title: Connect ``mongo`` shell to ``mongod`` and authenticate.
103+
title: Connect ``mongosh`` to ``mongod`` and authenticate.
104104
stepnum: 5
105105
ref: invoke-an-authenticated-mongo-shell
106106
pre: |

source/includes/steps-convert-replica-set-add-new-shard.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ action:
6262
})
6363
---
6464
title:
65-
text: "Connect a ``mongo`` shell to the ``mongos``."
65+
text: "Connect ``mongosh`` to the ``mongos``."
6666
character: "`"
6767
ref: connect-mongos
6868
action:

0 commit comments

Comments
 (0)