We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e9e84ea commit 614e718Copy full SHA for 614e718
docs/conf.py
@@ -23,3 +23,10 @@
23
# the docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32
24
# pixels large.
25
html_favicon = "_static/favicon.ico"
26
+
27
+# -- Logic to disable mermaid for LaTeX output -----------------------------
28
+# The 'tags' object is automatically provided by Sphinx.
29
+tags = globals().get("tags")
30
+if tags and tags.has("latex"):
31
+ # The sphinx-mermaid extension is not compatible with the LaTeX builder
32
+ extensions.remove("sphinx_mermaid")
0 commit comments