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 - theming (ref #1385) #1568

Closed
wants to merge 108 commits into from

Conversation

AA-Turner
Copy link
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