Skip to content

Commit 5126d28

Browse files
schmallisoandf-mongodb
authored andcommitted
prep manual to build on snooty (master branch)
DOP-1186: initial prep for manual build on snooty trivial mayve fix the columns problem? DOP-1186: adding the landign pages, intersphinx, etc. add version source constant fix name in snooty.toml test DOP-1186: admonition class note -> .. note:: DOP-1186: admonition :class: warning -> .. warning:: DOP-1186: admonition :class: important -> .. important:: DOP-1186: remove all copyable-code class instances DOP-1186: removes legacy .. class:: hidden from TOCs DOP-1186: address monospace text md/reST issues Revert "DOP-1186: remove all copyable-code class instances" This reverts commit 291a137. DOP-1186: remove all copyable-code class instances along with leading whitespace testing! address class / only deprecation warnings use highlight roles for map-reduce, tidying removes 380 instances of the container directive remaining admonitions and fix yaml spacing tidy up mongodb web shell references remaining onlys fixfixfix mostly fixing monospaced text that used md not reST monospace text uses TWO backticks minor no includes in replacements monospace fix fix wonkiness more fixes fix wonkiness Docsp 12590 address broken links nextgen (mongodb#9) * (DOCSP-12590): Fix broken links * add missing alt tags to figure directives * unlink mongosniff * correct mongo shell links * correct mongod binary link * remove install_compass link * link mongo.exe to only mongo binary page * add missing $ to $[<identifier>] link * fix lastHeartbeat and lastHeartbeatRecv capitalization in links * unrelated MONGODB-CR typo fix * fix exe links * adds additional missing alt tags to figures * fix broken [<identifier>] links * fix members[n] links * fix connPoolStats.replicaSets.[replicaSets].hosts links * fix dupe replSetGetStatus.members[n].self entry * fix dupe readconcern target * fix glossary term capitalizations * fix most expression link issues * fix some authaction links * remove link attempt to PyMongo for general Python method re.compile * fix most :setting: links * mongooplog removed in v3.6 * fix BSON binary type links * correct sh.status.active-mongoses ambig reference * fix output example indentation * fix currentOp ambig targets * unlink removed cmd authSchemaUpgrade * unlink removed cmd cloneCollection * unlink removed cmd closeAllDatabases * unlink removed cmd copydb * unlink removed cmd createIndex .. which isn't createIndexes * fix cmd getLastError * fix cmd dbHash capitalization * unlink removed cmd eval * fix cmd findAndModify capitalization * fix cmd findAndModify capitalization - another instance * fix cmd getCollectionInfos to method * fix cmd getLastError.waited to data * fix cmd getParameters to singular * unlink removed cmd indexStats * fix cmd isSelf to include underscore * fix cmd listCollection to plural * fix cmd listDatabase to plural * fix cmd mongod to binary * unlink removed cmd planCacheListPlans * unlink removed cmd planCacheListQueryShapes * unlink removed cmd repairDatabase * unlink removed cmd replSetHeartbeat * fix typo cmd replSetInitiate * unlink removed cmd restoreDatabase * unlink removed cmd resync * fix cmd setParameters to singular * fix cmd splitAt to method * fix cmd stats to method * unlink removed cmd storageDetails * unlink removed cmd text * unlink removed cmd touch * fix method Bulk.find.upsert() * fix method getKeyVault() malformed link * unlink removed method PlanCache.getPlansByQuery() * unlink removed method PlanCache.listQueryShapes() * fix method Session.getOptions() malformed link * fix method db.collection.watch() malformed link * fix method db.copyDatabase() malformed link * fix method cursor.readPref() malformed link - setReadPref is for a Mongo connection obj * unlink removed method cursor.showDiskLoc() * unlink removed method db.addUser() * unlink removed method db.cloneCollection() * fix method db.collection.explain() malformed link * fix method db.help() malformed link * fix methods db.createRole, db.createUser, db.dropAllUsers malformed definitions, breaking all links * fix method db.dropUser malformed definition, breaking all links * fix method db.getMongo() malformed link * fix method db.serverStatus() malformed link * fix methods db.grantPrivilegesToRole, db.grantRolesToRole, db.revokePrivilegesFromRole, db.revokeRolesFromRole, db.revokeRolesFromUser malformed definitions, breaking all links * fix method db.dropAllRoles() malformed link * fix method db.grantPrivilegesToRole() malformed link * fix method db.grantRolesToRole() malformed link * fix method db.grantRolesToUser() malformed definitions, breaking all links, and fix malformed link * fix method db.revokeRolesFromRole() malformed link * unlink removed method db.loadServerScripts() * unlink removed method db.serverShutdown() * Revert "unlink removed method db.serverShutdown()" This reverts commit e6a6fd5. * fix method db.shutdownServer() - wrong in SERVER ticket name * fix method rs.stepDown() capitalization * unlink removed method sh.getRecentMigrations * fix method db.updateRole() malformed link * fix method db.watch() malformed link * fix method db.serverStatus() capitalization * fix method db.getMongo() malformed link * fix methods db.grantRolesToUser() and db.revokeRolesFromUser() malformed links * unlink undocumented disableLogicalSessionCacheRefresh param * unlink removed logicalSessionRefreshMinutes param, update ref to Millis where appropriate * unlink removed newCollectionsUsePowerOf2Sizes param * remove test bump Co-authored-by: jeff-allen-mongo <[email protected]> Co-authored-by: Andrew Feierabend <[email protected]> more cleaning up more little link fixes resolve merge conflict test fix for gridfx issue replace ecosystem with driver DOP-1817, DOP-1821: remove agg gif and hardlink instances fix aggregation copy to reflect gif removal DOP-1819: update toc_landing_pages to behave properly DOP-1808: fix seealsos DOP-1808: fix sees fix indentation more identation' DOP-1908: remove index instances from manual update pymongo intersphinx inventory python work please? make linearizable not hidden & below title replicable? mysterious dedenting is mysterious DOP-1963: update security table add widths to security table widths again wiggling testing more tests
1 parent 132e32f commit 5126d28

File tree

824 files changed

+12629
-12677
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

824 files changed

+12629
-12677
lines changed

config/migrations.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ dependency:
1010
# - $(public-output)/manual
1111
- links
1212
command: "fab generate.sitemap"
13-
message: "[sitemap]: sitemap build complete at `date`."
13+
message: "[sitemap]: sitemap build complete at ``date``."
1414
action: cmd
1515
---
1616
# target: '$(public-output)/manual'

draft/use-cases/ad-campaign-management.txt

+3-1
Original file line numberDiff line numberDiff line change
@@ -145,5 +145,7 @@ TODO: describe indexes to optimize this query
145145
Sharding
146146
--------
147147
148-
.. seealso:: ":doc:`/faq/sharding`" and the ":wiki:`Sharding` wiki
148+
.. seealso::
149+
150+
":doc:`/faq/sharding`" and the ":wiki:`Sharding` wiki
149151
page.

draft/use-cases/social-networking-updates-and-profiles.txt

+3-1
Original file line numberDiff line numberDiff line change
@@ -648,5 +648,7 @@ on ``_id``, then, you'll need to execute the following command:
648648
... 'key': {'_id': 1 } } )
649649
{ "collectionsharded": "social.post", "ok": 1 }
650650

