PR #338 introduced netlify previews for viewing docs built from gh actions on PR. Now that's working, let's plan to switch away from readthedocs.org. There are three reasons for this:
rtd shows ads on your page
github actions allows finer grain control
we can show a deployment badge on PRs, making it easier to click into preview docs
Rules for docs deployment:
docs are generated in 4 situations
branches starting with "docs"
main branch
PRs
releases
releases should push docs to production
previews are named pr-{number}--siuba.netlify.app or {branch}--siuba.netlify.app
note that branch is converted to a slug, e.g. feat/a -> feat-a
Related to #382
PR #338 introduced netlify previews for viewing docs built from gh actions on PR. Now that's working, let's plan to switch away from readthedocs.org. There are three reasons for this:
Rules for docs deployment:
pr-{number}--siuba.netlify.app
or{branch}--siuba.netlify.app
feat/a
->feat-a