Skip to content

docs: hide Component Playground top-level nav item#40247

Merged
rusackas merged 1 commit into
masterfrom
fix/docs-hide-component-playground-nav
May 19, 2026
Merged

docs: hide Component Playground top-level nav item#40247
rusackas merged 1 commit into
masterfrom
fix/docs-hide-component-playground-nav

Conversation

@rusackas
Copy link
Copy Markdown
Member

SUMMARY

Follow-up to #40126 (the 6.1.0 version-cut), which incidentally flipped \"components\": { \"disabled\": true → false } in docs/versions-config.json. That flag gates the top-level Component Playground navbar entry in docs/docusaurus.config.ts:163:

```ts
if (!versionsConfig.components.disabled) {
dynamicNavbarItems.push({
label: 'Component Playground',
to: '/components',
...
});
}
```

Flipping the flag back to true removes 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

  • Has associated issue
  • Required feature flags
  • Changes UI (docs nav)
  • Includes DB Migration
  • Introduces new feature or API
  • Removes existing feature or API

🤖 Generated with Claude Code

#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.
@dosubot dosubot Bot added the doc Namespace | Anything related to documentation label May 19, 2026
@bito-code-review
Copy link
Copy Markdown
Contributor

bito-code-review Bot commented May 19, 2026

Bito Automatic Review Skipped - Files Excluded

Bito didn't auto-review this change because all changed files are in the exclusion list for automatic reviews. No action is needed if you didn't intend for the agent to review it. Otherwise, to manually trigger a review, type /review in a comment and save.
You can change the excluded files settings here, or contact your Bito workspace admin at evan@preset.io.

@rusackas rusackas requested review from geido and sfirke May 19, 2026 16:16
@netlify
Copy link
Copy Markdown

netlify Bot commented May 19, 2026

Deploy Preview for superset-docs-preview ready!

Name Link
🔨 Latest commit 6dac89f
🔍 Latest deploy log https://app.netlify.com/projects/superset-docs-preview/deploys/6a0c8c3ac4a5c800081c12e5
😎 Deploy Preview https://deploy-preview-40247--superset-docs-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@rusackas
Copy link
Copy Markdown
Member Author

Thanks @hainenber :D

@rusackas rusackas merged commit 1230b90 into master May 19, 2026
66 of 68 checks passed
@rusackas rusackas deleted the fix/docs-hide-component-playground-nav branch May 19, 2026 16:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

doc Namespace | Anything related to documentation size/XS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants