Skip to content

Latest commit

 

History

History
55 lines (42 loc) · 1.86 KB

README.md

File metadata and controls

55 lines (42 loc) · 1.86 KB

PlasmaPy Documentation

Tip

To learn more about PlasmaPy's documentation, please check out the documentation guide.

PlasmaPy's documentation is written in reStructuredText, built using Sphinx via a Nox session, and hosted by Read the Docs.

The "stable" documentation corresponds to PlasmaPy's most recent release, and can be found at https://docs.plasmapy.org/en/stable. The "latest" documentation corresponds to the current state of the main branch on PlasmaPy's GitHub repository, and is available at https://docs.plasmapy.org/en/latest.

The docs/ directory contains the source files for PlasmaPy's narrative documentation. The configuration file is docs/conf.py.

Building documentation

Tip

When making a pull request, the documentation can be previewed by clicking on Details next to docs/readthedocs.org:plasmapy in the list of checks.

Building PlasmaPy's documentation requires using the most recent version of Python supported by PlasmaPy. Prior to building documentation locally, please install Nox and its dependencies with:

python -m pip install nox uv

Note

It may also be necessary to install graphviz and install pandoc.

The documentation can be built by going to the top-level directory of your clone of PlasmaPy and running:

nox -s docs

The documentation preview will be built in docs/build/html/ in your local clone of PlasmaPy.