Skip to content

Remove PyPI badges from toolkit headers#896

Merged
jottakka merged 5 commits intomainfrom
feature/remove-pypi-badges
Mar 31, 2026
Merged

Remove PyPI badges from toolkit headers#896
jottakka merged 5 commits intomainfrom
feature/remove-pypi-badges

Conversation

@jottakka
Copy link
Copy Markdown
Contributor

@jottakka jottakka commented Mar 31, 2026

Summary

  • remove the PyPI and license badge strip from toolkit page headers
  • delete the unused header badge configuration and stale ToolkitHeader id prop wiring
  • add a regression test to ensure toolkit headers no longer emit PyPI badge markup

Test plan

  • pnpm test -- toolkit-docs-generator/tests/app-lib/toolkit-header.test.tsx
  • pnpm exec ultracite check app/_components/toolkit-docs/constants.ts app/_components/toolkit-docs/components/toolkit-header.tsx app/_components/toolkit-docs/components/toolkit-page.tsx app/_components/toolkit-docs/index.ts app/_components/toolkit-docs/types/index.ts toolkit-docs-generator/tests/app-lib/toolkit-header.test.tsx

Made with Cursor


Note

Low Risk
Low risk UI-only change that removes rendered markup and a now-unused prop/constants; main risk is minor layout/regression on toolkit header rendering.

Overview
Toolkit documentation headers no longer render PyPI/license badges. The ToolkitHeader component drops the id prop and removes the badge-strip markup that linked to PyPI and the project license.

This also deletes the associated badge/URL constants from toolkit-docs/constants.ts, updates ToolkitPage and the public toolkit-docs module docs to stop wiring/publishing id, and adjusts the global Logo icon import to the new design-system icon path.

Written by Cursor Bugbot for commit 2f7ef98. This will update automatically on new commits. Configure here.

We're removing toolkit packages from PyPI, so the docs should no longer advertise package metadata in the header. Add a regression test and remove the unused header badge wiring.

Made-with: Cursor
@vercel
Copy link
Copy Markdown

vercel bot commented Mar 31, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
docs Ready Ready Preview, Comment Mar 31, 2026 8:47pm

Request Review

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we use named imports instead of using the barrel import?

Copy link
Copy Markdown
Contributor

@sdserranog sdserranog left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@jottakka jottakka merged commit cdc63d1 into main Mar 31, 2026
6 checks passed
@jottakka jottakka deleted the feature/remove-pypi-badges branch April 1, 2026 13:51
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.

2 participants