We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9f7ce5b commit 319b433Copy full SHA for 319b433
docs/Makefile
@@ -2,7 +2,8 @@
2
#
3
4
# You can set these variables from the command line.
5
-SPHINXOPTS = -j auto -W --keep-going -n
+N_JOB = auto
6
+SPHINXOPTS = -j ${N_JOB} -W --keep-going -n
7
# -j/--jobs: N processes in parallel (auto=number of CPUs)
8
# -W/--fail-on-warning: Turn warnings into errors.
9
# --keep-going: Runs sphinx-build to completion and exits
tools/documentation/circleci/build_doc.sh
@@ -114,7 +114,7 @@ else
114
fi
115
116
# The pipefail is requested to propagate exit code
117
-set -o pipefail && cd docs && make $make_args 2>&1 | tee ~/output_sphinx.txt
+set -o pipefail && cd docs && make N_JOB=2 $make_args 2>&1 | tee ~/output_sphinx.txt
118
cd -
119
120
set +o pipefail
0 commit comments