File tree Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Expand file tree Collapse file tree 3 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -147,7 +147,7 @@ commands:
147
147
export RELEASE_TAG='-t release'
148
148
fi
149
149
mkdir -p logs
150
- make html O="-T $RELEASE_TAG -j1 -w /tmp/sphinxerrorswarnings.log"
150
+ make html O="-T $RELEASE_TAG -j4 -w /tmp/sphinxerrorswarnings.log"
151
151
rm -r build/html/_sources
152
152
working_directory : doc
153
153
- save_cache :
Original file line number Diff line number Diff line change @@ -286,6 +286,11 @@ def tutorials_download_error(record):
286
286
'copyfile_regex' : r'.*\.rst' ,
287
287
}
288
288
289
+ if parse_version (sphinx_gallery .__version__ ) >= parse_version ('0.17.0' ):
290
+ sphinx_gallery_conf ['parallel' ] = True
291
+ # Any warnings from joblib turned into errors may cause a deadlock.
292
+ warnings .filterwarnings ('default' , category = UserWarning , module = 'joblib' )
293
+
289
294
if 'plot_gallery=0' in sys .argv :
290
295
# Gallery images are not created. Suppress warnings triggered where other
291
296
# parts of the documentation link to these images.
Original file line number Diff line number Diff line change 20
20
sphinxcontrib-svg2pdfconverter>=1.1.0
21
21
sphinx-copybutton
22
22
sphinx-design
23
- sphinx-gallery>=0.12.0
23
+ sphinx-gallery[parallel] >=0.12.0
24
24
sphinx-tags>=0.4.0
You can’t perform that action at this time.
0 commit comments