Skip to content

docs: show package versions in a dropdown selector instead of a folde… - #237

Merged
justeph merged 2 commits into
mainfrom
docs-use-dropdown-list-for-package-versions
Aug 19, 2026
Merged

docs: show package versions in a dropdown selector instead of a folde…#237
justeph merged 2 commits into
mainfrom
docs-use-dropdown-list-for-package-versions

Conversation

@justeph

@justeph justeph commented Aug 18, 2026

Copy link
Copy Markdown
Collaborator

Package pages listed every version as a stack of collapsible <details>
blocks, which was awkward to scan and forced users to expand entries one
by one to find a non-latest version.

Generate a single version picker plus one panel per version instead, and add _includes/head_custom.html with the CSS/JS that reveals only the selected panel. Panels stay visible without JavaScript, so the content degrades gracefully.

@github-actions

github-actions Bot commented Aug 18, 2026

Copy link
Copy Markdown
Contributor
PR Preview Action v1.8.1
Preview removed because the pull request was closed.
2026-08-19 08:44 UTC

@justeph
justeph force-pushed the docs-use-dropdown-list-for-package-versions branch from 2b6bbd5 to 349626a Compare August 18, 2026 20:02
…d list

Package pages listed every version as a stack of collapsible <details>
blocks, which was awkward to scan and forced users to expand entries one
by one to find a non-latest version.

Generate a single <select> version picker plus one panel per version
instead, and add _includes/head_custom.html with the CSS/JS that reveals
only the selected panel. Panels stay visible without JavaScript, so the
content degrades gracefully.

Signed-off-by: Julien Stephan <jstephan@baylibre.com>
Signed-off-by: Julien Stephan <jstephan@baylibre.com>
@justeph
justeph force-pushed the docs-use-dropdown-list-for-package-versions branch from 349626a to 4c17871 Compare August 18, 2026 20:25
@justeph
justeph requested a review from threexc August 18, 2026 20:34

@threexc threexc left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@justeph
justeph merged commit cf8486b into main Aug 19, 2026
5 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.

2 participants