/pydata-sphinx-theme

A clean, three-column Sphinx theme with Bootstrap for the PyData community

Primary LanguagePythonBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

The PyData Sphinx Theme

License badge PyPI version badge conda-forge version badge GitHub Workflow test status badge Read the Docs build status badge

A clean, three-column, Bootstrap-based Sphinx theme by and for the PyData community.

PyData theme - Configure the search position demo image showcasing both the light and dark theme in a single image.

Installation and usage

The theme is available on PyPI and conda-forge. You can install and use as follows:

  • Install the pydata-sphinx-theme in your doc build environment:

    pip install pydata-sphinx-theme
    # or
    conda install pydata-sphinx-theme --channel conda-forge
  • Then, in the conf.py of your sphinx docs, you update the html_theme configuration option:

    html_theme = "pydata_sphinx_theme"

And that's it!

Note

This theme may not work with the latest major versions of Sphinx, especially if they have only recently been released. Please give us a few months of time to work out any bugs and changes when new releases are made. See our contributing documentation for more information.

Contribute to and develop the theme

Contributions are very welcome! Installing the development version, building the example docs and developing the CSS/JS of the theme, etc., is explained in more detail in the contributing section of the documentation: