doc: enable automatic parallelization

Sphinx supports parallelized build (-j) option. Setting it to `auto`
makes use of all available cores. This option seems to speed up the
build significantly on multi-core machines.

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
This commit is contained in:
Gerard Marull-Paretas 2021-03-16 16:14:16 +01:00 committed by Anas Nashif
parent 681262d1d9
commit b44fc8a89c
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ if(${LATEXMK} STREQUAL LATEXMK-NOTFOUND)
endif()
if(NOT DEFINED SPHINXOPTS)
set(SPHINXOPTS -q)
set(SPHINXOPTS -q -j auto)
else()
separate_arguments(SPHINXOPTS)
endif()