Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Add sphinx support - theming (ref #1385)#1568

Closed
AA-Turner wants to merge 108 commits into
python:masterpython/peps:masterfrom
AA-Turner:add-sphinx-support-themingAA-Turner/peps:add-sphinx-support-themingCopy head branch name to clipboard
Closed

Add sphinx support - theming (ref #1385)#1568
AA-Turner wants to merge 108 commits into
python:masterpython/peps:masterfrom
AA-Turner:add-sphinx-support-themingAA-Turner/peps:add-sphinx-support-themingCopy head branch name to clipboard

Conversation

@AA-Turner

Copy link
Copy Markdown
Member

See #2, #1385 for context.

This is the core Sphinx support part, comprising

  • core,
  • pythondotorg base CSS (style.css and mq.css)
  • pep.css - style overrides
  • fonts
  • minimal JS - Sphinx has been patched to remove unneeded javascript
  • breadcrumbs.html
  • customsidebar.html
  • layout.html
  • search.html
  • PEP Jinja2 - allows custom pep_id command in jinja templates
  • theme config

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

Note - Ideally the style.css//mq.css from pythondotorg would have all the uneeded styles removed to reduce page bloat

Co-authored-by: Pradyun Gedam <3275593+pradyunsg@users.noreply.github.com>
@AA-Turner AA-Turner mentioned this pull request Apr 20, 2021
@AA-Turner AA-Turner closed this Apr 20, 2021
pablogsal pushed a commit that referenced this pull request Jun 30, 2021
See #2, #1385 for context. Superseeds #1568.

This is the Sphinx-theming part, building on PR #1930.

### Stylesheets:
- `style.css` - styles
- `mq.css` - media queries

### Jinja2 Templates:
- `page.html` - overarching template

### Javascript:
- `doctools.js` - fixes footnote brackets

### Theme miscellany
- `theme.conf` - sets pygments styles, theme internals
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.