Add readthedocs/actions/preview
to GHA for doc build status checks and PR previews
#2949
Labels
I: No breaking change
Previously written code will work as before, no one should note anything changing (aside the fix)
S: Normal
Handle this with default priority
T: Enhancement
New functionality, model or documentation
Projects
Is your feature request related to a problem? Please describe.
I believe we currently fidget a lot ourselves to get RTD builds incorporated into our GHA workflow @jessica-mitchell / @terhorstd ? But an official RTD action exists:
https://github.com/readthedocs/actions
With the
preview
action enabled, every status check gets adocs/readthedocs.org:<repo>— Read the Docs build succeeded!
line item, and aDetails
link to the preview docs of that PR!Check it out on the PR where I discovered it:
pypa/cibuildwheel#1620
Which links to my preview where my changes are immediately visible:
https://cibuildwheel--1620.org.readthedocs.build/en/1620/options/#debugging
The text was updated successfully, but these errors were encountered: