Commit Graph

2 Commits

Author SHA1 Message Date
David Galloway
f92133ca52 admin: Fix check if PR or release branch docs build
Uses built-in RTD vars.  https://docs.readthedocs.io/en/stable/environment-variables.html.

Follow up to https://github.com/ceph/ceph/pull/46917#discussion_r942359130.

Signed-off-by: David Galloway <dgallowa@redhat.com>
2022-08-22 16:40:09 -04:00
David Galloway
055fe1f825 .readthedocs.yml: Always build latest doc/releases pages
We don't backport PRs merged into doc/releases.  Therefore, when one browses to an older Ceph release version on docs.ceph.com (e.g., https://docs.ceph.com/en/pacific/), the information is out of date at best.

The doc/releases page is only accurate if browsing https://docs.ceph.com/en/latest/, for example.

So this post_checkout command will make sure we've checked out doc/releases from main before building and publishing.

Signed-off-by: David Galloway <dgallowa@redhat.com>
2022-07-20 12:14:32 -04:00