Skip to content

Commit 966160f

Browse files
authored
DOCSP-20362 Update links for subdomain consolidation project (#71)
* Link updates * Autobuilder check * Adding www * Adding roles * Autobuilder issues * tweaks * Autobuilder issues * Delete settings.json
1 parent 21699d8 commit 966160f

17 files changed

+54
-75
lines changed

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ else
55
USER=$(STAGING_USERNAME)
66
endif
77
STAGING_URL="https://docs-mongodborg-staging.corp.mongodb.com"
8-
PRODUCTION_URL="https://docs.mongodb.com/database-tools"
8+
PRODUCTION_URL="https://www.mongodb.com/docs/database-tools"
99
STAGING_BUCKET=docs-mongodb-org-staging
1010
PRODUCTION_BUCKET=docs-commandline-tools
1111

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ found in the Server Manual repository:
1414
The live documentation for the Database Tools can be found at the
1515
following URL:
1616

17-
- https://docs.mongodb.com/database-tools/
17+
- https://www.mongodb.com/docs/database-tools/
1818

1919
Report Issues
2020
-------------

conf-sitemap.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<site
3-
base_url="https://docs.mongodb.org/docs-commandline-tools/"
3+
base_url="https://www.mongodb.com/docs/database-tools/"
44
store_into="build/master/sitemap.xml.gz"
55
verbose="1"
66
>
77

88
<directory
99
path="build/public/"
10-
url="https://docs.mongodb.org/docs-commandline-tools/"
10+
url="https://www.mongodb.com/docs/database-tools/"
1111
default_file="index.html"
1212
/>
1313
<filter action="drop" type="wildcard" pattern="*~" />

conf.py

+5-5
Original file line numberDiff line numberDiff line change
@@ -86,12 +86,12 @@
8686

8787

8888
extlinks = {
89-
'hardlink' : ( 'http://docs.mongodb.com/{0}/%s'.format(conf.git.branches.current), ''),
89+
'hardlink' : ( 'http://mongodb.com/docs/{0}/%s'.format(conf.git.branches.current), ''),
9090
'issue': ('https://jira.mongodb.org/browse/%s', '' ),
9191
'api': ('https://api.mongodb.com/%s', ''),
92-
'gettingstarted': ('https://docs.mongodb.com/getting-started%s', ''),
93-
'manual': ('https://docs.mongodb.com/manual%s', ''),
94-
'ecosystem': ('https://docs.mongodb.com/ecosystem%s', ''),
92+
'gettingstarted': ('https://www.mongodb.com/docs/getting-started%s', ''),
93+
'manual': ('https://www.mongodb.com/docs/manual%s', ''),
94+
'ecosystem': ('https://www.mongodb.com/docs/drivers/%s', ''),
9595
'mms-docs': ('https://docs.cloudmanager.mongodb.com%s', ''),
9696
'mms-home': ('https://www.mongodb.com/cloud/cloud-manager%s', ''),
9797
'opsmgr': ('https://docs.opsmanager.mongodb.com/current%s', ''),
@@ -104,7 +104,7 @@
104104
'ruby-api': ('http://api.mongodb.com/ruby/current/Mongo/%s', ''),
105105
'scala-api': ('http://mongodb.github.io/mongo-scala-driver/2.0/scaladoc/org/mongodb/scala/MongoCollection.html#%s', ''),
106106
'csharp-api': ('https://api.mongodb.com/csharp/current/html/%s.htm', ''),
107-
'csharp-docs': ('https://mongodb.github.io/mongo-csharp-driver/2.4/reference/%s', ''),
107+
'csharp-docs': ('https://www.mongodb.github.io/mongo-csharp-driver/2.4/reference/%s', ''),
108108
'java-async-docs': ('http://mongodb.github.io/mongo-java-driver-reactivestreams/1.6/%s', ''),
109109
'java-async-api': ('http://mongodb.github.io/mongo-java-driver-reactivestreams/1.6/javadoc/%s', ''),
110110
'go-api': ('https://godoc.org/github.com/mongodb/mongo-go-driver/%s', '')

config/build_conf.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ git:
55
project:
66
name: 'database-tools'
77
tag: 'database-tools'
8-
url: 'https://docs.mongodb.com/database-tools'
8+
url: 'https://www.mongodb.com/docs/database-tools'
99
title: 'MongoDB Database Tools'
1010
branched: false
1111
version:

config/intersphinx.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: mongodb
2-
url: https://docs.mongodb.com/manual/
2+
url: https://www.mongodb.com/docs/manual/
33
path: mongodb.inv
44
---
55
name: python
@@ -15,10 +15,10 @@ url: https://docs.python.org/3/
1515
path: python3.inv
1616
---
1717
name: clouddocs
18-
url: https://docs.atlas.mongodb.com/
18+
url: https://www.mongodb.com/docs/atlas/
1919
path: cloud-docs.inv
2020
---
2121
name: compassdocs
22-
url: https://docs.mongodb.com/compass/current/
22+
url: https://www.mongodb.com/docs/compass/current/
2323
path: compass-docs.inv
2424
...

snooty.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
name = "database-tools"
22
title = "MongoDB Database Tools"
33

4-
intersphinx = [ "https://docs.mongodb.com/manual/objects.inv",
5-
"https://docs.mongodb.com/compass/current/objects.inv"]
4+
intersphinx = [ "https://www.mongodb.com/docs/manual/objects.inv",
5+
"https://www.mongodb.com/docs/compass/current/objects.inv"]
66

77
toc_landing_pages = ["/installation/installation"]
88

source/bsondump.txt

+2-3
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,8 @@ Versioning
4444

4545
.. note:: Quick links to older documentation
4646

47-
- `MongoDB 4.2 bsondump <https://docs.mongodb.com/v4.2/reference/program/bsondump>`__
48-
- `MongoDB 4.0 bsondump <https://docs.mongodb.com/v4.0/reference/program/bsondump>`__
49-
- `MongoDB 3.6 bsondump <https://docs.mongodb.com/v3.6/reference/program/bsondump>`__
47+
- :v4.2:`MongoDB 4.2 bsondump <reference/program/bsondump>`
48+
- :v4.0:`MongoDB 4.0 bsondump <reference/program/bsondump>`
5049

5150
This documentation is for version ``{+release+}`` of |tool-binary|.
5251

source/includes/extracts-version.yaml

+3-4
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,9 @@ content: |
1212
1313
.. note:: Quick links to older documentation
1414
15-
- `MongoDB 4.2 Tools <https://docs.mongodb.com/v4.2/reference/program/>`__
16-
- `MongoDB 4.0 Tools <https://docs.mongodb.com/v4.0/reference/program/>`__
17-
- `MongoDB 3.6 Tools <https://docs.mongodb.com/v3.6/reference/program/>`__
18-
15+
- :v4.2:`MongoDB 4.2 Tools </reference/program/>`
16+
- :v4.0:`MongoDB 4.0 Tools </reference/program/>`
17+
1918
---
2019
ref: dbtools-version-single
2120
content: |

source/index.txt

+3-3
Original file line numberDiff line numberDiff line change
@@ -109,13 +109,13 @@ Further Reading
109109
`MongoDB, Inc.`_
110110
The company behind MongoDB.
111111

112-
`MongoDB Manual <https://docs.mongodb.com/manual?tck=docs_databasetools>`__
112+
:manual:`MongoDB Manual <?tck=docs_databasetools>`
113113
The MongoDB server documentation.
114114

115-
`MongoDB Atlas <https://www.mongodb.com/cloud?tck=docs_databasetools>`__
115+
:atlas:`MongoDB Atlas <?tck=docs_databasetools>`
116116
Database as a service.
117117

118-
`MongoDB Ecosystem <https://docs.mongodb.com/ecosystem/?tck=docs_databasetools>`__
118+
:ecosystem:`MongoDB Ecosystem <?tck=docs_databasetools>`
119119
The documentation available for the drivers, frameworks,
120120
and services for use with MongoDB.
121121

source/mongodump.txt

+5-7
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,9 @@ Versioning
4949

5050
.. note:: Quick links to older documentation
5151

52-
- `MongoDB 4.2 mongodump <https://docs.mongodb.com/v4.2/reference/program/mongodump>`__
53-
- `MongoDB 4.0 mongodump <https://docs.mongodb.com/v4.0/reference/program/mongodump>`__
54-
- `MongoDB 3.6 mongodump <https://docs.mongodb.com/v3.6/reference/program/mongodump>`__
52+
- :v4.2:`MongoDB 4.2 mongodump </reference/program/mongodump>`
53+
- :v4.0:`MongoDB 4.0 mongodump </reference/program/mongodump>`
54+
5555

5656
This documentation is for version ``{+release+}`` of |tool-binary|.
5757

@@ -637,8 +637,7 @@ Options
637637

638638
Starting in version ``100.1.0``, :program:`mongodump` adds support for
639639
the ``MONGODB-AWS`` authentication mechanism when connecting
640-
to a `MongoDB Atlas
641-
<https://www.mongodb.com/cloud/atlas?tck=docs_server>`__ cluster.
640+
to a :atlas:`MongoDB Atlas <?tck=docs_server>` cluster.
642641

643642
.. include:: /includes/list-table-auth-mechanisms.rst
644643

@@ -1029,8 +1028,7 @@ Connect to a MongoDB Atlas Cluster using AWS IAM Credentials
10291028

10301029
.. versionadded:: 100.1.0
10311030

1032-
To connect to a `MongoDB Atlas
1033-
<https://www.mongodb.com/cloud/atlas?tck=docs_server>`__ cluster which
1031+
To connect to a :atlas:`MongoDB Atlas <?tck=docs_server>` cluster which
10341032
has been configured to support authentication via `AWS IAM credentials
10351033
<https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html>`__,
10361034
provide a :option:`connection string <mongodump --uri>` to

source/mongoexport.txt

+6-8
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,9 @@ Versioning
4646

4747
.. note:: Quick links to older documentation
4848

49-
- `MongoDB 4.2 mongoexport <https://docs.mongodb.com/v4.2/reference/program/mongoexport>`__
50-
- `MongoDB 4.0 mongoexport <https://docs.mongodb.com/v4.0/reference/program/mongoexport>`__
51-
- `MongoDB 3.6 mongoexport <https://docs.mongodb.com/v3.6/reference/program/mongoexport>`__
49+
- :v4.2:`MongoDB 4.2 mongoexport </reference/program/mongoexport>`
50+
- :v4.0:`MongoDB 4.0 mongoexport </reference/program/mongoexport>`
51+
5252

5353
This documentation is for version ``{+release+}`` of |tool-binary|.
5454

@@ -567,8 +567,7 @@ Options
567567

568568
Starting in version ``100.1.0``, :program:`mongoexport` adds support
569569
for the ``MONGODB-AWS`` authentication mechanism when connecting
570-
to a `MongoDB Atlas
571-
<https://www.mongodb.com/cloud/atlas?tck=docs_server>`__ cluster.
570+
to a :atlas:`MongoDB Atlas <?tck=docs_server>`` cluster.
572571

573572
.. include:: /includes/list-table-auth-mechanisms.rst
574573

@@ -987,9 +986,8 @@ Connect to a MongoDB Atlas Cluster using AWS IAM Credentials
987986

988987
.. versionadded:: 100.1.0
989988

990-
To connect to a `MongoDB Atlas
991-
<https://www.mongodb.com/cloud/atlas?tck=docs_server>`__ cluster which
992-
has been configured to support authentication via `AWS IAM credentials
989+
To connect to a :atlas:`MongoDB Atlas <?tck=docs_server>` cluster which has been
990+
configured to support authentication via `AWS IAM credentials
993991
<https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html>`__,
994992
provide a :option:`connection string <mongoexport --uri>` to
995993
|tool-binary| similar to the following:

source/mongofiles.txt

+4-7
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,8 @@ Versioning
3737

3838
.. note:: Quick links to older documentation
3939

40-
- `MongoDB 4.2 mongofiles <https://docs.mongodb.com/v4.2/reference/program/mongofiles>`__
41-
- `MongoDB 4.0 mongofiles <https://docs.mongodb.com/v4.0/reference/program/mongofiles>`__
42-
- `MongoDB 3.6 mongofiles <https://docs.mongodb.com/v3.6/reference/program/mongofiles>`__
40+
- :v4.2:`MongoDB 4.2 mongofiles </reference/program/mongofiles>`
41+
- :v4.0:`MongoDB 4.0 mongofiles </reference/program/mongofiles>`
4342

4443
This documentation is for version ``{+release+}`` of |tool-binary|.
4544

@@ -386,8 +385,7 @@ Options
386385

387386
Starting in version ``100.1.0``, :program:`mongofiles` adds support
388387
for the ``MONGODB-AWS`` authentication mechanism when connecting
389-
to a `MongoDB Atlas
390-
<https://www.mongodb.com/cloud/atlas?tck=docs_server>`__ cluster.
388+
to a :atlas:`MongoDB Atlas <?tck=docs_server>` cluster.
391389

392390
.. include:: /includes/list-table-auth-mechanisms.rst
393391

@@ -695,8 +693,7 @@ Connect to a MongoDB Atlas Cluster using AWS IAM Credentials
695693

696694
.. versionadded:: 100.1.0
697695

698-
To connect to a `MongoDB Atlas
699-
<https://www.mongodb.com/cloud/atlas?tck=docs_server>`__ cluster which
696+
To connect to a :atlas:`MongoDB Atlas <?tck=docs_server>` cluster which
700697
has been configured to support authentication via `AWS IAM credentials
701698
<https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html>`__,
702699
provide a :option:`connection string <mongofiles --uri>` to

source/mongoimport.txt

+4-7
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,8 @@ Versioning
4242

4343
.. note:: Quick links to older documentation
4444

45-
- `MongoDB 4.2 mongoimport <https://docs.mongodb.com/v4.2/reference/program/mongoimport>`__
46-
- `MongoDB 4.0 mongoimport <https://docs.mongodb.com/v4.0/reference/program/mongoimport>`__
47-
- `MongoDB 3.6 mongoimport <https://docs.mongodb.com/v3.6/reference/program/mongoimport>`__
45+
- :v4.2:`MongoDB 4.2 mongoimport </reference/program/mongoimport>`
46+
- :v4.0:`MongoDB 4.0 mongoimport </reference/program/mongoimport>`
4847

4948
This documentation is for version ``{+release+}`` of |tool-binary|.
5049

@@ -405,8 +404,7 @@ Options
405404

406405
Starting in version ``100.1.0``, :program:`mongoimport` adds support
407406
for the ``MONGODB-AWS`` authentication mechanism when connecting
408-
to a `MongoDB Atlas
409-
<https://www.mongodb.com/cloud/atlas?tck=docs_server>`__ cluster.
407+
to a :atlas:`MongoDB Atlas <?tck=docs_server>` cluster.
410408

411409
.. include:: /includes/list-table-auth-mechanisms.rst
412410

@@ -1179,8 +1177,7 @@ Connect to a MongoDB Atlas Cluster using AWS IAM Credentials
11791177

11801178
.. versionadded:: 100.1.0
11811179

1182-
To connect to a `MongoDB Atlas
1183-
<https://www.mongodb.com/cloud/atlas?tck=docs_server>`__ cluster which
1180+
To connect to a :atlas:`MongoDB Atlas <?tck=docs_server>` cluster which
11841181
has been configured to support authentication via `AWS IAM credentials
11851182
<https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html>`__,
11861183
provide a :option:`connection string <mongoimport --uri>` to

source/mongorestore.txt

+4-7
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,8 @@ Versioning
4141

4242
.. note:: Quick links to older documentation
4343

44-
- `MongoDB 4.2 mongorestore <https://docs.mongodb.com/v4.2/reference/program/mongorestore>`__
45-
- `MongoDB 4.0 mongorestore <https://docs.mongodb.com/v4.0/reference/program/mongorestore>`__
46-
- `MongoDB 3.6 mongorestore <https://docs.mongodb.com/v3.6/reference/program/mongorestore>`__
44+
- :v4.2:`MongoDB 4.2 mongorestore </reference/program/mongorestore>`
45+
- :v4.0:`MongoDB 4.0 mongorestore </reference/program/mongorestore>`
4746

4847
This documentation is for version ``{+release+}`` of |tool-binary|.
4948

@@ -519,8 +518,7 @@ Options
519518

520519
Starting in version ``100.1.0``, :program:`mongorestore` adds support
521520
for the ``MONGODB-AWS`` authentication mechanism when connecting
522-
to a `MongoDB Atlas
523-
<https://www.mongodb.com/cloud/atlas?tck=docs_server>`__ cluster.
521+
to a :atlas:`MongoDB Atlas <?tck=docs_server>` cluster.
524522

525523
.. include:: /includes/list-table-auth-mechanisms.rst
526524

@@ -1225,8 +1223,7 @@ Connect to a MongoDB Atlas Cluster using AWS IAM Credentials
12251223

12261224
.. versionadded:: 100.1.0
12271225

1228-
To connect to a `MongoDB Atlas
1229-
<https://www.mongodb.com/cloud/atlas?tck=docs_server>`__ cluster which
1226+
To connect to a :atlas:`MongoDB Atlas <?tck=docs_server>` cluster which
12301227
has been configured to support authentication via `AWS IAM credentials
12311228
<https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html>`__,
12321229
provide a :option:`connection string <mongorestore --uri>` to

source/mongostat.txt

+4-7
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,8 @@ Versioning
3939

4040
.. note:: Quick links to older documentation
4141

42-
- `MongoDB 4.2 mongostat <https://docs.mongodb.com/v4.2/reference/program/mongostat>`__
43-
- `MongoDB 4.0 mongostat <https://docs.mongodb.com/v4.0/reference/program/mongostat>`__
44-
- `MongoDB 3.6 mongostat <https://docs.mongodb.com/v3.6/reference/program/mongostat>`__
42+
- :v4.2:`MongoDB 4.2 mongostat </reference/program/mongostat>`
43+
- :v4.0:`MongoDB 4.0 mongostat </reference/program/mongostat>`
4544

4645
This documentation is for version ``{+release+}`` of |tool-binary|.
4746

@@ -344,8 +343,7 @@ Options
344343

345344
Starting in version ``100.1.0``, :program:`mongostat` adds support for
346345
the ``MONGODB-AWS`` authentication mechanism when connecting to a
347-
`MongoDB Atlas
348-
<https://www.mongodb.com/cloud/atlas?tck=docs_server>`__ cluster.
346+
:atlas:`MongoDB Atlas <?tck=docs_server>` cluster.
349347

350348
.. include:: /includes/list-table-auth-mechanisms.rst
351349

@@ -916,8 +914,7 @@ Connect to a MongoDB Atlas Cluster using AWS IAM Credentials
916914

917915
.. versionadded:: 100.1.0
918916

919-
To connect to a `MongoDB Atlas
920-
<https://www.mongodb.com/cloud/atlas?tck=docs_server>`__ cluster which
917+
To connect to a :atlas:`MongoDB Atlas <?tck=docs_server>` cluster which
921918
has been configured to support authentication via `AWS IAM credentials
922919
<https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html>`__,
923920
provide a :option:`connection string <mongostat --uri>` to

source/mongotop.txt

+4-7
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,8 @@ Versioning
3737

3838
.. note:: Quick links to older documentation
3939

40-
- `MongoDB 4.2 mongotop <https://docs.mongodb.com/v4.2/reference/program/mongotop>`__
41-
- `MongoDB 4.0 mongotop <https://docs.mongodb.com/v4.0/reference/program/mongotop>`__
42-
- `MongoDB 3.6 mongotop <https://docs.mongodb.com/v3.6/reference/program/mongotop>`__
40+
- :v4.2:`MongoDB 4.2 mongotop </reference/program/mongotop>`
41+
- :v4.2:`MongoDB 4.0 mongotop </reference/program/mongotop>`
4342

4443
This documentation is for version ``{+release+}`` of |tool-binary|.
4544

@@ -464,8 +463,7 @@ Options
464463

465464
Starting in version ``100.1.0``, :program:`mongotop` adds support for
466465
the ``MONGODB-AWS`` authentication mechanism when connecting to a
467-
`MongoDB Atlas
468-
<https://www.mongodb.com/cloud/atlas?tck=docs_server>`__ cluster.
466+
:atlas:`MongoDB Atlas <?tck=docs_server>` cluster.
469467

470468
.. include:: /includes/list-table-auth-mechanisms.rst
471469

@@ -636,8 +634,7 @@ Connect to a MongoDB Atlas Cluster using AWS IAM Credentials
636634

637635
.. versionadded:: 100.1.0
638636

639-
To connect to a `MongoDB Atlas
640-
<https://www.mongodb.com/cloud/atlas?tck=docs_server>`__ cluster which
637+
To connect to a :atlas:`MongoDB Atlas <?tck=docs_server>` cluster which
641638
has been configured to support authentication via `AWS IAM credentials
642639
<https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html>`__,
643640
provide a :option:`connection string <mongotop --uri>` to

0 commit comments

Comments
 (0)