Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 9 additions & 8 deletions modules/customization/proc-customize-rhdh-sidebar-menuitems.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ dynamicPlugins:
----
--

. To ensure that a menu item is identified as a main menu item, you must add `default.` prefix to its key. For example:
. To ensure that a menu item is identified as a main menu item, you must add the `default.` prefix to its key. For example:
+
--
.Example configuration of main menu items in sidebar navigation
Expand All @@ -102,13 +102,14 @@ dynamicPlugins:
dynamicPlugins:
frontend:
default.main-menu-items: # key for configuring static main menu items
default.<menu_item_name>: # key of the menu item configuration. `default.` prefix is required for a main menu item key <1>
parent: my_menu_group # optional, specifies the parent menu item for this item
priority: 10 # optional, specifies the order of this menu item within its menu level
default.<menu_group_parent_item_name>: # must be configured if it is specified as the parent of any menu items. `default.` prefix is required for a main menu item key
icon: my_menu_group_icon # required for parent menu items, defines the icon for the menu group
title: my_menu_group_title # required for parent menu items, defines the icon for the menu group
priority: 100 # optional, specifies the order of the parent menu item in the sidebar
menuItems:
default.<menu_item_name>: # key of the menu item configuration. `default.` prefix is required for a main menu item key <1>
parent: my_menu_group # optional, specifies the parent menu item for this item
priority: 10 # optional, specifies the order of this menu item within its menu level
default.<menu_group_parent_item_name>: # must be configured if it is specified as the parent of any menu items. `default.` prefix is required for a main group parent item key <1>
icon: my_menu_group_icon # required for parent menu items, defines the icon for the menu group
title: my_menu_group_title # required for parent menu items, defines the icon for the menu group
priority: 100 # optional, specifies the order of the parent menu item in the sidebar
----


Expand Down
Loading