Skip to content

Commit 1988a05

Browse files
DOCSP-20372 subdomain consolidation (#89)
* updated subdomains
1 parent f991676 commit 1988a05

38 files changed

+45
-45
lines changed

README.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@ To contribute to the documentation,
2727
See the following documents that provide an overview of the
2828
documentation style and process:
2929

30-
- `Style Guide <http://docs.mongodb.org/manual/meta/style-guide>`_
31-
- `Documentation Practices <http://docs.mongodb.org/manual/meta/practices>`_
32-
- `Documentation Organization <http://docs.mongodb.org/manual/meta/organization>`_
33-
- `Build Instructions <http://docs.mongodb.org/manual/meta/build>`_
30+
- `Style Guide <http://www.mongodb.com/docs/meta/style-guide>`_
31+
- `Documentation Practices <http://www.mongodb.com/docs/meta/practices>`_
32+
- `Documentation Organization <http://www.mongodb.com/docs/meta/organization>`_
33+
- `Build Instructions <http://www.mongodb.com/docs/meta/practices/#builds`_
3434

3535
File JIRA Tickets
3636
-----------------

config/intersphinx.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ url: https://docs.python.org/2/
44
path: python2.inv
55
---
66
name: mongodb
7-
url: https://docs.mongodb.com/manual/
7+
url: https:/www.mongodb.com/docs/manual/
88
path: mongodb.inv
99
...

snooty.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,9 @@ toc_landing_pages = [
77
]
88

99
intersphinx = [
10-
"https://docs.mongodb.com/manual/objects.inv",
11-
"https://docs.atlas.mongodb.com/objects.inv",
10+
"https://www.mongodb.com/docs/manual/objects.inv",
11+
"https://www.mongodb.com/docs/drivers/objects.inv",
12+
"https://www.mongodb.com/docs/atlas/objects.inv"
1213
]
1314

1415
[constants]

source/fundamentals/connection.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,9 @@ client to connect to MongoDB.
6666
.. note::
6767

6868
For information about connecting to Atlas Serverless, see the
69-
`Serverless Instance Limitations page
70-
<https://docs.atlas.mongodb.com/reference/serverless-instance-limitations/#minimum-driver-versions-for-serverless-instances>`__
71-
to identify the minimum driver version you need.
69+
:ref:`Serverless Instance Limitations page
70+
<atlas-serverless-drivers>` to identify the minimum driver version
71+
you need.
7272

7373
--------------------------------
7474
Other Ways to Connect to MongoDB

source/includes/fundamentals/code-snippets/CRUD/bulkOps.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import (
1414
func main() {
1515
var uri string
1616
if uri = os.Getenv("MONGODB_URI"); uri == "" {
17-
log.Fatal("You must set your 'MONGODB_URI' environmental variable. See\n\t https://docs.mongodb.com/drivers/go/current/usage-examples/")
17+
log.Fatal("You must set your 'MONGODB_URI' environmental variable. See\n\t https://www.mongodb.com/docs/drivers/go/current/usage-examples/")
1818
}
1919

2020
client, err := mongo.Connect(context.TODO(), options.Client().ApplyURI(uri))

source/includes/fundamentals/code-snippets/CRUD/compoundOperations.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import (
1414
func main() {
1515
var uri string
1616
if uri = os.Getenv("MONGODB_URI"); uri == "" {
17-
log.Fatal("You must set your 'MONGODB_URI' environmental variable. See\n\t https://docs.mongodb.com/drivers/go/current/usage-examples/#environment-variable")
17+
log.Fatal("You must set your 'MONGODB_URI' environmental variable. See\n\t https://www.mongodb.com/docs/drivers/go/current/usage-examples/#environment-variable")
1818
}
1919

2020
client, err := mongo.Connect(context.TODO(), options.Client().ApplyURI(uri))

source/includes/fundamentals/code-snippets/CRUD/countAndEstimate.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import (
1414
func main() {
1515
var uri string
1616
if uri = os.Getenv("MONGODB_URI"); uri == "" {
17-
log.Fatal("You must set your 'MONGODB_URI' environmental variable. See\n\t https://docs.mongodb.com/drivers/go/current/usage-examples/")
17+
log.Fatal("You must set your 'MONGODB_URI' environmental variable. See\n\t https://www.mongodb.com/docs/drivers/go/current/usage-examples/")
1818
}
1919

2020
client, err := mongo.Connect(context.TODO(), options.Client().ApplyURI(uri))

source/includes/fundamentals/code-snippets/CRUD/cursor.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import (
1414
func main() {
1515
var uri string
1616
if uri = os.Getenv("MONGODB_URI"); uri == "" {
17-
log.Fatal("You must set your 'MONGODB_URI' environmental variable. See\n\t https://docs.mongodb.com/drivers/go/current/usage-examples/")
17+
log.Fatal("You must set your 'MONGODB_URI' environmental variable. See\n\t https://www.mongodb.com/docs/drivers/go/current/usage-examples/")
1818
}
1919

2020
client, err := mongo.Connect(context.TODO(), options.Client().ApplyURI(uri))

source/includes/fundamentals/code-snippets/CRUD/delete.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import (
1414
func main() {
1515
var uri string
1616
if uri = os.Getenv("MONGODB_URI"); uri == "" {
17-
log.Fatal("You must set your 'MONGODB_URI' environmental variable. See\n\t https://docs.mongodb.com/drivers/go/current/usage-examples/#environment-variable")
17+
log.Fatal("You must set your 'MONGODB_URI' environmental variable. See\n\t https://www.mongodb.com/docs/drivers/go/current/usage-examples/#environment-variable")
1818
}
1919

2020
client, err := mongo.Connect(context.TODO(), options.Client().ApplyURI(uri))

source/includes/fundamentals/code-snippets/CRUD/distinctValues.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import (
1414
func main() {
1515
var uri string
1616
if uri = os.Getenv("DRIVER_REF_URI"); uri == "" {
17-
log.Fatal("You must set your 'MONGODB_URI' environmental variable. See\n\t https://docs.mongodb.com/drivers/go/current/usage-examples/")
17+
log.Fatal("You must set your 'MONGODB_URI' environmental variable. See\n\t https://www.mongodb.com/docs/drivers/go/current/usage-examples/")
1818
}
1919

2020
client, err := mongo.Connect(context.TODO(), options.Client().ApplyURI(uri))

0 commit comments

Comments
 (0)