“Our docs build takes 30 minutes.”
The client said it casually, like it was just how things worked. The system rebuilt the entire site every time, even for a one-word fix. That made small changes expensive to preview and review.
Why the build was slow
The project used Sphinx. Every build generated the full HTML site and a 1,400-page PDF through LaTeX.
PDF generation was the bottleneck. Changing a paragraph in the authentication guide meant rebuilding the entire manual.
The HTML and PDF jobs also ran in sequence. Even when the HTML was ready, the pipeline waited for PDF generation to finish.
What we changed
We split the manual into separate PDFs for authentication, API reference, deployment, and other sections. We also limited PDF rebuilds to the affected sections, so changing the authentication guide no longer meant regenerating the whole manual.
Then we changed the pipeline to build HTML and PDFs in parallel. Writers could preview the HTML while PDF generation continued in the background.
What changed for the team
Build time dropped from 30 minutes to under five for most changes.
Writers started checking their work again. Small fixes went out the same day instead of waiting for the next sprint. Reviews moved faster because previews were available in minutes.
The team had more room to make a change, inspect the result, and adjust it before publication.
If slow builds are holding up your documentation reviews, we can help improve your build and publishing workflow.