651-
.. seealso:: ":doc:`/faq/sharding`" and the ":wiki:`Sharding` wiki
651+
.. seealso::
652+
653+
":doc:`/faq/sharding`" and the ":wiki:`Sharding` wiki
652654
page.

snooty.toml

+196-7
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,205 @@
1-
name = "manual"
1+
name = "docs"
2+
title = "MongoDB Manual"
3+
4+
intersphinx = [ "https://pymongo.readthedocs.io/en/stable/objects.inv",
5+
"https://motor.readthedocs.io/en/stable/objects.inv",
6+
"https://docs.atlas.mongodb.com/objects.inv",
7+
"https://docs.mongodb.com/php-library/master/objects.inv",
8+
"https://docs.mongodb.com/compass/current/objects.inv",
9+
"https://docs.mongodb.com/database-tools/objects.inv"
10+
]
11+
12+
# toc_landing_pages are pages that have pages nested beneath them
13+
# and **should** open when a user clicks on that page in the TOC
14+
# (i.e. they're not drawers)
15+
toc_landing_pages = [
16+
"/administration",
17+
"/administration/analyzing-mongodb-performance",
18+
"/administration/backup-sharded-clusters",
19+
"/administration/configuration-and-maintenance",
20+
"/administration/install-community",
21+
"/administration/install-enterprise-linux",
22+
"/administration/install-enterprise",
23+
"/administration/install-on-linux/",
24+
"/administration/monitoring",
25+
"/administration/replica-set-deployment",
26+
"/administration/replica-set-maintenance",
27+
"/administration/replica-set-member-configuration",
28+
"/administration/sharded-cluster-administration",
29+
"/administration/sharded-cluster-config-servers",
30+
"/administration/upgrade-community-to-enterprise",
31+
"/aggregation",
32+
"/applications/indexes",
33+
"/applications/replication",
34+
"/changeStreams",
35+
"/core/2d",
36+
"/core/2dsphere",
37+
"/core/aggregation-pipeline",
38+
"/core/auditing",
39+
"/core/authentication-mechanisms-enterprise",
40+
"/core/authentication-mechanisms",
41+
"/core/authentication",
42+
"/core/authorization",
43+
"/core/backups",
44+
"/core/crud",
45+
"/core/databases-and-collections",
46+
"/core/geohaystack",
47+
"/core/index-creation",
48+
"/core/index-multikey",
49+
"/core/index-text",
50+
"/core/index-ttl",
51+
"/core/index-wildcard",
52+
"/core/journaling",
53+
"/core/kerberos",
54+
"/core/map-reduce",
55+
"/core/query-optimization",
56+
"/core/read-isolation-consistency-recency",
57+
"/core/read-preference",
58+
"/core/replica-set-architectures",
59+
"/core/replica-set-high-availability",
60+
"/core/replica-set-members",
61+
"/core/replica-set-secondary",
62+
"/core/security-automatic-client-side-encryption",
63+
"/core/security-client-side-encryption-key-management",
64+
"/core/security-client-side-encryption",
65+
"/core/security-encryption-at-rest",
66+
"/core/security-hardening",
67+
"/core/security-internal-authentication",
68+
"/core/security-ldap",
69+
"/core/security-transport-encryption",
70+
"/core/security-users",
71+
"/core/security-x.509",
72+
"/core/sharded-cluster-components",
73+
"/core/sharding-balancer-administration",
74+
"/core/sharding-data-partitioning",
75+
"/core/storage-engines",
76+
"/core/transactions",
77+
"/core/wiredtiger",
78+
"/core/zone-sharding",
79+
"/core/zone-sharding",
80+
"/crud",
81+
"/geospatial-queries",
82+
"/indexes",
83+
"/installation",
84+
"/introduction",
85+
"/mongo",
86+
"/reference/aggregation",
87+
"/reference/bson-types",
88+
"/reference/collation",
89+
"/reference/command",
90+
"/reference/command/nav-administration",
91+
"/reference/command/nav-aggregation",
92+
"/reference/command/nav-auditing",
93+
"/reference/command/nav-authentication",
94+
"/reference/command/nav-crud",
95+
"/reference/command/nav-diagnostic",
96+
"/reference/command/nav-free-monitoring",
97+
"/reference/command/nav-geospatial",
98+
"/reference/command/nav-plan-cache",
99+
"/reference/command/nav-replication",
100+
"/reference/command/nav-role-management",
101+
"/reference/command/nav-sessions",
102+
"/reference/command/nav-sharding",
103+
"/reference/command/nav-user-management",
104+
"/reference/configuration-options",
105+
"/reference/method",
106+
"/reference/method/js-bulk",
107+
"/reference/method/js-client-side-field-level-encryption",
108+
"/reference/method/js-collection",
109+
"/reference/method/js-connection",
110+
"/reference/method/js-constructor",
111+
"/reference/method/js-cursor",
112+
"/reference/method/js-database",
113+
"/reference/method/js-free-monitoring",
114+
"/reference/method/js-native",
115+
"/reference/method/js-plan-cache",
116+
"/reference/method/js-replication",
117+
"/reference/method/js-role-management",
118+
"/reference/method/js-sharding",
119+
"/reference/method/js-user-management",
120+
"/reference/operator/aggregation-pipeline",
121+
"/reference/operator/aggregation",
122+
"/reference/operator/query-array",
123+
"/reference/operator/query-bitwise",
124+
"/reference/operator/query-comparison",
125+
"/reference/operator/query-element",
126+
"/reference/operator/query-evaluation",
127+
"/reference/operator/query-geospatial",
128+
"/reference/operator/query-logical",
129+
"/reference/operator/query-miscellaneous",
130+
"/reference/operator/query-modifiers",
131+
"/reference/operator/query-projection",
132+
"/reference/operator/query",
133+
"/reference/operator/update-array",
134+
"/reference/operator/update-bitwise",
135+
"/reference/operator/update-field",
136+
"/reference/operator/update",
137+
"/reference/read-concern",
138+
"/reference/replication",
139+
"/reference/security",
140+
"/reference/sharding",
141+
"/release-notes/2.4",
142+
"/release-notes/2.6",
143+
"/release-notes/3.0",
144+
"/release-notes/3.2-compatibility",
145+
"/release-notes/3.2",
146+
"/release-notes/3.4-downgrade",
147+
"/release-notes/3.4",
148+
"/release-notes/3.6",
149+
"/release-notes/4.0",
150+
"/release-notes/4.2-downgrade",
151+
"/release-notes/4.2",
152+
"/release-notes/4.4-downgrade",
153+
"/release-notes/4.4",
154+
"/replication",
155+
"/security",
156+
"/sharding",
157+
"/storage",
158+
"/text-search",
159+
"/tutorial/insert-documents",
160+
"/tutorial/install-mongodb-enterprise-on-amazon",
161+
"/tutorial/install-mongodb-enterprise-on-debian",
162+
"/tutorial/install-mongodb-enterprise-on-macos",
163+
"/tutorial/install-mongodb-enterprise-on-red-hat",
164+
"/tutorial/install-mongodb-enterprise-on-suse",
165+
"/tutorial/install-mongodb-enterprise-on-ubuntu",
166+
"/tutorial/install-mongodb-enterprise-on-windows",
167+
"/tutorial/install-mongodb-on-amazon",
168+
"/tutorial/install-mongodb-on-debian",
169+
"/tutorial/install-mongodb-on-macos",
170+
"/tutorial/install-mongodb-on-red-hat",
171+
"/tutorial/install-mongodb-on-suse",
172+
"/tutorial/install-mongodb-on-ubuntu",
173+
"/tutorial/install-mongodb-on-windows",
174+
"/tutorial/query-documents",
175+
"/tutorial/remove-documents",
176+
"/tutorial/update-documents"
177+
]
178+
179+
[substitutions]
180+
compass = "MongoDB Compass"
181+
mdb-shell = "MongoDB Shell"
182+
copy = "©"
183+
# hardlink replace:: {0}/{1}'.format(conf.project.url, conf.git.branches.current)
184+
# branch replace:: ``{0}``'.format(conf.git.branches.current)
185+
ent-build = "MongoDB Enterprise"
186+
year = "2020"
187+
bi = "MongoDB Connector for BI"
188+
version = "4.2"
189+
2190

