Skip to content

Testing feature branches on readthedocs

Tyler Hughes edited this page May 25, 2023 · 3 revisions

Testing on readthedocs

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.

  1. push your branch to origin, if you haven't already.
  2. Log in to our readthedocs page at readthedocs.com (for business). The login info was shared in a separate message.
  3. Navigate to "tidy3d-docs", typically the 3rd repo down on the list.
image
  1. Navigate to "versions"
image
  1. 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
image

click "activate"

  1. 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.
image

click "save"

  1. The version should now be on the "active versions" list just above. And if you click on it, it will open to the build.
image
Clone this wiki locally