Skip to content

Commit 065a937

Browse files
author
Sam Kleinman
committed
minor: fixing broken links
1 parent 7e02320 commit 065a937

File tree

12 files changed

+31
-30
lines changed

12 files changed

+31
-30
lines changed

bin/builder_data.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,10 @@
5454
('$(public-branch-output)/reference/method/getShardDistribution', 'db.collection.getShardDistribution', 'redirect'),
5555
('$(public-branch-output)/reference/method/Mongo.getDB', 'getDB', 'redirect'),
5656
('$(public-branch-output)/reference/method/getShardVersion', 'db.collection.getShardVersion', 'redirect'),
57+
('$(public-branch-output)/reference/command/whatsMyUri', 'whatsmyuri', 'redirect'),
58+
('$(public-branch-output)/reference/command/writeBackListen', 'writebacklisten', 'redirect'),
59+
('$(public-branch-output)/reference/command/isdbGrid', 'isdbgrid', 'redirect'),
60+
('$(public-branch-output)/reference/command/emptyCapped', 'emptycapped', 'redirect'),
5761
('$(public-branch-output)/reference/command/printShardingStatus', '../method/db.printShardingStatus', 'redirect'),
5862
('$(public-branch-output)/administration/sharding-architectures', 'sharded-cluster-architectures', 'redirect'),
5963
('$(public-branch-output)/administration/replication-architectures', 'replica-set-architectures', 'redirect'),

source/administration/sharded-cluster-architectures.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ Every database has a "primary" [#overloaded-primary-term]_ shard that
9191
holds all un-sharded collections in that database. All collections
9292
that *are not* sharded reside on the primary for their database. Use
9393
the :dbcommand:`movePrimary` command to change the primary shard for a
94-
database. Use the :dbcommand:`printShardingStatus` command or the
94+
database. Use the :method:`db.printShardingStatus()` command or the
9595
:method:`sh.status()` to see an overview of the cluster, which contains
9696
information about the :term:`chunk` and database distribution within the
9797
cluster.

source/reference/command/aggregate.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@ aggregate
3737
] }
3838
);
3939

40-
More typically this operation would use the :method:`aggregate`
41-
helper in the :program:`mongo` shell, and would resemble the
42-
following:
40+
More typically this operation would use the
41+
:method:`~db.collection.aggregate()` helper in the :program:`mongo`
42+
shell, and would resemble the following:
4343

4444
.. code-block:: javascript
4545

source/reference/command/compact.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1+
.. _compact:
2+
13
=======
24
compact
35
=======
46

57
.. default-domain:: mongodb
68

7-
89
.. dbcommand:: compact
910

1011
.. versionadded:: 2.0

source/reference/command/removeShard.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ removeShard
3232
{ msg: "draining ongoing" , state: "ongoing" , remaining: { chunks: 23 , dbs: 1 }, ok: 1 }
3333

3434
The ``remaining`` :term:`document` specifies how many chunks and
35-
databases remain on the shard. Use :dbcommand:`printShardingStatus`
35+
databases remain on the shard. Use :method:`db.printShardingStatus()`
3636
to list the databases that you must move from the shard.
3737

3838
Each database in a sharded cluster has a primary shard. If the

source/reference/commands.txt

Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ Sharding Commands
5050
- :dbcommand:`addShard`
5151
- :dbcommand:`enableSharding`
5252
- :dbcommand:`listShards`
53-
- :dbcommand:`printShardingStatus`
5453
- :dbcommand:`removeShard`
5554
- :dbcommand:`shardCollection`
5655
- :dbcommand:`shardingState`
@@ -73,7 +72,7 @@ Collection Commands
7372
- :dbcommand:`convertToCapped`
7473
- :dbcommand:`create`
7574
- :dbcommand:`drop`
76-
- :dbcommand:`emptyCapped`
75+
- :dbcommand:`emptycapped`
7776
- :dbcommand:`renameCollection`
7877

7978
.. _admin-commands:
@@ -127,7 +126,7 @@ Other Commands
127126
--------------------------
128127

129128
- :dbcommand:`flushRouterConfig`
130-
- :dbcommand:`isdbGrid`
129+
- :dbcommand:`isdbgrid`
131130
- :dbcommand:`movePrimary`
132131
- :dbcommand:`split`
133132

@@ -154,30 +153,30 @@ Internal Commands
154153
- :dbcommand:`getoptime`
155154
- :dbcommand:`godinsert`
156155
- :dbcommand:`handshake`
157-
- :dbcommand:`isSelf`
156+
- :dbcommand:`_isSelf`
158157
- :dbcommand:`mapreduce.shardedfinish`
159158
- :dbcommand:`medianKey`
160-
- :dbcommand:`migrateClone`
159+
- :dbcommand:`_migrateClone`
161160
- :dbcommand:`moveChunk`
162161
- :dbcommand:`netstat`
163-
- :dbcommand:`recvChunkAbort`
164-
- :dbcommand:`recvChunkCommit`
165-
- :dbcommand:`recvChunkStart`
166-
- :dbcommand:`recvChunkStatus`
162+
- :dbcommand:`_recvChunkAbort`
163+
- :dbcommand:`_recvChunkCommit`
164+
- :dbcommand:`_recvChunkStart`
165+
- :dbcommand:`_recvChunkStatus`
167166
- :dbcommand:`replSetElect`
168167
- :dbcommand:`replSetFresh`
169168
- :dbcommand:`replSetGetRBID`
170169
- :dbcommand:`replSetHeartbeat`
171170
- :dbcommand:`replSetMaintenance`
172171
- :dbcommand:`replSetTest`
173172
- :dbcommand:`setShardVersion`
174-
- :dbcommand:`skewClockCommand`
173+
- :dbcommand:`_skewClockCommand`
175174
- :dbcommand:`sleep`
176175
- :dbcommand:`splitChunk`
177-
- :dbcommand:`testDistLockWithSkew`
178-
- :dbcommand:`testDistLockWithSyncCluster`
179-
- :dbcommand:`transferMods`
176+
- :dbcommand:`_testDistLockWithSkew`
177+
- :dbcommand:`_testDistLockWithSyncCluster`
178+
- :dbcommand:`_transferMods`
180179
- :dbcommand:`unsetSharding`
181-
- :dbcommand:`whatsMyUri`
182-
- :dbcommand:`writeBackListen`
180+
- :dbcommand:`whatsmyuri`
181+
- :dbcommand:`writebacklisten`
183182
- :dbcommand:`writeBacksQueued`

0 commit comments

Comments
 (0)