Skip to content

Commit

Permalink
Update sphinx version used to generate docs
Browse files Browse the repository at this point in the history
Signed-off-by: Keith Battocchi <[email protected]>
  • Loading branch information
kbattocchi committed Jan 14, 2025
1 parent eb5e1d3 commit 459a9ff
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish-documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)}


Expand Down

0 comments on commit 459a9ff

Please sign in to comment.