Skip to content

Commit 459a9ff

Browse files
committed
Update sphinx version used to generate docs
Signed-off-by: Keith Battocchi <[email protected]>
1 parent eb5e1d3 commit 459a9ff

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/publish-documentation.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,14 +79,14 @@ jobs:
7979
- name: Install graphviz
8080
run: sudo apt-get -yq install graphviz
8181
- name: Build documentation
82-
run: pip install "sphinx~=4.4.0" "sphinx_rtd_theme~=1.0.0" && python setup.py build_sphinx -W
82+
run: pip install "sphinx~=7.0" "sphinx_rtd_theme~=2.0.0" && sphinx-build ./doc/ ./build/sphinx/html/ -W
8383
- name: Upload docs as artifact
8484
uses: actions/upload-artifact@v4
8585
with:
8686
name: docs
8787
path: build/sphinx/html/
8888
- name: Run doctests
89-
run: python setup.py build_sphinx -b doctest
89+
run: sphinx-build ./doc/ ./build/sphinx/doctest/ -b doctest
9090
if : ${{ inputs.run_doctests }}
9191

9292
publish-docs:

doc/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@
231231
'sklearn': ('https://scikit-learn.org/1.5/', None),
232232
'matplotlib': ('https://matplotlib.org/stable/', None),
233233
'shap': ('https://shap.readthedocs.io/en/stable/', None),
234-
'dowhy': ('https://www.pywhy.org/dowhy/v0.8/', None),
234+
'dowhy': ('https://www.pywhy.org/dowhy/main/', None),
235235
'statsmodels': ('https://www.statsmodels.org/stable/', None)}
236236

237237

0 commit comments

Comments
 (0)