Skip to content

python-wheels: support automatic documentation updates#169

Draft
threexc wants to merge 5 commits into
mainfrom
tgamblin/auto-doc-update
Draft

python-wheels: support automatic documentation updates#169
threexc wants to merge 5 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.

Things get a little simpler now, since we're directly generating and modifying Markdown files. 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 15, 2026 21:28
Add a new version ofthe update_doc.py script from wheel_builder,
converted using Claude. Compared to the old one, we just generate,
parse, and update Markdown files directly for each package, and do it 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>
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