Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MAINT: Replace build_sphinx with sphinx-build #1139

Merged
merged 1 commit into from
May 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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/html -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
2 changes: 1 addition & 1 deletion sphinx_gallery/tests/test_load_style.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ def test_load_style(sphinx_app_wrapper):
assert os.path.isfile(index_html)
with open(index_html) as fid:
content = fid.read()
assert 'link rel="stylesheet" type="text/css" href="_static/sg_gallery.css"' in content # noqa: E501
assert 'link rel="stylesheet" type="text/css" href="_static/sg_gallery.css' in content # noqa: E501