mirror of https://github.com/zulip/zulip.git
test-documentation: Build docs in parallel.
We already do this by default in tools/build-docs, but since we migrated test-documentation to not run that directly (to disable collapsing), we need to add the recent parallelism fix here too. It saves about 5-10s when running this test suite for me, which is good, but definitely leaves me feeling like there could be more improvement.
This commit is contained in:
parent
f1eb9ff403
commit
57c78da915
|
@ -19,7 +19,7 @@ rm -rf _build
|
||||||
# However, we must change its value to True before we begin testing links.
|
# However, we must change its value to True before we begin testing links.
|
||||||
# Otherwise, sphinx would generate a large number of links we don't need to test.
|
# Otherwise, sphinx would generate a large number of links we don't need to test.
|
||||||
# The crawler would take a very long time to finish and TravisCI would fail as a result.
|
# The crawler would take a very long time to finish and TravisCI would fail as a result.
|
||||||
sphinx-build -b html -d _build/doctrees -D html_theme_options.collapse_navigation=True . _build/html
|
sphinx-build -j8 -b html -d _build/doctrees -D html_theme_options.collapse_navigation=True . _build/html
|
||||||
cd ../tools/documentation_crawler
|
cd ../tools/documentation_crawler
|
||||||
|
|
||||||
echo -en "\033[0;94m"
|
echo -en "\033[0;94m"
|
||||||
|
|
Loading…
Reference in New Issue