diff --git a/.github/workflows/publish-documentation.yml b/.github/workflows/publish-documentation.yml index 264675d6d..a173cb89e 100644 --- a/.github/workflows/publish-documentation.yml +++ b/.github/workflows/publish-documentation.yml @@ -79,14 +79,14 @@ jobs: - name: Install graphviz run: sudo apt-get -yq install graphviz - name: Build documentation - run: pip install "sphinx~=4.4.0" "sphinx_rtd_theme~=1.0.0" && python setup.py build_sphinx -W + run: pip install "sphinx~=7.0" "sphinx_rtd_theme~=2.0.0" && sphinx-build ./doc/ ./build/sphinx/html/ -W - name: Upload docs as artifact uses: actions/upload-artifact@v4 with: name: docs path: build/sphinx/html/ - name: Run doctests - run: python setup.py build_sphinx -b doctest + run: sphinx-build ./doc/ ./build/sphinx/doctest/ -b doctest if : ${{ inputs.run_doctests }} publish-docs: diff --git a/doc/conf.py b/doc/conf.py index 24fef5ec5..700bcab86 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -231,7 +231,7 @@ 'sklearn': ('https://scikit-learn.org/1.5/', None), 'matplotlib': ('https://matplotlib.org/stable/', None), 'shap': ('https://shap.readthedocs.io/en/stable/', None), - 'dowhy': ('https://www.pywhy.org/dowhy/v0.8/', None), + 'dowhy': ('https://www.pywhy.org/dowhy/main/', None), 'statsmodels': ('https://www.statsmodels.org/stable/', None)}