Skip to content

feat(site): publish crawlable most-wanted wheel pages per platform - #142

Merged
patrickballard merged 9 commits into
wheelgap:mainfrom
AdityaSreevatsaK:feat/111-platform-pages
Nov 17, 2026
Merged

patrickballard merged 9 commits into
wheelgap:mainfrom
AdityaSreevatsaK:feat/111-platform-pages

Conversation

@AdityaSreevatsaK

Copy link
Copy Markdown
Contributor

Closes #111

What this changes

  • Generate static HTML pages at platforms/<platform>/ during site publishing.
  • Show the prebuilt-wheel coverage share for the newest non-free-threaded Python and each platform's 50 most-wanted missing wheels.
  • Link packages to their existing detail pages, with their source or missing status.
  • Include relevant campaign and build-lab links where available.
  • Add platform pages to the sitemap, home-page footer and package-page matrix.
  • Update the publishing workflow and README.

The generated pages use the existing site CSP, require no JavaScript and escape untrusted content.

Tests

  • Added offline Python tests for generated pages, missing-wheel lists, escaping, empty results, sitemap entries and stale data.
  • [Successful CI run]

AdityaSreevatsaK and others added 9 commits November 17, 2026 13:47
- Pick the newest non-free-threaded Python each platform has a target for,
  so the Pyodide page isn't empty when the newest Python has no Pyodide
  target, and say which Python on each page.
- Link campaigns by platform only; name the campaign's Python when it
  differs from the page's.
- Decide the build lab link from build_lab.TARGETS labels instead of
  builds.json; drop the builds.json argument.
- Count wheel and bundled in the share, as the home page does.
- Render the list as a matrix table with status pills, show the scan
  date, drop the repeated summary.
- Exit with a build_platform_pages: message on stale data.
- Tests: per-platform Python, campaign and lab links, real escaping,
  package page row links. README: platform pages under Package pages.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@patrickballard
patrickballard merged commit 64233ac into wheelgap:main Nov 17, 2026
1 check passed
@patrickballard

Copy link
Copy Markdown
Contributor

Merged, thanks @AdityaSreevatsaK! Before merging I pushed two commits:

  • each page uses the newest Python that platform actually has (so the Pyodide page isn't empty) and names it in the title;
  • campaign links match on platform, and the lab link comes from the lab's declared targets;
  • the coverage share counts Pyodide builds as the home page does;
  • the list is a table with status pills and the scan date;
  • the escaping test now really exercises escaping.

(Reply assisted by Claude.)

@AdityaSreevatsaK
AdityaSreevatsaK deleted the feat/111-platform-pages branch November 18, 2026 16:43
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.

Platform pages: a crawlable page per platform with its most-wanted wheels

2 participants