Open
Description
Description
Currently, the version dropdown only appears on individual docs pages and only includes the current (such as Stack 9.0) and most recent previous version (such as Stack 8.18). Internal and external feedback has made it clear that users need easier access to more historical documentation versions—including legacy versions—to reduce friction and improve navigation.
Goals
- Make the version dropdown persistently available in the docs-dedicated navigation bar (not just on individual docs pages).
- Expand the dropdown options to include:
- Current version (9.0+)
- All 8.x minor versions (8.0 through 8.18) as a context menu group
- 7.17 (final 7.x release)
- A link to an "All versions" page for access to 7.16 and earlier
- Ensure that selecting a version updates the current context (does not open a new tab).
- Create and maintain a new "All versions" index page in the elastic/docs-content repo.
Scope
Part 1: Landing page dropdown behavior
- Dropdown placement: Add the version dropdown next to "Docs" in the persistent top navigation.
- Version-specific behavior: When users select a version (7.17–8.18) on the landing page, they should be navigated to a version-specific AsciiDoc landing page that only lists content available for that version.
- New pages needed: Create AsciiDoc landing pages for each 8.x version and 7.17.
Part 2: Docs page dropdown behavior
- Behavior: Selecting a version (7.17–8.18) on a docs page should navigate to the mapped AsciiDoc page for that version.
- Mappings: Update page mapping logic based on 8.x and 7.17 mappings
- Fallback: When a selected version doesn’t include the mapped page, display a “bummer” message, following the existing pattern for unavailable AsciiDoc pages.
Out of Scope
Adding older (pre-7.17) versions directly to the dropdown. These will be accessed via the "All versions" link.
Dependencies
- Create version-specific AsciiDoc landing pages for 7.17–8.18
- Update UI for persistent dropdown in navigation bar
- Update dropdown component to include new structure and behaviors
- Update mapping logic for docs page version switching
- Add fallback messaging for missing pages
- Create "All versions" index page (writers)