3191
[constants]
4192
package-branch = "4.4" # For rc = testing. For GA, will be 4.2.
5193
windows-dir-version = "4.4" # The wizard installs in 4.2 branch
6-
package-name-org = "mongodb-org"
7-
package-name-enterprise = "mongodb-enterprise"
8194
version = "4.4"
9-
release = "{+release+}"
195+
version-dev = "4.4"
196+
release = "4.4.1"
10197
pgp-version = "{+version+}"
11-
pgp-fingerprint = "E162F504A20CDF15827F718D4B7C549A058F8B6B"
198+
package-name-org = "mongodb-org"
199+
package-name-enterprise = "mongodb-enterprise"
12200
rsa-key = "4B7C549A058F8B6B"
201+
pgp-fingerprint = "E162F504A20CDF15827F718D4B7C549A058F8B6B"
13202
pgp-fingerprint-fmt = "E162 F504 A20C DF15 827F 718D 4B7C 549A 058F 8B6B"
14-
windows-sha256 = "C777DF7816BB8C9A760FDEA782113949408B6F39D72BE29A2551FA51E2FE0473"
15203
pgp-short-fingerprint = "0x4B7C549A058F8B6B"
16-
source-available = "`source available and free to use <https://github.com/mongodb/mongo/>`_"
204+
windows-sha256 = "C777DF7816BB8C9A760FDEA782113949408B6F39D72BE29A2551FA51E2FE0473"
205+
source-available = ":github:`source available and free to use <mongodb/mongo>`"

