Skip to content

Conversation

@parulin
Copy link
Contributor

@parulin parulin commented Dec 24, 2025

The conf.py is different when the docs are build from a PR: changing the HTML title and using tinted icons.

Missing: default opengraph image

@parulin parulin force-pushed the custom-pr-build branch 4 times, most recently from ccc9890 to ef65dac Compare December 24, 2025 20:44
@parulin parulin changed the title Change the RTD post_checkout job to target PRs Change icons and title when build on RTD from a PR Jan 31, 2026
By checking some environment variable from Read The Docs in conf.py, we
can determine if the build is made from a PR build. In that case, the
HTML title is slightly different and instead of normal icons, we use
red-tinted ones.

That way, putting some links to the PR builds overview will be clearing
distinct from the official build.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant