Skip to content

Commit 9a3b78f

Browse files
author
Tony Sansone
committed
(DOCS-11026): Fixed version numbers to use on release series where applicable.
1 parent 7103b83 commit 9a3b78f

7 files changed

+25
-25
lines changed

source/includes/fact-install-windows.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@ typically is located in the default ``Downloads`` folder. Double-click
33
the ``.msi`` file. The Windows Installer guides you through the
44
installation process.
55

6-
You may specify an installation directory if you choose the "Custom"
7-
installation option.
6+
You may specify an installation directory if you choose the
7+
:guilabel:`Custom` installation option.
88

99
.. note::
1010

1111
These instructions assume that you have installed MongoDB
12-
to ``C:\Program Files\MongoDB\Server\3.6\``.
12+
to ``C:\Program Files\MongoDB\Server\{+version+}\``.
1313

1414
During the installation process you will be given the option to install
1515
:ref:`MongoDB Compass <compass-index>` in addition to MongoDB Server.

source/includes/fact-timezone-description.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ If no ``timezone`` is provided, the result is displayed in ``UTC``.
88

99
.. list-table::
1010
:header-rows: 1
11-
:widths: auto
11+
:widths: 30 70
1212

1313
* - ``Format``
1414
- ``Examples``
@@ -27,4 +27,4 @@ If no ``timezone`` is provided, the result is displayed in ``UTC``.
2727

2828
+/-[hh]:[mm], e.g. "+04:45"
2929
+/-[hh][mm], e.g. "-0530"
30-
+/-[hh], e.g. "+03"
30+
+/-[hh], e.g. "+03"

source/includes/release-specifications.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -69,38 +69,38 @@ source:
6969
file: release-base.yaml
7070
ref: _install-windows
7171
replacement:
72-
location: 'C:\Program Files\MongoDB\Server\{{version}}\'
72+
location: 'C:\Program Files\MongoDB\Server\{+version+}\'
7373
addlocal: 'all'
7474
---
7575
ref: install-windows-nocompass
7676
source:
7777
file: release-base.yaml
7878
ref: _install-windows-nocompass
7979
replacement:
80-
location: 'C:\Program Files\MongoDB\Server\{{version}}\'
80+
location: 'C:\Program Files\MongoDB\Server\{+version+}\'
8181
addlocal: 'all'
8282
---
8383
ref: install-windows-addlocal
8484
source:
8585
file: release-base.yaml
8686
ref: _install-windows
8787
replacement:
88-
location: 'C:\Program Files\MongoDB\Server\{{version}}\'
88+
location: 'C:\Program Files\MongoDB\Server\{+version+}\'
8989
addlocal: 'MonitoringTools,ImportExportTools,MiscellaneousTools'
9090
---
9191
ref: install-ent-windows-default
9292
source:
9393
file: release-base.yaml
9494
ref: _install-windows-ent
9595
replacement:
96-
location: 'C:\Program Files\MongoDB\Server\{{version}}\'
96+
location: 'C:\Program Files\MongoDB\Server\{+version+}\'
9797
addlocal: 'all'
9898
---
9999
ref: install-ent-windows-addlocal
100100
source:
101101
file: release-base.yaml
102102
ref: _install-windows-ent
103103
replacement:
104-
location: 'C:\Program Files\MongoDB\Server\{{version}}\'
104+
location: 'C:\Program Files\MongoDB\Server\{+version+}\'
105105
addlocal: 'MonitoringTools,ImportExportTools,MiscellaneousTools'
106106
...

source/includes/steps-configure-windows-service-for-mongodb.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ action:
2929
language: powershell
3030
copyable: true
3131
code: |
32-
"C:\Program Files\MongoDB\Server\3.6\bin\mongod.exe" --config "C:\Program Files\MongoDB\Server\3.6\mongod.cfg" --install
32+
"C:\Program Files\MongoDB\Server\{+version+}\bin\mongod.exe" --config "C:\Program Files\MongoDB\Server\{+version+}\mongod.cfg" --install
3333
post: |
3434
To use an alternate :setting:`dbpath`, specify the path in the
3535
configuration file (e.g. ``C:\mongodb\mongod.cfg``) or
@@ -67,13 +67,13 @@ title: Connect to MongoDB.
6767
stepnum: 7
6868
ref: connect
6969
pre: |
70-
To connect to MongoDB through the :binary:`~bin.mongo.exe <mongo>` shell,
70+
To connect to MongoDB through the :binary:`~bin.mongo.exe` shell,
7171
open another :guilabel:`Command Prompt`.
7272
action:
7373
copyable: true
7474
language: powershell
7575
code: |
76-
"C:\Program Files\MongoDB\Server\3.6\bin\mongo.exe"
76+
"C:\Program Files\MongoDB\Server\{+version+}\bin\mongo.exe"
7777
post: |
7878
If you want to develop applications using .NET, see the documentation
7979
of :ecosystem:`C# and MongoDB </drivers/csharp>` for more information.
@@ -93,5 +93,5 @@ action:
9393
language: powershell
9494
copyable: true
9595
code: |
96-
"C:\Program Files\MongoDB\Server\3.6\bin\mongod.exe" --remove
96+
"C:\Program Files\MongoDB\Server\{+version+}\bin\mongod.exe" --remove
9797
...

