Skip to content

Refactor sidebar badges to use sidebar_custom_props#120

Merged
MarketDataApp merged 3 commits intomainfrom
staging
Feb 24, 2026
Merged

Refactor sidebar badges to use sidebar_custom_props#120
MarketDataApp merged 3 commits intomainfrom
staging

Conversation

@MarketDataApp
Copy link
Owner

Summary

  • Replaced the tg h/n/b/p hack in page titles with standard Docusaurus sidebar_custom_props for badge rendering
  • Fixes badge text leaking into tag category pages and other unswizzled surfaces
  • Added "New" badges to Python SDK and PHP SDK sidebar categories
  • Updated CLAUDE.md to reflect Cloudflare migration and document badge system

Test plan

  • yarn build passes
  • Verify sidebar badges render correctly on staging
  • Verify tag category pages show clean titles (no "tg h")
  • Verify Python SDK and PHP SDK show "New" badges in sidebar

Replace the "tg h/n/b/p" hack in page titles with the standard
Docusaurus sidebar_custom_props mechanism. Fixes badge text leaking
into tag category pages and other unswizzled surfaces. Also adds
"New" badges to the Python SDK and PHP SDK sidebar categories.
@MarketDataApp MarketDataApp merged commit f3e5001 into main Feb 24, 2026
1 check passed
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