@@ -10,13 +10,6 @@ You should add formatting to words, phrases, or blocks that require
10
10
emphasis. You can use one of the formatting options to convey emphasis:
11
11
weight (**bold**), variant (*italics*), or pitch (``monospace``).
12
12
13
- .. note::
14
-
15
- Characters in a *monospace*, *fixed-pitch* or *fixed-width* font
16
- occupy the same amount of horizontal space. In MongoDB
17
- documentation, we use the monospace font *Source Code Pro*. This
18
- font looks as follows: ``monospace font``
19
-
20
13
When formatting text, use the following guidelines:
21
14
22
15
- To apply a font treatment, use the appropriate markup in your
@@ -124,7 +117,7 @@ elements. The following style differences are highlighted:
124
117
125
118
Box names
126
119
This covers check box, combo box, group box, list box, spin box,
127
- text box, but not dialog box . Format using ``:guilabel:`` role.
120
+ and text box. Format them using the ``:guilabel:`` role.
128
121
129
122
.. class:: exampletable
130
123
@@ -518,12 +511,12 @@ elements. The following style differences are highlighted:
518
511
:copyable: false
519
512
520
513
The following example shows a basic configuration for
521
- the FTP service, in a file in the ``/etc/xinetd.d
522
- directory`` .
514
+ the FTP service, in a file in the ``/etc/xinetd.d/``
515
+ directory.
523
516
524
517
* - Rendered Example
525
518
- The following example shows a basic configuration for the
526
- FTP service, in a file in the ``/etc/xinetd.d directory`` .
519
+ FTP service, in a file in the ``/etc/xinetd.d/`` directory .
527
520
528
521
Document titles
529
522
Format using *italics*.
@@ -645,7 +638,8 @@ elements. The following style differences are highlighted:
645
638
646
639
* - Linux, macOS
647
640
- Format using ``monospace`` text and uppercase letters.
648
- Start with ``$`` when getting, omit the ``$`` when assigning.
641
+ Start with ``$`` when getting, omit the ``$`` when
642
+ assigning.
649
643
-
650
644
.. code-block:: console
651
645
@@ -654,7 +648,8 @@ elements. The following style differences are highlighted:
654
648
echo $HOME
655
649
* - DOS, Windows Command-Line Interpreter
656
650
- Format using ``monospace`` text and uppercase letters.
657
- Start and end with ``%`` when getting, omit the ``%`` when assigning.
651
+ Start and end with ``%`` when getting, omit the ``%`` when
652
+ assigning.
658
653
-
659
654
.. code-block:: doscon
660
655
@@ -764,35 +759,35 @@ elements. The following style differences are highlighted:
764
759
:copyable: false
765
760
766
761
db.collection.create_index(
767
- [
768
- (<keyAndIndexTypeSpecification>
769
- ], <options>
770
- )
762
+ [
763
+ (<keyAndIndexTypeSpecification>
764
+ ], <options>
765
+ )
771
766
772
767
.. code-block:: java
773
768
:copyable: false
774
769
775
770
collection.createIndex(
776
771
<keyAndIndexTypeSpecification>, <options>
777
- )
772
+ )
778
773
779
774
* - Rendered Example
780
775
-
781
776
.. code-block:: javascript
782
777
:copyable: false
783
778
784
779
db.collection.create_index(
785
- [
786
- (<keyAndIndexTypeSpecification>)
787
- ], <options>
788
- )
780
+ [
781
+ (<keyAndIndexTypeSpecification>)
782
+ ], <options>
783
+ )
789
784
790
785
.. code-block:: java
791
786
:copyable: false
792
787
793
788
collection.createIndex(
794
789
<keyAndIndexTypeSpecification>, <options>
795
- )
790
+ )
796
791
797
792
Field names, GUI
798
793
Format using ``:guilabel:`` role.
@@ -1182,31 +1177,6 @@ elements. The following style differences are highlighted:
1182
1177
- Client authentication is provided through a REST interface
1183
1178
by using the ``GET`` method.
1184
1179
1185
- New terms
1186
- Format using *italics*.
1187
-
1188
- .. class:: exampletable
1189
-
1190
- .. list-table::
1191
- :widths: 25 75
1192
- :stub-columns: 1
1193
-
1194
- * - Code Example
1195
- -
1196
- .. code-block:: rst
1197
- :copyable: false
1198
-
1199
- Clusters that are built using the base Linux images are
1200
- created without a dedicated swap partition and with
1201
- *swappiness* (a measure of how the Linux kernel tries to
1202
- use swap memory) set to 0.
1203
-
1204
- * - Rendered Example
1205
- - Clusters that are built using the base Linux images are
1206
- created without a dedicated swap partition and with
1207
- *swappiness* (a measure of how the Linux kernel tries to
1208
- use swap memory) set to 0.
1209
-
1210
1180
Option names, command
1211
1181
Format using ``:option:`` role.
1212
1182
@@ -1413,6 +1383,8 @@ elements. The following style differences are highlighted:
1413
1383
firewall changes as a normal user with ``sudo``
1414
1384
privileges.
1415
1385
1386
+ The user is granted ALL privileges on the database.
1387
+
1416
1388
* - Rendered Example
1417
1389
- The following examples assume that you're making the
1418
1390
firewall changes as a normal user with ``sudo`` privileges.
@@ -1503,7 +1475,7 @@ elements. The following style differences are highlighted:
1503
1475
:guilabel:`Next`.
1504
1476
1505
1477
Role names
1506
- Format using the ``:authrole:`` or ``atlasrole:`` as appropriate
1478
+ Format using the ``:authrole:`` or ``: atlasrole:`` as appropriate
1507
1479
for the documented product's roles. Otherwise, format as regular
1508
1480
text.
1509
1481
@@ -1551,6 +1523,8 @@ elements. The following style differences are highlighted:
1551
1523
is ``chown``. The most common syntax used with ``chown``
1552
1524
is as follows:
1553
1525
1526
+ ``chown user:group file1 file2 file3``
1527
+
1554
1528
* - Rendered Example
1555
1529
- The main command used to change a file’s owner or group is
1556
1530
``chown``. The most common syntax used with ``chown`` is as
0 commit comments