source/about.txt

+3-16
Original file line numberDiff line numberDiff line change
@@ -26,20 +26,12 @@ Attribution-NonCommercial-ShareAlike 3.0 United States License
2626

2727
|copy| MongoDB, Inc. 2008-|year|
2828

29-
Editions
29+
Man Pages
3030
--------
3131

3232
In addition to the `MongoDB Manual <https://docs.mongodb.com/manual/#>`_, you can
33-
also access this content in the following editions:
34-
35-
- :hardlink:`HTML tar.gz <manual.tar.gz>`
36-
37-
- :hardlink:`EPUB Format <MongoDB-manual.epub>`
38-
39-
MongoDB Reference documentation is also available as part of `dash
40-
<http://kapeli.com/dash>`_. You can also access the :hardlink:`MongoDB
41-
Man Pages <manpages.tar.gz>` which are also distributed with the
42-
official MongoDB Packages.
33+
access the :manual:`MongoDB Man Pages </manpages.tar.gz>`,
34+
which are also distributed with the official MongoDB Packages.
4335

4436
Version and Revisions
4537
---------------------
@@ -52,11 +44,6 @@ Manual. You can see the full revision history and track ongoing
5244
improvements and additions for all versions of the manual from its `GitHub
5345
repository <https://github.com/mongodb/docs>`_.
5446

