mirror of
https://github.com/RYDE-WORK/ballistica.git
synced 2026-01-22 06:43:21 +08:00
Added doctree dirw
This commit is contained in:
parent
0abbee43f6
commit
ef2bb8574a
@ -320,16 +320,12 @@ def _run_sphinx(
|
||||
paths['static_dir'],
|
||||
paths['sphinx_cache_dir'], # input dir
|
||||
paths['build_dir'], # output dir
|
||||
# enable after sphinx 7.3.0 is available on PyPi(pip)
|
||||
# '--doctree-dir', paths['sphinx_cache_dir'],
|
||||
'-d',
|
||||
paths['sphinx_cache_dir'],
|
||||
# '-Q', #quiet now
|
||||
],
|
||||
check=True,
|
||||
)
|
||||
|
||||
# slows down build process when rebuilding,
|
||||
# remove after sphinx 7.3.0 is available on PyPi(pip)
|
||||
shutil.rmtree(paths['build_dir'] + '.doctrees')
|
||||
|
||||
duration = time.monotonic() - starttime
|
||||
print(f'Generated sphinx documentation in {duration:.1f}s.')
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user