Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix doc issues related to dochub.mongodb.org

  • Loading branch information...
commit 59ec2fdc0883254ba8b5f19d1dbe687b42f23287 1 parent 3abf875
@behackett behackett authored
View
2  doc/examples/geo.rst
@@ -13,7 +13,7 @@ index in PyMongo.
.. note:: 2D indexes require server version **>= 1.3.4**. Support for
2D indexes also requires PyMongo version **>= 1.5.1**.
-.. mongodoc:: Geospatial+Indexing
+.. mongodoc:: geo
Creating a Geospatial Index
---------------------------
View
8 doc/examples/replica_set.rst
@@ -2,21 +2,21 @@ Connecting to a Replica Set
===========================
PyMongo makes working with `replica sets
-<http://www.mongodb.org/display/DOCS/Replica+Sets>`_ easy. Here we'll launch
-a new replica set and show how to handle both initialization and normal
+<http://dochub.mongodb.org/core/rs>`_ easy. Here we'll launch a new
+replica set and show how to handle both initialization and normal
connections with PyMongo.
.. note:: Replica sets require server version **>= 1.6.0**. Support
for connecting to replica sets also requires PyMongo version **>=
1.8.0**.
-.. mongodoc:: Replica+Sets
+.. mongodoc:: rs
Starting a Replica Set
----------------------
The main `replica set documentation
-<http://www.mongodb.org/display/DOCS/Replica+Sets>`_ contains extensive information
+<http://dochub.mongodb.org/core/rs>`_ contains extensive information
about setting up a new replica set or migrating an existing MongoDB
setup, be sure to check that out. Here, we'll just do the bare minimum
to get a three node replica set setup locally.
View
2  doc/mongo_extensions.py
@@ -83,7 +83,7 @@ def process_mongodoc_nodes(app, doctree, fromdocname):
for para in node.traverse(nodes.paragraph):
tag = str(para.traverse()[1])
link = mongoref("", "")
- link["refuri"] = "http://www.mongodb.org/display/DOCS/%s" % tag
+ link["refuri"] = "http://dochub.mongodb.org/core/%s" % tag
link["name"] = anchor
link.append(nodes.emphasis(tag, tag))
new_para = nodes.paragraph()
Please sign in to comment.
Something went wrong with that request. Please try again.