Skip to content

Commit 9fb09bb

Browse files
author
Ed Costello
committed
Clean up formatting, eliminate sphinx errors
1 parent dc880dc commit 9fb09bb

14 files changed

+57
-37
lines changed

source/reference/exit-codes.txt

Lines changed: 16 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,48 +1,46 @@
1+
:orphan:
2+
13
============================
24
MongoDB Exit and Error Codes
35
============================
46

5-
.. errors::
7+
.. default-domain:: mongodb
68

79
.. include:: /reference/exit-codes/exit_clean.txt
8-
:start-after: mongod
10+
:start-after: default-domain:: mongodb
911

1012
.. include:: /reference/exit-codes/exit_bad_options.txt
11-
:start-after: mongod
13+
:start-after: default-domain:: mongodb
1214

1315
.. include:: /reference/exit-codes/exit_replication_error.txt
14-
:start-after: mongod
16+
:start-after: default-domain:: mongodb
1517

1618
.. include:: /reference/exit-codes/exit_need_upgrade.txt
17-
:start-after: mongod
19+
:start-after: default-domain:: mongodb
1820

1921
.. include:: /reference/exit-codes/exit_sharding_error.txt
20-
:start-after: mongod
22+
:start-after: default-domain:: mongodb
2123

2224
.. include:: /reference/exit-codes/exit_kill.txt
23-
:start-after: mongod
25+
:start-after: default-domain:: mongodb
2426

2527
.. include:: /reference/exit-codes/exit_abrupt.txt
26-
:start-after: mongod
27-
28-
.. include:: /reference/exit-codes/exit_ntservice_error.txt
29-
:start-after: mongod
28+
:start-after: default-domain:: mongodb
3029

3130
.. include:: /reference/exit-codes/exit_ntservice_error.txt
32-
:start-after: mongod
31+
:start-after: default-domain:: mongodb
3332

3433
.. include:: /reference/exit-codes/exit_fs.txt
35-
:start-after: mongod
34+
:start-after: default-domain:: mongodb
3635

3736
.. include:: /reference/exit-codes/exit_clock_skew.txt
38-
:start-after: mongod
37+
:start-after: default-domain:: mongodb
3938

4039
.. include:: /reference/exit-codes/exit_net_error.txt
41-
:start-after: mongod
40+
:start-after: default-domain:: mongodb
4241

4342
.. include:: /reference/exit-codes/exit_windows_service_stop.txt
44-
:start-after: mongod
43+
:start-after: default-domain:: mongodb
4544

4645
.. include:: /reference/exit-codes/exit_uncaught.txt
47-
:start-after: mongod
48-
46+
:start-after: default-domain:: mongodb

source/reference/exit-codes/exit_abrupt.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
:orphan:
2+
13
==============
24
14 Abrupt Exit
35
==============

source/reference/exit-codes/exit_bad_options.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
:orphan:
2+
13
========================
24
2 Bad Options
35
========================
@@ -17,4 +19,4 @@
1719
.. /Users/epc/Documents/github/epc/mongo/src/mongo/s/config.cpp
1820
.. /Users/epc/Documents/github/epc/mongo/src/mongo/shell/dbshell.cpp
1921
.. /Users/epc/Documents/github/epc/mongo/src/mongo/tools/tool.cpp
20-
.. /Users/epc/Documents/github/epc/mongo/src/mongo/util/ntservice.cpp
22+
.. /Users/epc/Documents/github/epc/mongo/src/mongo/util/ntservice.cpp

source/reference/exit-codes/exit_clean.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
:orphan:
2+
13
============
24
0 Clean exit
35
============

source/reference/exit-codes/exit_clock_skew.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
:orphan:
2+
13
===============
24
47 Clock Skewed
35
===============
@@ -10,4 +12,4 @@
1012
milliseconds) occurs.
1113

1214
.. symbol: EXIT_CLOCK_SKEW
13-
.. mongo/src/mongo/db/db.cpp
15+
.. mongo/src/mongo/db/db.cpp

source/reference/exit-codes/exit_fs.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
:orphan:
2+
13
===================
24
45 Cannot open file
35
===================
@@ -11,4 +13,4 @@
1113

1214
.. Symbol: EXIT_FS
1315
.. found-in: mongo/db/namespace_details.cpp:192
14-
.. found-in: mongo/tools/tool.cpp:238
16+
.. found-in: mongo/tools/tool.cpp:238

source/reference/exit-codes/exit_kill.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
:orphan:
2+
13
===================
24
12 Killed (Windows)
35
===================
@@ -10,4 +12,4 @@
1012
receives a Control-C, Close, Break or Shutdown event.
1113

1214
.. symbol: EXIT_KILL = 12
13-
.. mongo/src/mongo/db/db.cpp
15+
.. mongo/src/mongo/db/db.cpp

source/reference/exit-codes/exit_need_upgrade.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
:orphan:
2+
13
================================
24
4 Database Format Upgrade Needed
35
================================
@@ -14,4 +16,4 @@
1416
instance.
1517

1618
.. symbol: EXIT_NEED_UPGRADE = 4
17-
.. mongo/src/mongo/db/db.cpp
19+
.. mongo/src/mongo/db/db.cpp
Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
:orphan:
2+
13
================
24
48 Network Error
35
================
@@ -6,10 +8,9 @@
68

79
.. error:: 48
810

9-
:program:`mongod` exits cleanly if the server socket (either
10-
`27017` or the port specified with :option:`--port <mongod --port>`).
11-
11+
:program:`mongod` exits cleanly if the server socket is closed (either
12+
`27017` or the port specified with :option:`--port <mongod --port>`).
1213

13-
.. symbol: EXIT_NET_ERROR = 48 ,
14+
.. symbol: EXIT_NET_ERROR = 48
1415
.. mongo/src/mongo/s/server.cpp
15-
.. mongo/src/mongo/db/db.cpp
16+
.. mongo/src/mongo/db/db.cpp
Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1+
:orphan:
2+
13
==============================
24
20 NT Service Errors (Windows)
35
==============================
46

57
.. default-domain:: mongodb
68

7-
:program:`mongod.exe` returns this error code for multiple errors.
8-
9-
.. error:: 20 ERROR: wsastartup failed {reason}
9+
.. error:: 20 ERROR: wsastartup failed _reason_
1010

1111
Returned by MongoDB applications on Windows due to an error in the
1212
WSAStartup function.
@@ -17,6 +17,5 @@
1717
starting or removing the NT Service for the application.
1818

1919
.. symbol: EXIT_NTSERVICE_ERROR = 20
20-
2120
.. mongo/src/mongo/util/net/sock.cpp
22-
.. mongo/src/mongo/util/ntservice.cpp
21+
.. mongo/src/mongo/util/ntservice.cpp

0 commit comments

Comments
 (0)