mirror of
https://github.com/fhswf/aki_prj23_transparenzregister.git
synced 2025-06-21 21:23:54 +02:00
fix/mermaid in sphinx (#505)
Solution retrieved from https://github.com/mgaitan/sphinxcontrib-mermaid/issues/113#issuecomment-1549876281
This commit is contained in:
@ -32,20 +32,20 @@ sys.path.insert(0, os.path.abspath("../src/aki_prj23_transparenzregister"))
|
|||||||
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
|
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
|
||||||
|
|
||||||
extensions: Final[list[str]] = [
|
extensions: Final[list[str]] = [
|
||||||
"sphinx.ext.autodoc",
|
"IPython.sphinxext.ipython_console_highlighting",
|
||||||
"nbsphinx",
|
|
||||||
"myst_parser",
|
"myst_parser",
|
||||||
|
"nbsphinx",
|
||||||
|
"notfound.extension",
|
||||||
|
"sphinx.ext.autodoc",
|
||||||
|
"sphinx.ext.autosectionlabel",
|
||||||
|
"sphinx.ext.intersphinx",
|
||||||
"sphinx.ext.napoleon",
|
"sphinx.ext.napoleon",
|
||||||
|
"sphinx.ext.viewcode",
|
||||||
"sphinx_copybutton",
|
"sphinx_copybutton",
|
||||||
"sphinx_autodoc_typehints",
|
"sphinx_autodoc_typehints",
|
||||||
"sphinx.ext.intersphinx",
|
|
||||||
"sphinx.ext.autosectionlabel",
|
|
||||||
"sphinx.ext.viewcode",
|
|
||||||
"IPython.sphinxext.ipython_console_highlighting",
|
|
||||||
"sphinxcontrib.mermaid",
|
|
||||||
"notfound.extension",
|
|
||||||
"sphinxcontrib.drawio",
|
|
||||||
"sphinx_git",
|
"sphinx_git",
|
||||||
|
"sphinxcontrib.drawio",
|
||||||
|
"sphinxcontrib.mermaid",
|
||||||
]
|
]
|
||||||
|
|
||||||
# templates_path : Final[list[str]] = ["_templates"]
|
# templates_path : Final[list[str]] = ["_templates"]
|
||||||
@ -81,6 +81,7 @@ napoleon_google_docstring: Final[bool] = True
|
|||||||
napoleon_numpy_docstring: Final[bool] = False
|
napoleon_numpy_docstring: Final[bool] = False
|
||||||
|
|
||||||
nbsphinx_execute = "never"
|
nbsphinx_execute = "never"
|
||||||
|
nbsphinx_requirejs_path = ""
|
||||||
|
|
||||||
intersphinx_mapping: Final[dict[str, tuple[str, None]]] = {
|
intersphinx_mapping: Final[dict[str, tuple[str, None]]] = {
|
||||||
"python": ("https://docs.python.org/3", None),
|
"python": ("https://docs.python.org/3", None),
|
||||||
@ -95,9 +96,7 @@ intersphinx_mapping: Final[dict[str, tuple[str, None]]] = {
|
|||||||
"sqlalchemy": ("https://docs.sqlalchemy.org/en/14", None),
|
"sqlalchemy": ("https://docs.sqlalchemy.org/en/14", None),
|
||||||
}
|
}
|
||||||
|
|
||||||
myst_enable_extensions: Final[list[str]] = ["html_image"]
|
|
||||||
|
|
||||||
notfound_urls_prefix = "/"
|
notfound_urls_prefix = "/"
|
||||||
|
|
||||||
myst_enable_extensions = ["dollarmath", "amsmath"]
|
myst_enable_extensions = ["dollarmath", "amsmath", "html_image"]
|
||||||
drawio_default_transparency = True
|
drawio_default_transparency = True
|
||||||
|
14910
poetry.lock
generated
14910
poetry.lock
generated
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user