Skip to content

Commit ce46589

Browse files
committed
DOC: Enable parallel builds
The latest sphinx-gallery 0.17.0 adds support for parallel building of examples, and the issue in pydata-sphinx-theme was fixed in 0.15.4, so we can try enabling it again.
1 parent cb487f3 commit ce46589

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ commands:
147147
export RELEASE_TAG='-t release'
148148
fi
149149
mkdir -p logs
150-
make html O="-T $RELEASE_TAG -j1 -w /tmp/sphinxerrorswarnings.log"
150+
make html O="-T $RELEASE_TAG -j2 -w /tmp/sphinxerrorswarnings.log"
151151
rm -r build/html/_sources
152152
working_directory: doc
153153
- save_cache:

doc/conf.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -286,6 +286,9 @@ def tutorials_download_error(record):
286286
'copyfile_regex': r'.*\.rst',
287287
}
288288

289+
if parse_version(sphinx_gallery.__version__) >= parse_version('0.17.0'):
290+
sphinx_gallery_conf['parallel'] = True
291+
289292
if 'plot_gallery=0' in sys.argv:
290293
# Gallery images are not created. Suppress warnings triggered where other
291294
# parts of the documentation link to these images.

requirements/doc/doc-requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,5 @@ pyyaml
2020
sphinxcontrib-svg2pdfconverter>=1.1.0
2121
sphinx-copybutton
2222
sphinx-design
23-
sphinx-gallery>=0.12.0
23+
sphinx-gallery[parallel]>=0.12.0
2424
sphinx-tags>=0.4.0

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy