From: Éric Araujo Date: Sun, 5 Jun 2011 23:52:37 +0000 (+0200) Subject: Add a short table of contents to the setup.cfg spec. X-Git-Tag: v3.3.0a1~2172^2~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f0f9b22459f8d07d04875e31a63287e19c85e243;p=thirdparty%2FPython%2Fcpython.git 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. --- diff --git a/Doc/packaging/setupcfg.rst b/Doc/packaging/setupcfg.rst index 9af8b63118d4..a195d5a70a3d 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 ======