Skip to content

Commit

Permalink
Follow the sphinxcontrib-mermaid docs
Browse files Browse the repository at this point in the history
Because I was too dumb to just [read the docs](https://sphinxcontrib-mermaid-demo.readthedocs.io/en/latest/) to begin with
  • Loading branch information
liamhuber committed Jan 12, 2024
1 parent c629f43 commit 68c9e5c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@
myst_fence_as_directive = ["mermaid"]
# optional to use directive options
myst_enable_extensions = ["attrs_block"]
mermaid_params = ['-p' 'puppeteer-config.json']

# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']
Expand Down
3 changes: 3 additions & 0 deletions docs/puppeteer-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"args": ["--no-sandbox"]
}

0 comments on commit 68c9e5c

Please sign in to comment.