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:
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 -j4 -w /tmp/sphinxerrorswarnings.log"
151151 rm -r build/html/_sources
152152 working_directory : doc
153153 - save_cache :
Original file line number Diff line number Diff line change @@ -286,6 +286,11 @@ 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+ # Any warnings from joblib turned into errors may cause a deadlock.
292+ warnings .filterwarnings ('default' , category = UserWarning , module = 'joblib' )
293+
289294if 'plot_gallery=0' in sys .argv :
290295 # Gallery images are not created. Suppress warnings triggered where other
291296 # parts of the documentation link to these images.
Original file line number Diff line number Diff line change 2020sphinxcontrib-svg2pdfconverter>=1.1.0
2121sphinx-copybutton
2222sphinx-design
23- sphinx-gallery>=0.12.0
23+ sphinx-gallery[parallel] >=0.12.0
2424sphinx-tags>=0.4.0
You can’t perform that action at this time.
0 commit comments