summaryrefslogtreecommitdiff
path: root/doc/markup
diff options
context:
space:
mode:
Diffstat (limited to 'doc/markup')
-rw-r--r--doc/markup/inline.rst2
-rw-r--r--doc/markup/toctree.rst2
2 files changed, 2 insertions, 2 deletions
diff --git a/doc/markup/inline.rst b/doc/markup/inline.rst
index bb1ed68e..4453ab00 100644
--- a/doc/markup/inline.rst
+++ b/doc/markup/inline.rst
@@ -260,7 +260,7 @@ in a different style:
.. rst:role:: samp
A piece of literal text, such as code. Within the contents, you can use
- curly braces to indicate a "variable" part, as in :rst:dir:`file`. For
+ curly braces to indicate a "variable" part, as in :rst:role:`file`. For
example, in ``:samp:`print 1+{variable}```, the part ``variable`` would be
emphasized.
diff --git a/doc/markup/toctree.rst b/doc/markup/toctree.rst
index 474427d7..2c0a418a 100644
--- a/doc/markup/toctree.rst
+++ b/doc/markup/toctree.rst
@@ -151,7 +151,7 @@ The special document names (and pages generated for them) are:
:ref:`object descriptions <basic-domain-markup>`, and from :rst:dir:`index`
directives.
- The module index contains one entry per :rst:dir:`module` directive.
+ The Python module index contains one entry per :rst:dir:`py:module` directive.
The search page contains a form that uses the generated JSON search index and
JavaScript to full-text search the generated documents for search words; it