Skip to content

Publish FAQ structured data for package install errors - #308

Merged
patrickballard merged 1 commit into
wheelgap:mainfrom
hub-mayank:fix/issue-307
Dec 4, 2026
Merged

patrickballard merged 1 commit into
wheelgap:mainfrom
hub-mayank:fix/issue-307

Conversation

@hub-mayank

Copy link
Copy Markdown
Contributor

Package pages explain why pip cannot install a release, but their structured data omits the answer readers see. Pages with an install-error section now also publish a FAQ question and its first two paragraphs, using the same text and script-safe encoding. Tests cover both pip errors, fully covered packages and package names containing markup. The Python suite passed 1,155 tests with three skips, and all 273 site tests passed.

Closes #307

@patrickballard
patrickballard merged commit 58471f1 into wheelgap:main Dec 4, 2026
1 check passed
@patrickballard

Copy link
Copy Markdown
Contributor

Merged, thanks @hub-mayank, and welcome! Building the FAQ answer from the same strings as the visible section is the right way to do it: the two can't drift apart, and the test checks them against the built page.

If you'd like another, wheelgap#895 is open: MCP setup docs for Zed, Windsurf, Cline, JetBrains, Goose and Amp.

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.

Package pages: FAQ structured data for the install-error answer

2 participants