Skip to content

v5.0.2

Choose a tag to compare

@ankitskvmdam ankitskvmdam released this 17 Jun 03:30
dfa60ca

Two fixes restoring v4 parity: mobile header controls and target/class on menu entries.

Search + language switcher on mobile

The header search trigger was wrapped in a hidden … md:flex desktop-only container, so the search icon disappeared below the md breakpoint. Search (and the always-present language switcher) are now pulled out of that wrapper, so both stay visible on every breakpoint. Theme and settings remain desktop-only — the mobile nav drawer already hosts them.

target and class are back on menu entries

Both options were dropped from the v5 menu object and are now re-introduced as optional fields, threaded through the whole pipeline (opts schema, setu, the JSDoc + TypeDoc bridges, and rang's sidebar):

  • target overrides the link target. External links still default to _blank, and the noopener rel is dropped when the target isn't _blank.
  • class is merged onto the rendered link.

Both apply to external and built-in/internal entries, and are omitted when unset — so existing menus stay byte-identical.


Docs: https://ankdev.me/clean-jsdoc-theme/