Title: Pull request preview builds for online docs · Issue #1842 · gitpython-developers/GitPython · GitHub
Open Graph Title: Pull request preview builds for online docs · Issue #1842 · gitpython-developers/GitPython
X Title: Pull request preview builds for online docs · Issue #1842 · gitpython-developers/GitPython
Description: Read the Docs supports pull request builds, where pull requests trigger preview builds that are published to a different domain and marked with a warning banner to prevent confusion, and where the build status is reported as one of the C...
Open Graph Description: Read the Docs supports pull request builds, where pull requests trigger preview builds that are published to a different domain and marked with a warning banner to prevent confusion, and where the ...
X Description: Read the Docs supports pull request builds, where pull requests trigger preview builds that are published to a different domain and marked with a warning banner to prevent confusion, and where the ...
Opengraph URL: https://github.com/gitpython-developers/GitPython/issues/1842
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Pull request preview builds for online docs","articleBody":"[Read the Docs](https://about.readthedocs.com/) supports [pull request builds](https://docs.readthedocs.io/en/stable/pull-requests.html), where pull requests trigger preview builds that are published to a different domain and marked with a warning banner to prevent confusion, and where the build status is reported as one of the CI checks for the PR.\r\n\r\nI recommend enabling this for GitPython. Unlike some CI checks that are configured in GitHub Actions workflow files, my understanding is that Read the Docs pull request builds, including their status reporting as CI checks, do not use GitHub Actions. Instead, pull request builds are triggered via webhook (as are other Read the Docs builds), and the check status is reported to GitHub by authenticating with OAuth and posting it with (I think) the GitHub API.\r\n\r\nFor this reason, I don't believe I can propose the necessary changes by pull request. Instead, if you choose to enable pull request builds, [you can do so by following these official instructions](https://docs.readthedocs.io/en/stable/guides/pull-requests.html).\r\n\r\nThis should make it easier to verify the correctness of documentation changes in pull requests, as well as make it easier for contributors (including me) to become aware of, investigate, and attempt to improve problems in Read the Docs builds.\r\n\r\nMy immediate motivation for recommending this change is the hope that it would enable me to submit and test a fix for #1840. However, even if it turns out that the effect of changes to `.readthedocs.yaml` are not fully previewed in pull request builds--I think they are but I am not sure--it seems to me that this would be a worthwhile addition to the project's CI checks.\r\n\r\nCurrently the `pythonpackage.yml` workflow does test if a *local* documentation build is able to succeed, but this does not test if a remote (Read the Docs) build succeeds, and more importantly it does not produce a hosted preview of the built documentation that can be easily inspected.","author":{"url":"https://github.com/EliahKagan","@type":"Person","name":"EliahKagan"},"datePublished":"2024-02-23T19:01:25.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":7},"url":"https://github.com/1842/GitPython/issues/1842"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:a847ae0f-b9d9-d6e5-db71-4d6d05c8a805 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8C52:1371C4:850282:B299FE:696866E8 |
| html-safe-nonce | 50382227006c5a509446747dca393df6626a5cd9c5f074d06edfabe837a18562 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QzUyOjEzNzFDNDo4NTAyODI6QjI5OUZFOjY5Njg2NkU4IiwidmlzaXRvcl9pZCI6IjcwNjU5MTU4Mjg3NDkyMzE4NDgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 25db2564d8f572745351e490748d2a414b2ec3c30c10c155f3d81bd2951f19d3 |
| hovercard-subject-tag | issue:2151638485 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/gitpython-developers/GitPython/1842/issue_layout |
| twitter:image | https://opengraph.githubassets.com/56ddf9d050cfcd8bcc50a7d4e8c62994c4749d281fb28163ef71783a275366e5/gitpython-developers/GitPython/issues/1842 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/56ddf9d050cfcd8bcc50a7d4e8c62994c4749d281fb28163ef71783a275366e5/gitpython-developers/GitPython/issues/1842 |
| og:image:alt | Read the Docs supports pull request builds, where pull requests trigger preview builds that are published to a different domain and marked with a warning banner to prevent confusion, and where the ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | EliahKagan |
| hostname | github.com |
| expected-hostname | github.com |
| None | 50f46dc2d6192249fd8ebf20e76c800f4f2596d4a5f3ab63dd63a754df154f54 |
| turbo-cache-control | no-preview |
| go-import | github.com/gitpython-developers/GitPython git https://github.com/gitpython-developers/GitPython.git |
| octolytics-dimension-user_id | 503709 |
| octolytics-dimension-user_login | gitpython-developers |
| octolytics-dimension-repository_id | 1126087 |
| octolytics-dimension-repository_nwo | gitpython-developers/GitPython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1126087 |
| octolytics-dimension-repository_network_root_nwo | gitpython-developers/GitPython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | fef287f17234b4529a4b112a3d47fe8551e32ddd |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width