Skip to content

python-wheels: support automatic documentation updates#169

Merged
threexc merged 6 commits into
mainfrom
tgamblin/auto-doc-update
Jul 16, 2026
Merged

python-wheels: support automatic documentation updates#169
threexc merged 6 commits into
mainfrom
tgamblin/auto-doc-update

Conversation

@threexc

@threexc threexc commented Jul 16, 2026

Copy link
Copy Markdown
Collaborator

DO NOT REVIEW/MERGE - WIP

In wheel_builder, we used to have automatic documentation updates when support for new package versions was merged to main. This was pointed out in #159 and re-enabling it was identified as a priority following the dev guide's acceptance. For this repository, we have to make some adjustments to our approach, including a rework of the old update_doc.py script. This also lends itself to the composite action idea for publishing we also discussed in #159, so add that now.

The new publish-wheel action (name likely changing to pub-wheels-gen-docs) is complex enough that it needs careful documentation, so make sure to describe its purpose fully in the dev guide, by updating the example using build-numpy.yml.

threexc added 5 commits July 16, 2026 13:13
Add a new version ofthe update_doc.py script from wheel_builder,
converted using Claude. Compared to the old version, we update
documentation in docs/packages/<package>.md instead of the longer
docs/source/packages/<package>.yaml.

AI-Generated: Uses Claude Code Sonnet 5

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
@threexc
threexc force-pushed the tgamblin/auto-doc-update branch from 0d6ac1c to a723311 Compare July 16, 2026 17:14
@github-actions

github-actions Bot commented Jul 16, 2026

Copy link
Copy Markdown
Contributor
PR Preview Action v1.8.1
Preview removed because the pull request was closed.
2026-07-16 18:17 UTC

Don't trigger the build-numpy.yml workflow if a change has been made
to other files, such as doc update scripts or documentation itself.

Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
@threexc
threexc marked this pull request as ready for review July 16, 2026 18:07
@threexc
threexc merged commit fd5e1cc into main Jul 16, 2026
5 of 10 checks passed
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