Skip to content

Commit b611dd3

Browse files
added missing article (#772)
Co-authored-by: Priyanka Abel <[email protected]>
1 parent 443a157 commit b611dd3

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

modules/customization/proc-customize-rhdh-sidebar-menuitems.adoc

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ dynamicPlugins:
9393
----
9494
--
9595

96-
. To ensure that a menu item is identified as a main menu item, you must add `default.` prefix to its key. For example:
96+
. To ensure that a menu item is identified as a main menu item, you must add the `default.` prefix to its key. For example:
9797
+
9898
--
9999
.Example configuration of main menu items in sidebar navigation
@@ -102,13 +102,14 @@ dynamicPlugins:
102102
dynamicPlugins:
103103
frontend:
104104
default.main-menu-items: # key for configuring static main menu items
105-
default.<menu_item_name>: # key of the menu item configuration. `default.` prefix is required for a main menu item key <1>
106-
parent: my_menu_group # optional, specifies the parent menu item for this item
107-
priority: 10 # optional, specifies the order of this menu item within its menu level
108-
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
109-
icon: my_menu_group_icon # required for parent menu items, defines the icon for the menu group
110-
title: my_menu_group_title # required for parent menu items, defines the icon for the menu group
111-
priority: 100 # optional, specifies the order of the parent menu item in the sidebar
105+
menuItems:
106+
default.<menu_item_name>: # key of the menu item configuration. `default.` prefix is required for a main menu item key <1>
107+
parent: my_menu_group # optional, specifies the parent menu item for this item
108+
priority: 10 # optional, specifies the order of this menu item within its menu level
109+
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>
110+
icon: my_menu_group_icon # required for parent menu items, defines the icon for the menu group
111+
title: my_menu_group_title # required for parent menu items, defines the icon for the menu group
112+
priority: 100 # optional, specifies the order of the parent menu item in the sidebar
112113
----
113114

114115

0 commit comments

Comments
 (0)