fix: version selector and upgrade Docusaurus to 3.9.2 by osterman · Pull Request #840 · cloudposse/docs
osterman
added
the
no-release
label
Dec 30, 2025
osterman
changed the title
fix: display current version in navbar dropdown
fix: version selector and upgrade Docusaurus to 3.9.2
Swizzle DocsVersionDropdownNavbarItem component to detect the version from the URL path rather than relying on activeDocContext.activeVersion, which was unreliable. Now the dropdown correctly shows "v1" when viewing v1 docs and "Latest" when viewing current docs. 🤖 Generated with Claude Code Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
- Upgrade Docusaurus from 3.4.0 to 3.9.2 - Update swizzled components to use new API imports from @docusaurus/plugin-content-docs/client instead of @docusaurus/theme-common/internal - Fix DocVersionBanner to show green tip for latest/current version - Fix version badge vertical alignment in breadcrumbs - Hide sponsor button on smaller screens (< 996px) - Update DocsVersionDropdownNavbarItem for new Docusaurus 3.9 API 🤖 Generated with Claude Code Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Change navbar items (Learn, Reference, Community, Support) from `to: '/path'` to `type: 'doc'` with `docId` to preserve version - Fix DocVersionBanner internal links to use versioned paths - Minor footer link trailing slash consistency 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Add <!--truncate--> markers after the intro section in all blog posts that were missing them to eliminate Docusaurus build warnings. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
osterman
deleted the
osterman/fix-version-selector
branch
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