Skip to content

Add version switcher component for documentation navigation#160

Merged
jth-nw merged 3 commits intodevfrom
version-switch
Feb 12, 2026
Merged

Add version switcher component for documentation navigation#160
jth-nw merged 3 commits intodevfrom
version-switch

Conversation

@jth-nw
Copy link
Collaborator

@jth-nw jth-nw commented Feb 11, 2026

Implements a version switcher that allows users to navigate between different versions of multi-version products. The switcher appears in the sidebar for products with multiple versions configured.

Changes:

  • Add VersionSwitcher component with version badge UI
  • Customize DocSidebar theme to integrate version switcher
  • Update products.js with version configurations
  • Update kb_allowlist.json for new product versions
  • Clean up unused observer cleanup in Root.js

Implements a version switcher that allows users to navigate between different versions of multi-version products. The switcher appears in the sidebar for products with multiple versions configured.

Changes:
- Add VersionSwitcher component with version badge UI
- Customize DocSidebar theme to integrate version switcher
- Update products.js with version configurations
- Update kb_allowlist.json for new product versions
- Clean up unused observer cleanup in Root.js

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
The homepage version badges were not respecting the customLink property
when generating links. This caused a broken link error for Identity
Recovery 2.6, which should link to /docs/recoveryforactivedirectory/2_6
but was incorrectly generating /docs/identityrecovery/2_6.

Updated generateProductCategories() to check for customLink before
generating the route, matching the behavior in VersionSwitcher component.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
@jth-nw jth-nw merged commit 9d8277b into dev Feb 12, 2026
6 checks 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