Skip to content

Conversation

@aidanfnv
Copy link
Contributor

@aidanfnv aidanfnv commented May 5, 2025

Fixes #74

The existing readthedocs webhooks do not properly rebuild the stable branch of the docs, because if the branch is not specified, RTD instead rebuilds the "latest" branch of the docs, which is tied to branch main in this repo.

This change adds the branch name to the webhook curl. If main is pushed, latest RTD will build, and if stable is pushed, stable RTD will build. If any other branch is pushed, RTD will not do anything.

@aidanfnv aidanfnv requested a review from jkwak-work May 5, 2025 19:57
Copy link
Contributor

@jkwak-work jkwak-work left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me

@aidanfnv aidanfnv merged commit 9d152d7 into shader-slang:main May 6, 2025
@aidanfnv aidanfnv deleted the fix/readthedocs-webhook-branch branch May 10, 2025 00:57
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.

shader-slang.github.io: Set up actions to sync submodules and Slang release tags for readthedocs

2 participants