Skip to content
Projetos

mgaitan/sphinxcontrib-mermaid

Ver no GitHub

Sobre

Mermaid diagrams in yours sphinx powered docs

Design e mídia

Como estes números são medidos

Crescimento medido de estrelas

em 24 h
0
em 7 dias
0
em 15 dias
0
em 1 mês
Coletando histórico

Variações líquidas em períodos sobrepostos, não totais diários. Medições ausentes ficam em branco. Estrelas indicam interesse, não qualidade.

README.md

Original

sphinxcontrib-mermaid

build status version downloads

Embed Mermaid diagrams in Sphinx documents. HTML pages render diagrams in the browser with a bundled copy of Mermaid, sized to keep text readable, with pan, zoom, and a fullscreen view. LaTeX, texinfo, and static image output use mermaid-cli.

Install

pip install sphinxcontrib-mermaid
# conf.py
extensions = ["sphinxcontrib.mermaid"]

Use

.. mermaid::
   :caption: Publishing flow

   flowchart LR
       Draft --> Review --> Published

In Markdown with MyST, use a ```{mermaid} fence, or set myst_fence_as_directive = ["mermaid"] to render plain ```mermaid fences. Diagrams can also come from .mmd files: .. mermaid:: diagrams/release.mmd.

Size and interaction options work as directive options or in the diagram's frontmatter:

---
title: Release
height: 400px
config:
  layout: elk
---
flowchart TD
    Tag --> Build --> Publish

Documentation

Explore projetos relacionados

Carregando…