跳到导航

Tab menus

You can now turn a header tab into a menu of other tabs. Add a tab-menu to the tab in docs.yml, then give each menu tab its own - tab: entry in navigation with a layout or variants.

  • Menu entries can be tabs, group entries with a header, or external links.
  • Long menus split into columns with tab-menu-column-height, or site-wide with layout.tab-menu.default-column-height.
  • Menus open on hover.
  • Tab variants lists also accept group entries and links.
docs.yml
tabs:
products:
display-name: Products
tab-menu:
- tab: agents
display-name: Agents
- tab: studio
display-name: Studio
Read the docs