summaryrefslogtreecommitdiffstats
path: root/Doc/distutils/extending.rst
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2014-09-20 22:35:08 (GMT)
committerGeorg Brandl <georg@python.org>2014-09-20 22:35:08 (GMT)
commit3f40c40dea5f68fa4f1711c9cfa04c4edf6f8f53 (patch)
tree02d439e63509e1ff90ad7ee940116e15a877a6d5 /Doc/distutils/extending.rst
parent8a97896a765e4b1ef8753b4a410a8f3e981cb9b8 (diff)
downloadcpython-3f40c40dea5f68fa4f1711c9cfa04c4edf6f8f53.zip
cpython-3f40c40dea5f68fa4f1711c9cfa04c4edf6f8f53.tar.gz
cpython-3f40c40dea5f68fa4f1711c9cfa04c4edf6f8f53.tar.bz2
Doc: remove invalid uses of ":option:" which will emit warnings in Sphinx 1.3.
Diffstat (limited to 'Doc/distutils/extending.rst')
-rw-r--r--Doc/distutils/extending.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/distutils/extending.rst b/Doc/distutils/extending.rst
index 5a70d03..5139c6d 100644
--- a/Doc/distutils/extending.rst
+++ b/Doc/distutils/extending.rst
@@ -61,7 +61,7 @@ commands to be added which can support existing :file:`setup.py` scripts without
requiring modifications to the Python installation. This is expected to allow
third-party extensions to provide support for additional packaging systems, but
the commands can be used for anything distutils commands can be used for. A new
-configuration option, :option:`command_packages` (command-line option
+configuration option, ``command_packages`` (command-line option
:option:`--command-packages`), can be used to specify additional packages to be
searched for modules implementing commands. Like all distutils options, this
can be specified on the command line or in a configuration file. This option
@@ -75,7 +75,7 @@ This new option can be used to add any number of packages to the list of
packages searched for command implementations; multiple package names should be
separated by commas. When not specified, the search is only performed in the
:mod:`distutils.command` package. When :file:`setup.py` is run with the option
-:option:`--command-packages` :option:`distcmds,buildcmds`, however, the packages
+``--command-packages distcmds,buildcmds``, however, the packages
:mod:`distutils.command`, :mod:`distcmds`, and :mod:`buildcmds` will be searched
in that order. New commands are expected to be implemented in modules of the
same name as the command by classes sharing the same name. Given the example