Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Review updates
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
  • Loading branch information
hugovk and CAM-Gerlach committed Feb 1, 2023
commit d33389e751363db49d1b562808c3de158af3318e
5 changes: 3 additions & 2 deletions pep-0001.txt
Original file line number Diff line number Diff line change
Expand Up @@ -660,8 +660,9 @@ archives, rather than just a mailto: or hyperlink to the list itself.
The Type header specifies the type of PEP: Standards Track,
Informational, or Process.

The optional Topic header specifies which topic, if any, the PEP belongs in.
See https://peps.python.org/topic/ for the existing topics.
The optional Topic header lists which special topics, if any,
Comment thread
hugovk marked this conversation as resolved.
Outdated
the PEP belongs under.
See the :ref:`topic-index` for the existing topics.

The format of a PEP is specified with a Content-Type header.
All PEPs must use reStructuredText (see :pep:`12`),
Expand Down
2 changes: 2 additions & 0 deletions pep_sphinx_extensions/pep_zero_generator/subindices.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ def generate_subindices(

def generate_topic_contents(docnames: list[str], env: BuildEnvironment):
update_sphinx("topic/index", """\
.. _topic-index:

Topic Index
***********

Expand Down