python-tooling icon indicating copy to clipboard operation
python-tooling copied to clipboard

Viewing rendered docs from a PR to check

Open paddyroddy opened this issue 1 year ago • 2 comments

We don't have any way of viewing rendered docs from a PR to check them before merging do we?

For what is worth, we do that in the excalibur benchmarking repository: https://github.com/ukri-excalibur/excalibur-tests/blob/ede38fa104eed72557233cbfc76b230727973791/.github/workflows/docs.yml (this is using mkdocs rather than jekyll, but to give an idea of what one can do to accomplish that).

Originally posted by @giordano in https://github.com/UCL-ARC/python-tooling/issues/358#issuecomment-2077433013

paddyroddy avatar Apr 25 '24 15:04 paddyroddy

https://readthedocs.org has pretty good support for pull request previews: https://docs.readthedocs.io/en/stable/pull-requests.html

dstansby avatar Apr 29 '24 14:04 dstansby

Or https://github.com/marketplace/actions/deploy-pr-preview might be useful, since I don't think readthedocs can (easily) build jekyll sites like this one.

dstansby avatar May 09 '24 10:05 dstansby