Giter Site home page Giter Site logo

pypa-docs-theme's People

Contributors

l1storez avatar ncoghlan avatar pradyunsg avatar webknjaz avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pypa-docs-theme's Issues

Update footer text

The PSF staff has requested we update:

The Python Software Foundation is a non-profit corporation. Please donate.

to:

The PyPA is a fiscal sponsoree of the Python Software Foundation, a US 501(c)(3) public charity (Federal Tax ID number is 04-3594598). Please donate.

Improving the Sidebar TOC

As it stands, the Table of Contents in the sidebar looks a little weird. While it does provide everything that it should, the way it is currently styled does not really feel polished.

I feel that there's inconsistent spacing, colours are used in a slightly confusing manner and text styling could be used for adding emphasis.

screen shot 2017-06-15 at 11 00 44 am

Limit body / site width?

Text taking up the whole screen makes it so much harder to read and process. Honestly even though I can see why you want to integrate the branding with python.org, it kinda sucks that all the UX advantages carefully designed into RTD has to go with it.

This is one of the no-brainer things that the RTD theme gets right. (And, I guess, that python.org still gets horribly wrong)

I'd advocate something like

div.body {
    max-width: 60em;
}

body {
    max-width: 80em;
}

Which looks like this

Change base theme to Furo?

I've been spending a lot of time around Sphinx documentation stuff lately, and have a suggestion to make regarding our documentation theme (partly from my recent experience revamping pypa/packaging.python.org#627).

Suggestion: Let's switch to Furo for our base theme here. I think it'll help our documentation overall (especially pip and packaging.python.org), since it's better at surfacing the documentation structure and has better navigational capabilities throughout.

Pros:

  • Provides structured, clear sidebar navigation.
  • Responsive!
  • Has a fairly more "modern" design.
  • Has a right sidebar that provides in-page navigation.
  • Dark mode. :)

Cons:

  • Not python-docs-theme, which distances us from CPython documentation.

/cc @ncoghlan @dstufft @theacodes since they were fairly active in the original discussion for the creation of this theme.

Publish to PyPI

Any reason this hasn't been done already? Just a lack of resources?

Declare the parallelism support via sphinx extension metadata

Basically, the setup() function here should return a dict with a few keys.

Example: https://github.com/sphinx-contrib/sphinxcontrib-towncrier/blob/ff31e93/src/sphinxcontrib/towncrier/__init__.py#L183-L187.

Motivation: if you run Sphinx in a parallel mode (using -j auto CLI option), it explodes with:

Warning, treated as error:
the pypa_theme extension does not declare if it is safe for parallel reading, assuming it isn't - please ask the extension author to check and make it explicit

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.