Skip to content
Permalink
master

Commits on Jun 15, 2021

  1. Sphinx support: Add support for RSS (#1934)

    See #2, #1385 for context.
    
    This is the RSS generation part, building on PR #1930. It contains the logic for generating RSS
    
    This was originally in #1385 and #1565, split out for ease of review
    AA-Turner committed Jun 15, 2021

Commits on Jun 13, 2021

Commits on Jun 12, 2021

  1. Sphinx support: add PEP 0 generation extension (1932)

    * Add PEP 0 parser
    
    * Add PEP 0 writer
    
    * Add PEP 0 generator and authors override
    
    * Add/update build and run
    
    * Simplify `create_index_file`
    
    * Special status handling
    
    * Add constants for PEP related magic strings
    
    * Prefer checking on class
    
    * Add PEP.hide_status, use constants
    
    * Remove comment from 2008 (current method works fine)
    
    * Clarify intent of for-else loop
    
    * Hook in to Sphinx (oops, missed when splitting out this PR)
    
    * Rename AUTHORS.csv for clarity
    
    * Sort and strip spaces
    
    * Prefer `authors_overrides` name
    
    * Add pep_0_errors.py
    
    * Move author_sort_by to writer
    
    * PEP init misc
    
    * Split out Author
    
    * Drop pep_0 prefix
    
    * Pass title length as an argument
    
    * Add constants.py to hold global type / status values
    
    * Capitalise constants
    
    * Capitalise constants
    
    * Update PEP classification algorithm
    
    * Extract static methods to module level
    
    * Add emit_text, emit_pep_row
    
    * Use constants in writer.py
    
    * Sort imports
    
    * Sort constants
    
    * Fix sorting in historical and dead PEPs
    
    * Extract static methods to module level
    
    * Extract static methods to module level (parser.py
    
    * Make Author a NamedTuple
    
    * Fix author duplication bug with NamedTuples
    
    * Revert to old PEP classification algorithm
    
    * Define PEP equality
    AA-Turner committed Jun 12, 2021

Commits on Jun 9, 2021

  1. Sphinx support: add docutils support files (#1931)

    See #2, #1385 for context. Superseeds #1566.
    
    This is the docutils parsing, transforms and writing part, building on PR #1930. It contains a pseudo-package, `sphinx_pep_extensions`, which itself contains:
    
    ### Docutils parsing:
    - `PEPParser` - collates transforms and interfaces with Sphinx core
    - `PEPRole` - deals with :PEP:`blah` in RST source
    
    ### Docutils transforms:
    - `PEPContents` (Creates table of contents without page title)
    - `PEPFooter` (Dels with footnotes, link to source, last modified commit)
    - `PEPHeaders` (Parses RFC2822 headers)
    - `PEPTitle` - Creates document title from PEP headers
    - `PEPZero` - Masks email addresses and creates links to PEP numbers from tables in `pep-0000.rst`
    
    ### Docutils HTML output:
    - `PEPTranslator` - Overrides to the default HTML translator to enable better matching of the current PEP styles
    AA-Turner committed Jun 9, 2021

Commits on Jun 8, 2021

  1. Sphinx support: add Sphinx core files (#1930)

    See #2, #1385 for context. Superseeds #1565.
    
    This is the minimal core Sphinx support part, adding a bare minimum of useful things to get Sphinx to build and deploy, whilst not affecting the current build system. There is no theming or custom parsing needed to properly deal with PEPs.
    
    - `build.py` - build script
    - `conf.py` - Sphinx configuration
    - `Makefile` - new targets for Sphinx
    - `.gitignore` - add ignores for `venv` and `package` directories
    - `contents.rst` - Sphinx page to discover all PEPs
    - `deploy-gh-pages.yaml` - builds and deploys to github pages
    - `requirements.txt`
    AA-Turner committed Jun 8, 2021

Commits on Jun 7, 2021

  1. Release: drop 'make suspicious' from release process. (#1982)

    As it's no longer mandatory to merge, some false positives can sneak in.
    
    It's a burden for RMs, and it's slowly been handled in:
    
    https://bugs.python.org/issue42238
    JulienPalard committed Jun 7, 2021

Commits on May 26, 2021

Commits on May 25, 2021

  1. Withdraw PEP 611. (#1970)

    markshannon committed May 25, 2021

Commits on May 13, 2021

  1. PEP 659: fix a typo (#1961)

    ankush committed May 13, 2021

Commits on May 9, 2021

  1. PEP 657: Add Discussions-To linking to discourse thread (#1954)

    * PEP 657: Add Discussions-To linking to discourse thread
    
    * Remove specific post
    ammaraskar committed May 9, 2021
Older