Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add sphinx support - docutils (ref #1385) #1566

Open
wants to merge 108 commits into
base: master
from

Conversation

@AA-Turner
Copy link

@AA-Turner AA-Turner commented Aug 15, 2020

See #2, #1385 for context.

This is the docutils parsing, transforms and writing part, comprising

  • core,
  • PEP HTML Translator (Docutils doctree to HTML)
  • PEP Parser (class to provide transforms to Sphinx)
  • PEP Role (deals with :PEP:`XX` in RST source)
  • PEP Contents (Creates table of contents without page title)
  • PEP Footer (Dels with footnotes, link to source, last modified commit)
  • PEP Headers (Parses RFC2822 headers)
  • PEP Title (Creates PEP Title from headers)
  • PEP Zero (Masks email addresses and linkifys PEP numbers)

Note: this is unlikely to successfully build, I am splitting into logical chunks as per Victor's comment.

conf.py Outdated Show resolved Hide resolved
Co-authored-by: Pradyun Gedam <3275593+pradyunsg@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

3 participants