Skip to content

Infra: Make Discussion-To optional in source, display from latest Post-History during build #5158

Description

@hugovk

PEPs process streamlining thought:

  • Discussion-To is a URL
  • Post-History is a list of URLs and dates

Currently both are required, but authors often forget to add one.

Do we need really them both in the PEP source?

We could make Discussion-To optional, and if it's missing, take the last Post-History link and set that as Discussion-To in the rendered HTML.

No changes needed for the existing PEPs that already have Discussion-To.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    infraCore infrastructure for building and rendering PEPs

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions