Skip to content

Add version menu to site, improve version partial, and more - #2557

Merged
chalin merged 4 commits into
docsy:mainfrom
chalin:chalin-m24-vers-menu-2026-0208
Feb 15, 2026
Merged

chalin merged 4 commits into
docsy:mainfrom
chalin:chalin-m24-vers-menu-2026-0208

Conversation

@chalin

@chalin chalin commented Feb 15, 2026

Copy link
Copy Markdown
Collaborator

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.

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.
@chalin chalin added the user guide Improvements to user guide label Feb 15, 2026
@chalin chalin added this to the 0.15.0 milestone Feb 15, 2026
@chalin
chalin force-pushed the chalin-m24-vers-menu-2026-0208 branch from 64a42c5 to 5a03c54 Compare February 15, 2026 08:44
@chalin
chalin merged commit 7a82d78 into docsy:main Feb 15, 2026
11 checks passed
@chalin
chalin deleted the chalin-m24-vers-menu-2026-0208 branch February 15, 2026 08:58
@chalin chalin mentioned this pull request Mar 1, 2026
13 tasks done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

user guide Improvements to user guide

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant