You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The repository contains several Sphinx subprojects. However, all of them are published as a single site.
ReadTheDocs provides a feature to work with multiple projects more effectively:
Projects can be configured in a nested manner by configuring a project as a subproject of another project. This allows for documentation projects to share a search index and a namespace or custom domain, but still be maintained independently.
Build separate PDF builds per project (e.g., one for each user manual).
Version each subproject differently.
Have faster builds since the whole project does not have to be rebuilt every time, only the subproject that received an update.
Limitations
⚠️If you decide to support RTD Subprojects, building a single PDF / HTML site locally that includes all the subprojects documentation will not be possible. Instead, you will have to build each site independently.
Proposal
For every subproject:
Create a new project on ReadTheDocs.
Enable PDF builds (optional).
Look for cross-references to other projects, and fix them.
In the main project:
Remove the subprojects from the toctree.
Add links to the subproject documentation.
Create 404 redirections for every page moved from the main project.
ℹ️ This proposal affects substantially the current navigation structure . Therefore, before implementing this solution in production I would share with you a Proof of Concept on a staging site moving one subproject to show you how the resulting documentation site would look like.
The text was updated successfully, but these errors were encountered:
dgarcia360
changed the title
Build a documentation site per subproject
[PDF build] Build a documentation site per subproject
Aug 20, 2021
The repository contains several Sphinx subprojects. However, all of them are published as a single site.
ReadTheDocs provides a feature to work with multiple projects more effectively:
RTD Subprojects feature would let you:
Limitations
Proposal
For every subproject:
In the main project:
In the theme:
ℹ️ This proposal affects substantially the current navigation structure . Therefore, before implementing this solution in production I would share with you a Proof of Concept on a staging site moving one subproject to show you how the resulting documentation site would look like.
The text was updated successfully, but these errors were encountered: