Skip to content

Commit b337596

Browse files
author
GitHub Actions
committed
Apply technical reviews
1 parent 5500102 commit b337596

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

modules/configuring-the-global-header/proc-customize-rhdh-global-header.adoc

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,20 +13,20 @@ For more information on enabling dynamic plugins, see link:{installing-and-viewi
1313
pluginConfig:
1414
app:
1515
sidebar:
16-
search: false
17-
settings: false
16+
search: false # (1)
17+
settings: false # (2)
1818
dynamicPlugins:
1919
frontend:
20-
default.main-menu-items:
20+
default.main-menu-items: # (3)
2121
menuItems:
2222
default.create:
2323
title: ''
24-
red-hat-developer-hub.backstage-plugin-global-header:
24+
red-hat-developer-hub.backstage-plugin-global-header: # (4)
2525
mountPoints:
2626
- mountPoint: application/header
2727
importName: GlobalHeader
2828
config:
29-
position: above-main-content
29+
position: above-main-content # (5)
3030
- mountPoint: global.header/component
3131
importName: SearchComponent
3232
config:
@@ -74,6 +74,11 @@ For more information on enabling dynamic plugins, see link:{installing-and-viewi
7474
config:
7575
priority: 10
7676
----
77+
1. *search*: Hides the *Search* modal in the sidebar menu. Change it to `true` to display it in the sidebar.
78+
2. *settings*: Hides the *Settings* button in the sidebar menu. Change it to `true` to display it in the sidebar.
79+
3. `default.main-menu-items`: Hides the *Create* button from the sidebar menu. Remove this field to display it in the sidebar.
80+
4. `red-hat-developer-hub.backstage-plugin-global-header`: The dynamic header plugin (enabled by default).
81+
5. *position*: Defines the position of the header. Options: `above-main-content` or `above-sidebar`.
7782

7883
To extend the functionality of the default global header, include any the following attributes in your global header entry:
7984

0 commit comments

Comments
 (0)