From 68c9e5c4599272ef84ca8fcc5172847a414e6f2a Mon Sep 17 00:00:00 2001 From: liamhuber Date: Fri, 12 Jan 2024 13:02:14 -0800 Subject: [PATCH] Follow the sphinxcontrib-mermaid docs Because I was too dumb to just [read the docs](https://sphinxcontrib-mermaid-demo.readthedocs.io/en/latest/) to begin with --- docs/conf.py | 1 + docs/puppeteer-config.json | 3 +++ 2 files changed, 4 insertions(+) create mode 100644 docs/puppeteer-config.json diff --git a/docs/conf.py b/docs/conf.py index fae8155..828a322 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -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'] diff --git a/docs/puppeteer-config.json b/docs/puppeteer-config.json new file mode 100644 index 0000000..dce67b8 --- /dev/null +++ b/docs/puppeteer-config.json @@ -0,0 +1,3 @@ +{ + "args": ["--no-sandbox"] +} \ No newline at end of file