Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f0f9b22

Browse files
committed
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.
1 parent d5d831b commit f0f9b22

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

Doc/packaging/setupcfg.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ This document describes the :file:`setup.cfg`, an ini-style configuration file
1212
(compatible with :class:`configparser.RawConfigParser`) used by Packaging to
1313
replace the :file:`setup.py` file.
1414

15+
.. contents::
16+
:depth: 3
17+
:local:
18+
1519

1620
Syntax
1721
======

0 commit comments

Comments
 (0)