-
Notifications
You must be signed in to change notification settings - Fork 10
Testing feature branches on readthedocs
Tyler Hughes edited this page May 25, 2023
·
3 revisions
Sometimes a branch / feature can build fine locally but fail in production on readthedocs. Therefore it is always a good idea to test the implementation before it goes into production. Here is how to do that.
- push your branch to origin, if you haven't already.
- Log in to our readthedocs page at readthedocs.com (for business). The login info was shared in a separate message.
- Navigate to "tidy3d-docs", typically the 3rd repo down on the list.

- Navigate to "versions"

- scroll down to the "activate a version" list and find the version associated with your branch name, eg. for
feature/custom_sitemap
it looks like

click "activate"
- change to "active", "hidden" and "public". This means that the site will be built and anyone can view it with the right URL, but it will be only accessible via the direct link.

click "save"
- The version should now be on the "active versions" list just above. And if you click on it, it will open to the build.

-
Look over the build and verify that some of the pages look correct, especially the "examples"
-
After this branch is merged into develop, either delete the branch or remove it from 'active' versions on readthedocs.