diff options
author | Tarek Ziadé <ziade.tarek@gmail.com> | 2010-07-31 09:10:51 (GMT) |
---|---|---|
committer | Tarek Ziadé <ziade.tarek@gmail.com> | 2010-07-31 09:10:51 (GMT) |
commit | 96c45a984fcf2676532e5c8a80d2d6f8bb8df471 (patch) | |
tree | d220c2c3fe8529bba819b057652da9fae48b9bc1 /Doc/distutils/uploading.rst | |
parent | b00a75f175b30a907fd1dc763e0ed50a15f524a5 (diff) | |
download | cpython-96c45a984fcf2676532e5c8a80d2d6f8bb8df471.zip cpython-96c45a984fcf2676532e5c8a80d2d6f8bb8df471.tar.gz cpython-96c45a984fcf2676532e5c8a80d2d6f8bb8df471.tar.bz2 |
reverted distutils doc to its 3.1 state
Diffstat (limited to 'Doc/distutils/uploading.rst')
-rw-r--r-- | Doc/distutils/uploading.rst | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Doc/distutils/uploading.rst b/Doc/distutils/uploading.rst index 7b790b1..e947245 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, :file:`README.txt` is a regular reStructuredText text file located -in the root of the package besides :file:`setup.py`. +In that case, `README.txt` is a regular reStructuredText text file located +in the root of the package besides `setup.py`. To prevent registering broken reStructuredText content, you can use the -:program:`rst2html` program that is provided by the :mod:`docutils` package +:program:`rst2html` program that is provided by the `docutils` package and check the ``long_description`` from the command line:: $ python setup.py --long-description | rst2html.py > output.html -:mod:`docutils` will display a warning if there's something wrong with your syntax. +`docutils` will display a warning if there's something wrong with your syntax. |