pydata-sphinx-theme0.16.0
Published
Bootstrap-based Sphinx theme from the PyData community
pip install pydata-sphinx-theme
Package Downloads
Authors
Project URLs
Requires Python
>=3.9
Dependencies
- sphinx
>=6.1
- beautifulsoup4
- docutils
!=0.17.0
- Babel
- pygments
>=2.7
- accessible-pygments
- typing-extensions
- numpydoc
; extra == "doc"
- linkify-it-py
; extra == "doc"
- rich
; extra == "doc"
- sphinxext-rediraffe
; extra == "doc"
- sphinx-sitemap
; extra == "doc"
- sphinx-autoapi
>=3.0.0; extra == "doc"
- myst-parser
; extra == "doc"
- ablog
>=0.11.8; extra == "doc"
- jupyter_sphinx
; extra == "doc"
- pandas
; extra == "doc"
- plotly
; extra == "doc"
- matplotlib
; extra == "doc"
- numpy
; extra == "doc"
- xarray
; extra == "doc"
- sphinx-copybutton
; extra == "doc"
- sphinx-design
; extra == "doc"
- sphinx-togglebutton
; extra == "doc"
- jupyterlite-sphinx
; extra == "doc"
- sphinxcontrib-youtube
>=1.4.1; extra == "doc"
- sphinx-favicon
>=1.0.1; extra == "doc"
- ipykernel
; extra == "doc"
- nbsphinx
; extra == "doc"
- ipyleaflet
; extra == "doc"
- colorama
; extra == "doc"
- ipywidgets
; extra == "doc"
- graphviz
; extra == "doc"
- pytest
; extra == "test"
- pytest-cov
; extra == "test"
- pytest-regressions
; extra == "test"
- sphinx
[test]; extra == "test"
- pyyaml
; extra == "dev"
- pre-commit
; extra == "dev"
- pydata-sphinx-theme
[doc,test]; extra == "dev"
- tox
; extra == "dev"
- pandoc
; extra == "dev"
- sphinx-theme-builder
[cli]; extra == "dev"
- pytest-playwright
; extra == "a11y"
- Babel
; extra == "i18n"
- jinja2
; extra == "i18n"
The PyData Sphinx Theme
A clean, three-column, Bootstrap-based Sphinx theme by and for the PyData community.
- :books: Documentation: https://pydata-sphinx-theme.readthedocs.io/en/stable
- :bulb: Examples: https://pydata-sphinx-theme.readthedocs.io/en/stable/examples
- :raised_hands: Contribute: https://pydata-sphinx-theme.readthedocs.io/en/stable/community
- :globe_with_meridians: Translate: https://explore.transifex.com/12rambau/pydata-sphinx-theme/
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 thehtml_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: