You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Package pages: link install blockers and their via path to their own pages #113
The package page's "Install coverage with dependencies" section (install_html() in scripts/build_pages.py) names each blocker and its path, cryptography==46.0.3 builds from source via mcp → PyJWT → cryptography, as plain <code>. Readers who want to know more about cryptography have to search for it, and search engines see no link between the two pages. Internal links are the cheapest SEO the site can get, and most blockers are themselves in the top 5,000.
What to do
In install_html(), link each blocker's name to ../<canonical name>/ when that package has a page (it's in the scan and passes SAFE_NAME). Leave names outside the scan as plain text, never a link that 404s.
Do the same for each name in the via path, except the page's own package.
install_html() needs the set of page names: pass it in from build(), which already builds names.
Keep html.escape on everything; quote the URL part with urllib.parse.quote, as the badge snippet does.
Tests in tests/test_install_coverage.py: a blocker in the scan is a link, one outside it isn't, and a name with characters that need escaping stays escaped.
Activity
feat(site): link known blocker and dependency-path package pages (whe…
test(site): cover safe internal links for install blockers (wheelgap#113
AdityaSreevatsaK commentedon Nov 17, 2026
Hey @patrickballard,
I've raised PR #138 implementing internal links for known install blockers and dependency paths.
The implementation preserves HTML escaping and avoids broken or unsafe links. Regression tests were added, and fork CI passed.
feat(site): link known install blockers to package pages (#138)