diff --git a/.github/workflows/docs-build.yml b/.github/workflows/docs-build.yml index d17ae79eef..f3ec8bbc59 100644 --- a/.github/workflows/docs-build.yml +++ b/.github/workflows/docs-build.yml @@ -14,7 +14,7 @@ defaults: shell: bash jobs: - build-docs: + docs-make: uses: Lightning-AI/utilities/.github/workflows/check-docs.yml@v0.11.0 with: python-version: "3.10" diff --git a/docs/source/conf.py b/docs/source/conf.py index 052fa2437c..598dc42053 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -92,7 +92,7 @@ def _transform_changelog(path_in: str, path_out: str) -> None: "sphinx.ext.linkcode", "sphinx.ext.autosummary", "sphinx.ext.napoleon", - "sphinx.ext.imgmath", + "sphinx.ext.mathjax", "myst_parser", "nbsphinx", "sphinx_autodoc_typehints", @@ -209,6 +209,11 @@ def _transform_changelog(path_in: str, path_out: str) -> None: (master_doc, project + ".tex", project + " Documentation", author, "manual"), ] +# MathJax configuration +mathjax3_config = { + "tex": {"packages": {"[+]": ["ams", "newcommand", "configMacros"]}}, +} + # -- Options for manual page output ------------------------------------------ # One entry per manual page. List of tuples