Debian Codegraph @

README.md

raw
1 # The PyData Sphinx Theme
2
3 [![License badge](https://img.shields.io/badge/License-BSD_3--Clause-yellow?logo=opensourceinitiative&logoColor=white)](https://github.com/pydata/pydata-sphinx-theme/blob/main/LICENSE)
4 [![PyPI version badge](https://img.shields.io/pypi/v/pydata-sphinx-theme?logo=python&logoColor=white&color=orange)](https://pypi.org/project/pydata-sphinx-theme/)
5 [![conda-forge version badge](https://img.shields.io/conda/vn/conda-forge/pydata-sphinx-theme.svg?logo=anaconda&logoColor=white&color=orange)](https://anaconda.org/conda-forge/pydata-sphinx-theme)
6 [![GitHub Workflow test status badge](https://img.shields.io/github/actions/workflow/status/pydata/pydata-sphinx-theme/CI.yml?logo=github&logoColor=white)](https://github.com/pydata/pydata-sphinx-theme/actions/workflows/CI.yml)
7 [![Read the Docs build status badge](https://img.shields.io/readthedocs/pydata-sphinx-theme/latest?logo=readthedocs&logoColor=white)](https://readthedocs.org/projects/pydata-sphinx-theme/builds/)
8
9 A clean, three-column, Bootstrap-based Sphinx theme by and for the [PyData community](https://pydata.org).
10
11 - :books: Documentation: https://pydata-sphinx-theme.readthedocs.io/en/stable
12 - :bulb: Examples: https://pydata-sphinx-theme.readthedocs.io/en/stable/examples
13 - :raised_hands: Contribute: https://pydata-sphinx-theme.readthedocs.io/en/stable/community
14 - :globe_with_meridians: Translate: https://explore.transifex.com/12rambau/pydata-sphinx-theme/
15
16 [![PyData theme - Configure the search position demo image showcasing both the light and dark theme in a single image.](./docs/_static/theme-demo-screenshot.png)](https://pydata-sphinx-theme.readthedocs.io/en/stable)
17
18 ## Installation and usage
19
20 The theme is available on PyPI and conda-forge. You can install
21 and use as follows:
22
23 - Install the `pydata-sphinx-theme` in your doc build environment:
24
25 ```bash
26 pip install pydata-sphinx-theme
27 # or
28 conda install pydata-sphinx-theme --channel conda-forge
29 ```
30
31 - Then, in the `conf.py` of your sphinx docs, you update the `html_theme`
32 configuration option:
33
34 ```python
35 html_theme = "pydata_sphinx_theme"
36 ```
37
38 And that's it!
39
40 > [!NOTE]
41 > This theme may not work with the latest major versions of Sphinx, especially
42 > if they have only recently been released. Please give us a few months of
43 > time to work out any bugs and changes when new releases are made.
44 > See [our contributing documentation](https://pydata-sphinx-theme.readthedocs.io/en/stable/community/practices/versions.html#supported-sphinx-versions) for more information.
45
46 ## Contribute to and develop the theme
47
48 Contributions are very welcome! Installing the development version, building
49 the example docs and developing the `CSS/JS` of the theme, etc., is explained in
50 more detail in the contributing section of the documentation:
51
52 - [Community and contributing documentation](https://pydata-sphinx-theme.readthedocs.io/en/latest/community/index.html)