Skip to content

Commit

Permalink
Replace build_sphinx with sphinx-build
Browse files Browse the repository at this point in the history
  • Loading branch information
oscargus committed May 13, 2023
1 parent 7bd5101 commit e6d2049
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
command: |
pip install --progress-bar off --user --upgrade --only-binary ":all:" pip setuptools
pip install --progress-bar off --user --upgrade --only-binary ":all:" numpy matplotlib "pyqt5!=5.15.2,!=5.15.3,!=5.15.8" vtk
pip install --progress-bar off --user --upgrade seaborn statsmodels pillow joblib sphinx pytest traits pyvista memory_profiler "ipython!=8.7.0" plotly graphviz "docutils>=0.18"
pip install --progress-bar off --user --upgrade seaborn statsmodels pillow joblib sphinx pytest traits pyvista memory_profiler "ipython!=8.7.0" plotly graphviz "docutils>=0.18" imageio
pip install --progress-bar off "jupyterlite-sphinx>=0.8.0,<0.9.0" "jupyterlite-pyodide-kernel<0.1.0" libarchive-c
pip install --progress-bar off --user --upgrade --pre pydata-sphinx-theme
- save_cache:
Expand All @@ -59,7 +59,7 @@ jobs:
command: |
python setup.py develop --user
- run: python setup.py build_sphinx -nW --keep-going
- run: sphinx-build doc doc/_build -nW --keep-going -b html
- store_artifacts:
path: doc/_build/html/
destination: rtd_html
Expand Down
2 changes: 1 addition & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ stages:
set -eo pipefail
python --version
python -m pip install --user --upgrade pip setuptools wheel
pip install --user --upgrade --progress-bar off "ipython!=8.7.0" numpy seaborn statsmodels matplotlib sphinx pillow pytest pytest-cov joblib "plotly>=4.0"
pip install --user --upgrade --progress-bar off "ipython!=8.7.0" numpy seaborn statsmodels matplotlib sphinx pillow pytest pytest-cov joblib "plotly>=4.0" imageio
pip install --user --upgrade --progress-bar off --pre pydata-sphinx-theme
echo "Qt, plotly, VTK"
pip install --user --upgrade --progress-bar off pyvista "pyqt5!=5.15.8" plotly vtk
Expand Down
5 changes: 0 additions & 5 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,3 @@ filterwarnings =
markers =
conf_file:Configuration file.
junit_family = xunit2

[build_sphinx]
source-dir = doc/
build-dir = doc/_build
all_files = 1

0 comments on commit e6d2049

Please sign in to comment.