-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Building multiple languages at once #11713
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
I'll answer you by the end of the day but I'll put some labels in the meantime. |
(So it wasn't by the end of the day but the week). I looked a bit at how Sphinx does things and here is what I understood (I'm no expert in that area since I've never worked with that component in depth).
Now I assume that you want to speed up the build because running all make When considering parallel builds with multiple languages, the translation is applied at a very early stage of the build, but after the directives being read if I'm not wrong. So, we could perhaps do the following:
As such, I'm not sure we could really improve the build time. Personally, I would like to know why the LaTeX build takes so much time. Is it because of references? if we knew which document is taking a long time to do, we could speed the things by redesigining the latex builder. For instance, LaTeX is generally slow because it is not parallelizable in general (pages are rendered in sequential order). |
See also: #788 |
Closing as duplicate of #788. A |
Is your feature request related to a problem? Please describe.
There's a discussion around optimisation of build time of Python docs, which consist of 13 languages and 6 versions currently. The whole process takes now more than 24 hours.
Describe the solution you'd like
I wonder if it wouldn't be feasible to enable invoking Sphinx builds for multiple languages at once. While I'm sadly not very familiar with Sphinx internals, I wonder if internally having a "documents structure" in memory, it wouldn't be faster to make use of it for multiple languages at once instead of invoking builds for separate languages synchronously. Could you please validate my way of thinking?
Describe alternatives you've considered
∅
Additional context
The text was updated successfully, but these errors were encountered: