We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0917b18 commit 18f3d8cCopy full SHA for 18f3d8c
doc/conf.py
@@ -88,8 +88,8 @@ def setup(app):
88
if is_cms_build:
89
html_theme = "sphinx_rtd_theme"
90
mermaid_output_format = "png"
91
- mermaid_cmd = str(Path.cwd() / "_build-cms/node_modules/.bin/mmdc")
92
- mermaid_params = ["-p", str(Path.cwd() / "_build-cms/puppeteer-config.json")]
+ mermaid_cmd = str(Path(__file__).parent / "_build-cms/node_modules/.bin/mmdc")
+ mermaid_params = ["-p", str(Path(__file__).parent / "_build-cms/puppeteer-config.json")]
93
94
# Set the root document to index
95
root_doc = "index"
0 commit comments