55-
This edition reflects "|branch|" branch of the documentation
56-
as of the "|commit|" revision. This branch is explicitly accessible
57-
via "|hardlink|" and you can always reference the commit of the
58-
current manual in the :hardlink:`release.txt` file.
59-
6047
The most up-to-date, current, and stable version of the manual is
6148
always available at "https://docs.mongodb.com/manual/".
6249

source/administration/analyzing-mongodb-performance.txt

+4-5
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,11 @@ affecting your performance, refer to the :ref:`server-status-locks`
4747
section and the :ref:`globalLock` section of the
4848
:dbcommand:`serverStatus` output.
4949

50-
Dividing :serverstatus:`locks.timeAcquiringMicros` by
51-
:serverstatus:`locks.acquireWaitCount`
50+
Dividing :serverstatus:`locks.<type>.timeAcquiringMicros` by
51+
:serverstatus:`locks.<type>.acquireWaitCount`
5252
can give an approximate average wait time for a particular lock mode.
5353

54-
:serverstatus:`locks.deadlockCount` provide
54+
:serverstatus:`locks.<type>.deadlockCount` provide
5555
the number of times the lock acquisitions encountered deadlocks.
5656

5757
If :serverstatus:`globalLock.currentQueue.total` is consistently high,
@@ -156,8 +156,7 @@ processes run with FTDC on by default. For more information on MongoDB
156156
Support options, visit
157157
`Getting Started With MongoDB Support <https://www.mongodb.com/support/get-started?tck=docs_server>`_.
158158

159-
.. admonition:: FTDC Privacy
160-
:class: important
159+
.. important:: FTDC Privacy
161160

162161
FTDC data files are compressed and not human-readable. MongoDB Inc.
163162
engineers cannot access FTDC data without explicit permission

source/administration/backup-sharded-clusters.txt

+14-19
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@ Backup and Restore Sharded Clusters
44

55
.. default-domain:: mongodb
66

