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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 2 additions & 2 deletions
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

Lines changed: 5 additions & 5 deletions
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 3 additions & 3 deletions
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

Lines changed: 2 additions & 2 deletions
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

Lines changed: 2 additions & 3 deletions
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

Lines changed: 3 additions & 4 deletions
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

Lines changed: 3 additions & 3 deletions
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

0 commit comments

Comments
 (0)