Skip to content

Commit 0766407

Browse files
committed
Incorporated Yi Cais comments
1 parent b40c9bf commit 0766407

File tree

1 file changed

+9
-12
lines changed

1 file changed

+9
-12
lines changed

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

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -101,18 +101,15 @@ dynamicPlugins:
101101
----
102102
dynamicPlugins:
103103
frontend:
104-
default:
105-
main-menu-items: # key for configuring static main menu items
106-
menuItems:
107-
default: # `default.` prefix is required for a main menu item key <1>
108-
<menu_item_name>: # key of the menu item configuration.
109-
parent: my_menu_group # optional, specifies the parent menu item for this item
110-
priority: 10 # optional, specifies the order of this menu item within its menu level
111-
default: # `default.` prefix is required for a main menu item key <1>
112-
<menu_group_parent_item_name>: # must be configured if it is specified as the parent of any menu items.
113-
icon: my_menu_group_icon # required for parent menu items, defines the icon for the menu group
114-
title: my_menu_group_title # required for parent menu items, defines the icon for the menu group
115-
priority: 100 # optional, specifies the order of the parent menu item in the sidebar
104+
default.main-menu-items: # key for configuring static main menu items
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
116113
----
117114

118115

0 commit comments

Comments
 (0)