7-
.. role:: red(strong)
8-
:class: text-danger
9-
107
.. contents:: On this page
118
:local:
129
:backlinks: none
@@ -19,25 +16,23 @@ The following tutorials describe backup and restoration for sharded clusters:
1916

2017
.. include:: /includes/extracts/sharded-clusters-backup-restore-mongodump-mongorestore-restriction.rst
2118

22-
.. class:: toc
23-
24-
:doc:`/tutorial/backup-sharded-cluster-with-filesystem-snapshots`
25-
Use file system snapshots back up each component in the sharded
26-
cluster individually. The procedure involves stopping the cluster
27-
balancer. If your system configuration allows file system backups,
28-
this might be more efficient than using MongoDB tools.
19+
:doc:`/tutorial/backup-sharded-cluster-with-filesystem-snapshots`
20+
Use file system snapshots back up each component in the sharded
21+
cluster individually. The procedure involves stopping the cluster
22+
balancer. If your system configuration allows file system backups,
23+
this might be more efficient than using MongoDB tools.
2924

30-
:doc:`/tutorial/backup-sharded-cluster-with-database-dumps`
31-
Create backups using :binary:`~bin.mongodump` to back up each
32-
component in the cluster individually.
25+
:doc:`/tutorial/backup-sharded-cluster-with-database-dumps`
26+
Create backups using :binary:`~bin.mongodump` to back up each
27+
component in the cluster individually.
3328

34-
:doc:`/tutorial/schedule-backup-window-for-sharded-clusters`
35-
Limit the operation of the cluster balancer to provide a window
36-
for regular backup operations.
29+
:doc:`/tutorial/schedule-backup-window-for-sharded-clusters`
30+
Limit the operation of the cluster balancer to provide a window
31+
for regular backup operations.
3732

38-
:doc:`/tutorial/restore-sharded-cluster`
39-
An outline of the procedure and consideration for restoring an
40-
*entire* sharded cluster from backup.
33+
:doc:`/tutorial/restore-sharded-cluster`
34+
An outline of the procedure and consideration for restoring an
35+
*entire* sharded cluster from backup.
4136

4237

4338
.. toctree::

source/administration/change-streams-production-recommendations.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.. index:: changeStreams notification
1+
22

33
=========================================
44
Change Streams Production Recommendations

source/administration/configuration-and-maintenance.txt

+14-16
Original file line numberDiff line numberDiff line change
@@ -7,26 +7,24 @@ Configuration and Maintenance
77
This section describes routine management operations, including
88
updating your MongoDB deployment's configuration.
99

10-
.. class:: toc
10+
:doc:`/administration/configuration`
11+
Outlines common MongoDB configurations and examples of
12+
best-practice configurations for common use cases.
1113

12-
:doc:`/administration/configuration`
13-
Outlines common MongoDB configurations and examples of
14-
best-practice configurations for common use cases.
14+
:doc:`/tutorial/upgrade-revision`
15+
Introduces the basic process for upgrading a MongoDB deployment
16+
between different minor release versions.
1517

16-
:doc:`/tutorial/upgrade-revision`
17-
Introduces the basic process for upgrading a MongoDB deployment
18-
between different minor release versions.
18+
:doc:`/tutorial/manage-mongodb-processes`
19+
Start, configure, and manage running :binary:`~bin.mongod`
20+
process.
1921

20-
:doc:`/tutorial/manage-mongodb-processes`
21-
Start, configure, and manage running :binary:`~bin.mongod`
22-
process.
22+
:doc:`/tutorial/terminate-running-operations`
23+
Stop in progress MongoDB client operations using
24+
:method:`db.killOp()` and :method:`~cursor.maxTimeMS()`.
2325

24-
:doc:`/tutorial/terminate-running-operations`
25-
Stop in progress MongoDB client operations using
26-
:method:`db.killOp()` and :method:`~cursor.maxTimeMS()`.
27-
28-
:doc:`/tutorial/rotate-log-files`
29-
Archive the current log files and start new ones.
26+
:doc:`/tutorial/rotate-log-files`
27+
Archive the current log files and start new ones.
3028

3129

3230
.. toctree::

0 commit comments

Comments
 (0)