Skip to content

Commit 14c5ec7

Browse files
committed
extensions: Add sphinxcontrib-mermaid
To write mermaid diagrams, see: https://github.com/mgaitan/sphinxcontrib-mermaid. For example: ```{mermaid} sequenceDiagram participant Alice participant Bob Alice->John: Hello John, how are you? loop Healthcheck John->John: Fight against hypochondria end Note right of John: Rational thoughts <br/>prevail... John-->Alice: Great! John->Bob: How about you? Bob-->John: Jolly good! ```
1 parent f771497 commit 14c5ec7

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

docs/conf.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@
4444
"sphinx_copybutton",
4545
"notfound.extension",
4646
"hypernode.sphinx.extensions.updated_at",
47+
"sphinxcontrib.mermaid",
4748
]
4849

4950
# Add any paths that contain templates here, relative to this directory.

requirements/base.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ mdformat-frontmatter==0.4.1
1010
sphinx-notfound-page==0.8.3
1111
sphinx-sitemap==2.4.0
1212
GitPython==3.1.30
13+
sphinxcontrib-mermaid==0.7.1
1314

1415
# hypernode/ requirements
1516
beautifulsoup4==4.11.1

0 commit comments

Comments
 (0)