sphinx-pele
Pele mermaid diagrams for Sphinx
Usage
Install the development version from the repository, then enable the extension. Building from source requires Git, Node.js 22+, and pnpm 11.11.0 in addition to Python 3.11+:
python -m pip install "sphinx-pele @ git+https://github.com/python-project-templates/sphinx-pele.git@main"
# conf.py
extensions = ["sphinx_pele"]
pele_options = {"zoom": "auto"}
.. mermaid::
flowchart LR
Mermaid --> Pele --> SVG
MyST Markdown mermaid fences and external .mmd files also work. Replace
sphinxcontrib.mermaid in extensions when migrating.
Documentation
Start with the first-diagram tutorial, or follow how to add diagrams in an existing Sphinx project.
- Styling and themes
- Migration from sphinxcontrib-mermaid
- Configuration reference
- Diagram gallery and reStructuredText examples
- Troubleshooting
- Rendering and non-HTML output
- Local development
Build the documentation with python -m sphinx -W -b html docs docs/_build/html.
See the documentation homepage for the full navigation.
Metadata
Release files for sphinx-pele 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| sphinx_pele-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Release files / sphinx_pele-0.1.0-py3-none-any.whl
| Download URL | sphinx_pele-0.1.0-py3-none-any.whl |
|---|---|
| Size | 265.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
efd0755aaf5bb1fadd836e6ff80cdedfae801918e521e44e42a5d04e6616997a
|
|
BLAKE2b-256 checksum How to use checksums |
a6974737a728875a32c41fe7ab31913b6139de8b52d16dbaf05ed09c4e09fb1d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.15
|