Skip to content

Commit b40c9bf

Browse files
committed
added missing article
1 parent ff89067 commit b40c9bf

File tree

1 file changed

+13
-9
lines changed

1 file changed

+13
-9
lines changed

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

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -93,22 +93,26 @@ 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
100100
[source,yaml]
101101
----
102102
dynamicPlugins:
103103
frontend:
104-
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
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
112116
----
113117

114118

0 commit comments

Comments
 (0)