summaryrefslogtreecommitdiffstats
path: root/Doc/distutils/packageindex.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/distutils/packageindex.rst')
-rw-r--r--Doc/distutils/packageindex.rst4
1 files changed, 3 insertions, 1 deletions
diff --git a/Doc/distutils/packageindex.rst b/Doc/distutils/packageindex.rst
index 2d7daef..28ad128 100644
--- a/Doc/distutils/packageindex.rst
+++ b/Doc/distutils/packageindex.rst
@@ -233,7 +233,9 @@ 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 :mod:`docutils` package and
-check the ``long_description`` from the command line::
+check the ``long_description`` from the command line:
+
+.. code-block:: shell-session
$ python setup.py --long-description | rst2html.py > output.html