-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
DOC: enable parallel building of the docs #15591
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
we do this from for testing now with pytest-xdist as travis machines have 2 cores (and more doesn't seem to help) |
OK, so the option might be useful for building the docs on travis as well. |
I would also pass a single |
closes pandas-dev#15591 remove use of pd.Term from docs
@jreback reopening this, as this not yet fully solved (the vendored sphinx extension need updates (otherwise only the writing is parallel), and optionally provide this as an option to |
what does this mean? (e.g. 1.5.1 i not working)?
why I don't think this is a big deal anyhow |
Our vendored versions are not 'parallel_read_safe' to sphinx, and therefore you get the message like
and it is actually not using the parallel feature (for reading) |
interesting, I don't see that locally.... |
closes pandas-dev#15591 a couple of minutes faster with -j 2. fixes some deprecated use of pd.Term Author: Jeff Reback <[email protected]> Closes pandas-dev#15600 from jreback/docs and squashes the following commits: c19303d [Jeff Reback] DOC: parallel build for docs
What's the decision regarding this thread? Does it make sense to add a --jobs option to make.py that is given to |
Sphinx supports building the docs in parallel using multiple processes (with eg
-j 4
), see http://www.sphinx-doc.org/en/stable/invocation.html#cmdoption-sphinx-build-jI quickly tested this, and that seems to reduce on my laptop (with 4 processes) build time from ca 17 min to 8 min.
This also takes a lot more memory, so not sure if we want to enable it by default, but it would be nice to at least give the possibility to specify this with
python make.py html
.@jreback do you know if we can use multiple processes in parallel on travis?
What this needs:
make.py
to be able to pass the-j
argumentThe text was updated successfully, but these errors were encountered: