From f0f9b22459f8d07d04875e31a63287e19c85e243 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Araujo?= Date: Mon, 6 Jun 2011 01:52:37 +0200 Subject: 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. --- Doc/packaging/setupcfg.rst | 4 ++++ 1 file changed, 4 insertions(+) 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 ====== -- cgit v0.12