Skip to main content

Mermaid graph support for sphinx generated documentations

Project description

Mermaid support for Sphinx documentation

Mermaid graphs support for sphinx generated documentations.

Install

pip install sphinx-mermaid

Setup in conf.py

In the conf.py file of your documentation, add the extension:

extensions = [
    ...,
    'sphinxmermaid'
]

Usage

In your rst (or md) files, use the directive just like:

.. mermaid ::

    graph TD
    A --> B
    B -- Label --> C

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

sphinx_mermaid-0.0.5a0-py2.py3-none-any.whl (2.9 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file sphinx_mermaid-0.0.5a0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for sphinx_mermaid-0.0.5a0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 7887277d7cbcc33c20d55ff4e37196811da1e33d5449c34b28be2674b8e0f8db
MD5 ecf6f5e0db81f427a211dc3504ad8830
BLAKE2b-256 6e9aef82de80b6147efc064d6529e233e9217f2604e26b90f74f463b2062c41b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page