We use sphinx-multiproject to build multiple RTD sites from within a single repository. To add a new site within this repository, take the following steps:
See the existing ops folder for a template.
Specifically, you'll want to add an entry to the multiproject_projects dictionary. Again, you can copy and edit the ops entry.
You'll want to take the following steps:
- Choose to import a project manually
- Set the repository URL to the GitHub of this project
- In the
Adminsection of the newly created site, find theAdvanced Settingstab and change thePath for .readthedocs.yamltodocs/.readthedocs.yaml - In the
Adminsection of the newly created site, find theEnvironment Variablestab and add a new variable, mapping thePROJECTenvironment variable to the newly added key in themultiproject_projectsdictionary.
After that, you should have a new site ready to go!