summaryrefslogtreecommitdiffstats
path: root/Doc/packaging
diff options
context:
space:
mode:
authorÉric Araujo <merwok@netwok.org>2011-06-05 23:52:37 (GMT)
committerÉric Araujo <merwok@netwok.org>2011-06-05 23:52:37 (GMT)
commitf0f9b22459f8d07d04875e31a63287e19c85e243 (patch)
tree94b357136332259619430a4ef2f70b621460c525 /Doc/packaging
parentd5d831b74d249acfda2927bfcd6addd4bab003a7 (diff)
downloadcpython-f0f9b22459f8d07d04875e31a63287e19c85e243.zip
cpython-f0f9b22459f8d07d04875e31a63287e19c85e243.tar.gz
cpython-f0f9b22459f8d07d04875e31a63287e19c85e243.tar.bz2
Add a short table of contents to the setup.cfg spec.
I tried shortening the sidebar ToC with the tocdepth option instead, but it has a bug which caused all headings with a level deeper than the tocdepth value to all have the same section number, which was a usability regression rather than in improvement.
Diffstat (limited to 'Doc/packaging')
-rw-r--r--Doc/packaging/setupcfg.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/Doc/packaging/setupcfg.rst b/Doc/packaging/setupcfg.rst
index 9af8b63..a195d5a 100644
--- a/Doc/packaging/setupcfg.rst
+++ b/Doc/packaging/setupcfg.rst
@@ -12,6 +12,10 @@ This document describes the :file:`setup.cfg`, an ini-style configuration file
(compatible with :class:`configparser.RawConfigParser`) used by Packaging to
replace the :file:`setup.py` file.
+.. contents::
+ :depth: 3
+ :local:
+
Syntax
======