docs: hide Component Playground top-level nav item#40247
Merged
Conversation
#40126 (the 6.1.0 version-cut) bundled `"components": { "disabled": true → false }` in `versions-config.json` alongside the 6.1.0 version additions. That flag is what gates the "Component Playground" top-level navbar entry in `docs/docusaurus.config.ts:163`: if (!versionsConfig.components.disabled) { dynamicNavbarItems.push({ label: 'Component Playground', ... }); Flipping the flag back to `true` removes the navbar item without touching the 6.1.0 versioned directory tree on disk.
Contributor
|
Bito Automatic Review Skipped - Files Excluded |
✅ Deploy Preview for superset-docs-preview ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
hainenber
approved these changes
May 19, 2026
Member
Author
|
Thanks @hainenber :D |
villebro
approved these changes
May 19, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
SUMMARY
Follow-up to #40126 (the 6.1.0 version-cut), which incidentally flipped
\"components\": { \"disabled\": true → false }indocs/versions-config.json. That flag gates the top-level Component Playground navbar entry indocs/docusaurus.config.ts:163:```ts
if (!versionsConfig.components.disabled) {
dynamicNavbarItems.push({
label: 'Component Playground',
to: '/components',
...
});
}
```
Flipping the flag back to
trueremoves the navbar item. The 6.1.0 versioned components directory tree stays on disk and remains buildable — only the top-level navbar entry is suppressed.BEFORE/AFTER
Before: Component Playground appears as a top-level navbar item on the docs site.
After: navbar matches pre-#40126 layout.
TESTING INSTRUCTIONS
```bash
cd docs && npm run start
```
Verify the Component Playground link no longer appears in the top navbar.
ADDITIONAL INFORMATION
🤖 Generated with Claude Code