Repository navigation
Add version menu to site, improve version partial, and more - #2557
Merged
Merged
Conversation
Introduce tdBuildId param and improve version handling across the repo. Key changes: - Refactor docsy.dev/hugo.yaml: move version-related params into `config/_default` folder, and create a version for production. - Replace versionWithBuildId with tdBuildId everywhere; add a td/version shortcode and update project content to use it. - Update set-package-version scripts: parsing/writing YAML is more robust (hugo-yaml.mjs), support a configurable params file path (--config / -c), and more. - Update package.json: add helper script (_spv) and wire set:version to use the new flow. - Update navbar and version selector partials to new markup/behavior; make navbar version menu always rendered (no d-lg blocker) and enhance dropdown item active/disabled handling. - SCSS tweaks: remove unnecessary !important rules, consolidate language/version menu styles, and add checkmark styling for active dropdown items. - Update refcache.json with additional cached URLs.
Also refactored set-package-version code.
chalin
force-pushed
the
chalin-m24-vers-menu-2026-0208
branch
from
February 15, 2026 08:44
64a42c5 to
5a03c54
Compare
13 tasks done
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Introduce tdBuildId param and improve version handling across the repo. Key changes:
config/_defaultfolder, and create a version for production.