From 40b72f2783b2a7e479a1a2fe8e8ac147b415c6ae Mon Sep 17 00:00:00 2001 From: linfraze Date: Fri, 11 Apr 2025 15:25:29 -0400 Subject: [PATCH] RHIDP-6970: Fix headings in Customizing doc --- .../assembly-customizing-the-appearance.adoc | 1 - .../proc-customize-rhdh-sidebar-menuitems.adoc | 16 +++++++--------- titles/customizing/master.adoc | 1 - 3 files changed, 7 insertions(+), 11 deletions(-) diff --git a/assemblies/assembly-customizing-the-appearance.adoc b/assemblies/assembly-customizing-the-appearance.adoc index a452248f78..ff8a0fafac 100644 --- a/assemblies/assembly-customizing-the-appearance.adoc +++ b/assemblies/assembly-customizing-the-appearance.adoc @@ -51,4 +51,3 @@ include::modules/customizing-the-appearance/ref-customize-rhdh-default-backstage include::modules/customizing-the-appearance/proc-loading-custom-theme-using-dynamic-plugin.adoc[leveloffset=+1] include::modules/customizing-the-appearance/ref-customize-rhdh-custom-components.adoc[leveloffset=+1] - diff --git a/modules/customizing-the-appearance/proc-customize-rhdh-sidebar-menuitems.adoc b/modules/customizing-the-appearance/proc-customize-rhdh-sidebar-menuitems.adoc index ce6f7ece12..ba8bc0af64 100644 --- a/modules/customizing-the-appearance/proc-customize-rhdh-sidebar-menuitems.adoc +++ b/modules/customizing-the-appearance/proc-customize-rhdh-sidebar-menuitems.adoc @@ -11,8 +11,6 @@ Main menu items:: The core navigation structure of sidebar is static. .Procedure . Customize the main menu items using the following steps: -+ --- .. Open the `{my-app-config-file}` file. .. To customize the order and parent-child relationships for the main menu items, use the `dynamicPlugins.frontend.default.main-menu-items.menuItems` field. .. For dynamic plugin menu items, use the `dynamicPlugins.frontend..menuItems` field. @@ -28,7 +26,7 @@ dynamicPlugins: title: Home icon: home priority: 100 - default.my-group: + default.my-group: title: My Group icon: group priority: 90 @@ -115,7 +113,7 @@ dynamicPlugins: . To modify a main menu item or add a custom menu item, add a section to the `default.main-menu-items` > `menuItems` section in your `{my-app-config-file}` file. Use the `default.` prefix to identify the key as a main menu item. -+ ++ [source,yaml] ---- dynamicPlugins: @@ -153,12 +151,12 @@ default.main-menu-items: menuItems: default.catalog: icon: category # <1> - title: My Catalog + title: My Catalog priority: 5 - default.learning-path: - title: '' # <2> to hide the learning path from default sidebar + default.learning-path: + title: '' # <2> default.parentlist: # <3> - title: Overview + title: Overview icon: bookmarks default.home: parent: default.parentlist # <4> @@ -173,4 +171,4 @@ default.main-menu-items: <4> `parent`: Nests home menu under the `default.parentlist` parent menu item. <5> `title`: Specifies a name for `default.references` <6> `icon`: Displays the `school` icon. -<7> `to`: Redirects `default.references` to the `/references` page. \ No newline at end of file +<7> `to`: Redirects `default.references` to the `/references` page. diff --git a/titles/customizing/master.adoc b/titles/customizing/master.adoc index 3b54976696..7fdce5435a 100644 --- a/titles/customizing/master.adoc +++ b/titles/customizing/master.adoc @@ -37,4 +37,3 @@ include::assemblies/assembly-customizing-the-homepage.adoc[leveloffset=+1] include::assemblies/assembly-customizing-the-quick-access-card.adoc[leveloffset=+1] -