source/includes/steps-create-manually-windows-service-for-mongodb.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ content: |
2929
file.
3030
3131
.. note::
32-
3332
MongoDB configuration files use the
3433
`YAML <http://yaml.org>`__ file format. Per the `YAML 1.2
3534
specification <http://yaml.org/spec/1.2/spec.html#id2777534>`__,
@@ -63,7 +62,7 @@ action:
6362
language: powershell
6463
copyable: true
6564
code: |
66-
sc.exe create MongoDB binPath= "\"C:\Program Files\MongoDB\Server\3.6\bin\mongod.exe\" --service --config=\"C:\Program Files\MongoDB\Server\3.6\mongod.cfg\"" DisplayName= "MongoDB" start= "auto"
65+
sc.exe create MongoDB binPath= "\"C:\Program Files\MongoDB\Server\{+version+}\bin\mongod.exe\" --service --config=\"C:\Program Files\MongoDB\Server\{+version+}\mongod.cfg\"" DisplayName= "MongoDB" start= "auto"
6766
post: |
6867
``sc.exe`` requires a space between "=" and the configuration values
6968
(eg "binPath= "), and a "\\" to escape double quotes.
@@ -107,7 +106,7 @@ action:
107106
copyable: true
108107
language: powershell
109108
code: |
110-
"C:\Program Files\MongoDB\Server\3.6\bin\mongo.exe"
109+
"C:\Program Files\MongoDB\Server\{+version+}\bin\mongo.exe"
111110
post: |
112111
If you want to develop applications using .NET, see the documentation
113112
of :ecosystem:`C# and MongoDB </drivers/csharp>` for more information.

source/includes/steps-run-mongodb-on-windows.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,14 @@ action:
1919
copyable: true
2020
language: powershell
2121
code: |
22-
"C:\Program Files\MongoDB\Server\3.6\bin\mongod.exe" --dbpath d:\test\mongodb\data
22+
"C:\Program Files\MongoDB\Server\{+version+}\bin\mongod.exe" --dbpath d:\test\mongodb\data
2323
- pre: |
2424
If your path includes spaces, enclose the entire path in double
2525
quotes, for example:
2626
copyable: true
2727
language: powershell
2828
code: |
29-
"C:\Program Files\MongoDB\Server\3.6\bin\mongod.exe" --dbpath "d:\test\mongo db data"
29+
"C:\Program Files\MongoDB\Server\{+version+}\bin\mongod.exe" --dbpath "d:\test\mongo db data"
3030
post: |
3131
You may also specify the ``dbpath`` in a :doc:`configuration file
3232
</reference/configuration-options>`.
@@ -41,15 +41,15 @@ action:
4141
copyable: true
4242
language: powershell
4343
code: |
44-
"C:\Program Files\MongoDB\Server\3.6\bin\mongod.exe"
44+
"C:\Program Files\MongoDB\Server\{+version+}\bin\mongod.exe"
4545
post: |
4646
This starts the main MongoDB database process. The ``waiting for
4747
connections`` message in the console output indicates that the
4848
:binary:`~bin.mongod.exe` process is running successfully.
4949
5050
Depending on the security level of your system, Windows may pop up a
5151
:guilabel:`Security Alert` dialog box about blocking "some features" of
52-
``C:\Program Files\MongoDB\Server\3.6\bin\mongod.exe`` from communicating
52+
``C:\Program Files\MongoDB\Server\{+version+}\bin\mongod.exe`` from communicating
5353
on networks. All users should select ``Private Networks, such as my home or
5454
work network`` and click ``Allow access``. For additional information on
5555
security and MongoDB, please see the :doc:`Security Documentation </security>`.
@@ -70,7 +70,7 @@ action:
7070
copyable: true
7171
language: powershell
7272
code: |
73-
"C:\Program Files\MongoDB\Server\3.6\bin\mongo.exe"
73+
"C:\Program Files\MongoDB\Server\{+version+}\bin\mongo.exe"
7474
post: |
7575
If you want to develop applications using .NET, see the documentation
7676
of :ecosystem:`C# and MongoDB </drivers/csharp>` for more information.

source/tutorial/install-mongodb-on-windows.txt

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,10 +93,11 @@ Manually Create a Windows Service for MongoDB Community Edition
9393
You can set up the MongoDB server as a :guilabel:`Windows Service` that
9494
starts automatically at boot time.
9595

96-
The following procedure assumes you have installed MongoDB Community using the
97-
``.msi`` installer with the path ``C:\Program Files\MongoDB\Server\3.6\``.
96+
The following procedure assumes you have installed MongoDB Community
97+
using the ``.msi`` installer with the path
98+
``C:\Program Files\MongoDB\Server\{+version+}\``.
9899

99-
If you have installed in an alternative directory, you will need to
100+
If you have installed in an alternative directory, you must
100101
adjust the paths as appropriate.
101102

102103
.. include:: /includes/steps/create-manually-windows-service-for-mongodb.rst

0 commit comments

Comments
 (0)