Merge "Parallelize docs build"
This commit is contained in:
commit
7814402b0d
@ -523,3 +523,7 @@ def setup(app):
|
|||||||
app.add_directive('serieshighlights', HighlightsDirective)
|
app.add_directive('serieshighlights', HighlightsDirective)
|
||||||
app.connect('build-finished', build_finished)
|
app.connect('build-finished', build_finished)
|
||||||
_generate_team_pages()
|
_generate_team_pages()
|
||||||
|
return {
|
||||||
|
'parallel_read_safe': True,
|
||||||
|
'parallel_write_safe': True,
|
||||||
|
}
|
||||||
|
@ -230,3 +230,7 @@ def setup(app):
|
|||||||
app.add_directive('ics', ICS)
|
app.add_directive('ics', ICS)
|
||||||
app.connect('doctree-resolved', doctree_resolved)
|
app.connect('doctree-resolved', doctree_resolved)
|
||||||
app.connect('build-finished', build_finished)
|
app.connect('build-finished', build_finished)
|
||||||
|
return {
|
||||||
|
'parallel_read_safe': True,
|
||||||
|
'parallel_write_safe': True,
|
||||||
|
}
|
||||||
|
2
tox.ini
2
tox.ini
@ -75,7 +75,7 @@ deps =
|
|||||||
-r{toxinidir}/requirements.txt
|
-r{toxinidir}/requirements.txt
|
||||||
-r{toxinidir}/doc/requirements.txt
|
-r{toxinidir}/doc/requirements.txt
|
||||||
commands =
|
commands =
|
||||||
sphinx-build -v -a -E -W -d doc/build/doctrees -b html doc/source doc/build/html
|
sphinx-build -v -a -E -W -j auto -d doc/build/doctrees -b html doc/source doc/build/html
|
||||||
whereto {toxinidir}/doc/build/html/.htaccess {toxinidir}/doc/build/redirect-tests.txt
|
whereto {toxinidir}/doc/build/html/.htaccess {toxinidir}/doc/build/redirect-tests.txt
|
||||||
|
|
||||||
[flake8]
|
[flake8]
|
||||||
|
Loading…
Reference in New Issue
Block a user