Skip to content

Commit 9ac61d6

Browse files
author
GitHub Actions
committed
Update the configure global header
1 parent a452899 commit 9ac61d6

File tree

3 files changed

+18
-15
lines changed

3 files changed

+18
-15
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
[id="assembly-customizing-the-{product}-global-header"]
2+
= Customizing the {product} global header
3+
:context: assembly-audit-log
4+
5+
As an administrator, you can enable or disable the {product} global header to create a consistent and flexible navigation bar across your {product-custom-resource-type} instance. You can extend the global header with additional buttons. You can customize the order and position of icons and features. By default, the {product} global header includes a search field, create, support and notification buttons, and a user profile drop-down.
6+
7+
include::modules/customizing-the-global-header/proc-customizing-rhdh-global-header.adoc[leveloffset=+1]
Lines changed: 10 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[id="customizing-your-product-global-header_{context}"]
22
= Customizing your {product} global header
33

4-
As an administrator, you can add a global header to create a consistent and flexible navigation bar across your {product-custom-resource-type} instance. By default, the global header includes a search field, create, support and notification buttons, and a user profile drop-down. You can customize the order and position of icons and features.
4+
To replace the {product} global header with a custom header of choice, disable the default header.
55

66
.Prerequisites
77
* You have configured your {product-custom-resource-type} instance.
@@ -10,19 +10,6 @@ As an administrator, you can add a global header to create a consistent and flex
1010

1111
.Procedure
1212

13-
* To disable the global header, disable the right plugin. For example:
14-
15-
[source,yaml,subs="+attributes,+quotes"]
16-
----
17-
# Disabling global header
18-
- package: ./dynamic-plugins/dist/red-hat-developer-hub-backstage-plugin-global-header
19-
disabled: true
20-
----
21-
22-
.Procedure
23-
24-
* To replace the {product} global header with a custom header of your choice, first disable the default header.
25-
2613
* Install your own header as a dynamic plugin as shown in the following example:
2714

2815
[source,yaml,subs="+attributes,+quotes"]
@@ -39,4 +26,13 @@ As an administrator, you can add a global header to create a consistent and flex
3926
importName: <Header component name>
4027
config:
4128
position: above-main-content
29+
----
30+
31+
* To disable the global header, disable the right plugin in your `app-config.yaml` configuration file as follows:
32+
33+
[source,yaml,subs="+attributes,+quotes"]
34+
----
35+
# Disabling global header
36+
- package: ./dynamic-plugins/dist/red-hat-developer-hub-backstage-plugin-global-header
37+
disabled: true
4238
----

titles/customizing/master.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ include::artifacts/attributes.adoc[]
1111
include::modules/customizing/proc-customizing-your-product-title.adoc[leveloffset=+1]
1212

1313

14-
include::modules/customizing/proc-customizing-your-product-global-header.adoc[leveloffset=+1]
14+
include::assemblies/assembly-customizing-the-global-header.adoc[leveloffset=+1]
1515

1616

1717
include::modules/customizing/proc-customizing-your-product-base-url.adoc[leveloffset=+1]

0 commit comments

Comments
 (0)