diff --git a/.github/workflows/sphinx.yml b/.github/workflows/sphinx.yml index c0beb95a..2c04a57f 100644 --- a/.github/workflows/sphinx.yml +++ b/.github/workflows/sphinx.yml @@ -17,7 +17,6 @@ jobs: run: | python -m pip install --upgrade pip pip install .[dev,docs] - pip install git+https://github.com/petercorke/sphinx-autorun.git pip install sympy sudo apt-get install graphviz - name: Build docs diff --git a/docs/source/conf.py b/docs/source/conf.py index b5fcf84a..66262759 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -47,7 +47,7 @@ "sphinx.ext.inheritance_diagram", "matplotlib.sphinxext.plot_directive", "sphinx_autodoc_typehints", - "sphinx_autorun", + "sphinx_pyrunblock", "sphinx.ext.intersphinx", "sphinx_favicon", ] diff --git a/pyproject.toml b/pyproject.toml index 95919eb3..e519f963 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -61,7 +61,7 @@ dev = [ docs = [ "sphinx", "sphinx-rtd-theme", - "sphinx-autorun", + "sphinx-pyrunblock", "sphinxcontrib-jsmath", "sphinx-favicon", "sphinx-autodoc-typehints",