aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2010-03-12 10:06:40 +0000
committerGeorg Brandl <georg@python.org>2010-03-12 10:06:40 +0000
commitef871f6160db0bd5475cc4721c90788d85cb4f95 (patch)
tree04b22816a71d25439f8ed2506985055fee490158 /Doc/distutils/uploading.rst
parentMake tool compatible with 2.x and 3.x. (diff)
downloadcpython-ef871f6160db0bd5475cc4721c90788d85cb4f95.tar.gz
cpython-ef871f6160db0bd5475cc4721c90788d85cb4f95.tar.bz2
cpython-ef871f6160db0bd5475cc4721c90788d85cb4f95.zip
Merged revisions 78859-78860 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r78859 | georg.brandl | 2010-03-12 10:57:43 +0100 (Fr, 12 Mär 2010) | 1 line Get rid of backticks. ........ r78860 | georg.brandl | 2010-03-12 11:02:03 +0100 (Fr, 12 Mär 2010) | 1 line Fix warnings from "make check". ........
Diffstat (limited to 'Doc/distutils/uploading.rst')
-rw-r--r--Doc/distutils/uploading.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/Doc/distutils/uploading.rst b/Doc/distutils/uploading.rst
index e9472453d30..7b790b1e026 100644
--- a/Doc/distutils/uploading.rst
+++ b/Doc/distutils/uploading.rst
@@ -60,13 +60,13 @@ in the package::
setup(name='Distutils',
long_description=open('README.txt'))
-In that case, `README.txt` is a regular reStructuredText text file located
-in the root of the package besides `setup.py`.
+In that case, :file:`README.txt` is a regular reStructuredText text file located
+in the root of the package besides :file:`setup.py`.
To prevent registering broken reStructuredText content, you can use the
-:program:`rst2html` program that is provided by the `docutils` package
+:program:`rst2html` program that is provided by the :mod:`docutils` package
and check the ``long_description`` from the command line::
$ python setup.py --long-description | rst2html.py > output.html
-`docutils` will display a warning if there's something wrong with your syntax.
+:mod:`docutils` will display a warning if there's something wrong with your syntax.