Merge "Make docs build parallel"
This commit is contained in:
commit
2fa889e2f1
@ -22,4 +22,8 @@ def setup(app):
|
||||
print('** Generating driver list...')
|
||||
rv = utils.execute(sys.executable, './tools/generate_driver_list.py', ['docs'])
|
||||
print(rv[0])
|
||||
return {
|
||||
'parallel_read_safe': True,
|
||||
'parallel_write_safe': True,
|
||||
}
|
||||
|
||||
|
@ -142,3 +142,7 @@ class ConfigTableDirective(rst.Directive):
|
||||
|
||||
def setup(app):
|
||||
app.add_directive('config-table', ConfigTableDirective)
|
||||
return {
|
||||
'parallel_read_safe': True,
|
||||
'parallel_write_safe': True,
|
||||
}
|
||||
|
@ -6,4 +6,4 @@ reno>=3.1.0 # Apache-2.0
|
||||
sphinx>=2.0.0,!=2.1.0 # BSD
|
||||
os-api-ref>=1.5.0 # Apache-2.0
|
||||
sphinxcontrib-apidoc>=0.2.0 # BSD
|
||||
sphinx-feature-classification>=0.1.0 # Apache 2.0
|
||||
sphinx-feature-classification>=1.1.0 # Apache 2.0
|
||||
|
2
tox.ini
2
tox.ini
@ -131,7 +131,7 @@ deps =
|
||||
commands =
|
||||
rm -fr doc/source/contributor/api/
|
||||
rm -fr doc/build/html doc/build/doctrees
|
||||
sphinx-build -W -b html -d doc/build/doctrees doc/source doc/build/html
|
||||
sphinx-build -W -j auto -b html -d doc/build/doctrees doc/source doc/build/html
|
||||
whitelist_externals = rm
|
||||
|
||||
[testenv:pdf-docs]
|
||||
|
Loading…
x
Reference in New Issue
Block a user