Skip to content

Commit bab8f9e

Browse files
committed
Minor doc fixes.
1 parent 6b0f7db commit bab8f9e

File tree

4 files changed

+6
-3
lines changed

4 files changed

+6
-3
lines changed

doc/examples/geo.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ index in PyMongo.
1313
.. note:: 2D indexes require server version **>= 1.3.4**. Support for
1414
2D indexes also requires PyMongo version **>= 1.5.1**.
1515

16-
.. mongodoc:: geo
16+
.. mongodoc:: Geospatial+Indexing
1717

1818
Creating a Geospatial Index
1919
---------------------------

doc/examples/replica_set.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ connections with PyMongo.
1010
for connecting to replica sets also requires PyMongo version **>=
1111
1.8.0**.
1212

13-
.. mongodoc:: rs
13+
.. mongodoc:: Replica+Sets
1414

1515
Starting a Replica Set
1616
----------------------

doc/mongo_extensions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ def process_mongodoc_nodes(app, doctree, fromdocname):
8383
for para in node.traverse(nodes.paragraph):
8484
tag = str(para.traverse()[1])
8585
link = mongoref("", "")
86-
link["refuri"] = "http://dochub.mongodb.org/core/%s" % tag
86+
link["refuri"] = "http://www.mongodb.org/display/DOCS/%s" % tag
8787
link["name"] = anchor
8888
link.append(nodes.emphasis(tag, tag))
8989
new_para = nodes.paragraph()

pymongo/replica_set_connection.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@
1414

1515
"""Tools for connecting to a MongoDB replica set.
1616
17+
.. seealso:: :doc:`/examples/replica_set` for more examples of how to
18+
connect to a replica set.
19+
1720
To get a :class:`~pymongo.database.Database` instance from a
1821
:class:`ReplicaSetConnection` use either dictionary-style or
1922
attribute-style access:

0 commit comments

Comments
 (0)