Skip to content

Commit 4e42bae

Browse files
committed
Incorporated Fabrice's comments
1 parent d6c9c38 commit 4e42bae

14 files changed

+64
-60
lines changed

assemblies/assembly-customizing-the-appearance.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ include::modules/customizing-the-appearance/proc-customize-rhdh-theme-mode.adoc[
2828
include::modules/customizing-the-appearance/proc-customize-rhdh-branding-logo.adoc[leveloffset=+1]
2929

3030

31-
include::modules/customizing-the-appearance/con-customize-rhdh-sidebar-menuitems.adoc[leveloffset=+1]
31+
include::modules/customizing-the-appearance/con-about-rhdh-sidebar-menuitems.adoc[leveloffset=+1]
3232

3333
include::modules/customizing-the-appearance/proc-customize-rhdh-sidebar-menuitems.adoc[leveloffset=+2]
3434

modules/configuring-the-global-header/con-quicklinks-and-starred-items-in-global-header.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ The *Quicklinks* matrix, organized by sections (for example, Documentation or De
99

1010
The default configuration includes the following components:
1111

12-
* *StarredDropdown*: Displays the *Starred Items* menu in the global header by default, as shown in the following configuration:
12+
`StarredDropdown`:: Display the *Starred Items* menu in the global header by default, as shown in the following configuration:
1313
+
1414
[source,yaml]
1515
----
@@ -21,7 +21,7 @@ The default configuration includes the following components:
2121
priority: 85
2222
----
2323

24-
* *ApplicationLauncherDropdown*: Provides the *Quicklinks* matrix (application launcher) by default, as shown in the following configuration:
24+
`ApplicationLauncherDropdown`:: Provide the *Quicklinks* matrix (application launcher) by default, as shown in the following configuration:
2525
+
2626
[source,yaml]
2727
----
@@ -33,7 +33,7 @@ The default configuration includes the following components:
3333
priority: 82
3434
----
3535

36-
* *MenuItemLink entries*: Define sections, titles, icons, and links within the *Quicklinks* matrix. The default configuration includes links to the {product-short} documentation and an {product-very-short} Local, as shown in the following configurations:
36+
`MenuItemLink entries`:: Define sections, titles, icons, and links within the *Quicklinks* matrix. The default configuration includes links to the {product-short} documentation and an {product-very-short} Local, as shown in the following configurations:
3737
+
3838
[source,yaml,subs="+attributes"]
3939
----

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

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -76,10 +76,18 @@ For more information about enabling dynamic plugins, see {installing-and-viewing
7676
----
7777
where:
7878

79-
*search*:: Hides the *Search* modal in the sidebar menu. Change it to `true` to display the *Search* modal in the sidebar.
80-
*settings*:: Hides the *Settings* button in the sidebar menu. Change it to `true` to display the *Settings* button in the sidebar.
81-
`default.main-menu-items`:: Hides the *Self-service* button from the sidebar menu. Remove this field to display the *Self-service* button in the sidebar.
82-
*position*:: Defines the position of the header. Options: `above-main-content` or `above-sidebar`.
79+
`search`::
80+
Enter `false` to hide the *Search* modal in the sidebar menu.
81+
Enter `true` to display the *Search* modal in the sidebar menu.
82+
`settings`::
83+
Enter `false` to hides the *Settings* button in the sidebar menu.
84+
Enter `true` to display the *Settings* button in the sidebar menu.
85+
`default.main-menu-items`::
86+
Enter this field to hide the *Self-service* button from the sidebar menu.
87+
Remove this field to display the *Self-service* button in the sidebar menu.
88+
`position`::
89+
Enter `above-main-content` to position the header above the main content.
90+
Enter `above-sidebar` to position the header above the side bar.
8391

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

modules/configuring-the-global-header/proc-displaying-preferred-username-in-profile-drop-down.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ You can display the preferred username in the global header profile drop-down li
77

88
.Procedure
99

10-
* When you configure `spec.profile.displayName`, use the following code:
10+
. To configure `spec.profile.displayName`, use the following code:
1111
+
1212
[source,yaml,subs="+attributes,+quotes"]
1313
----
@@ -25,7 +25,7 @@ spec:
2525
memberOf: [janus-authors]
2626
----
2727

28-
* When you do not configure `spec.profile.displayname` but configure `metadata.title`, use the following code:
28+
. To configure `metadata.title` rather than `spec.profile.displayname`, use the following code:
2929
+
3030
[source,yaml,subs="+attributes,+quotes"]
3131
----
@@ -40,7 +40,7 @@ spec:
4040
memberOf: [janus-authors]
4141
----
4242

43-
* When you do not configure the `spec.profile.displayname` and the `metadata.title`, use the following code:
43+
. To configure neither `spec.profile.displayname` or `metadata.title`, use the following code:
4444
+
4545
[source,yaml,subs="+attributes,+quotes"]
4646
----

modules/configuring-the-global-header/ref-mount-points.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Controls the header position. Use `config.position` to set placement as either `
1111
global.header/component::
1212
Configures header components. Use `config.priority` to set the order of components, and pass properties (including CSS styles) via `config.props`.
1313

14-
* *Self-service* button
14+
`Self-service* button`::
1515
+
1616
[source,yaml,subs="attributes,quotes"]
1717
----
@@ -25,7 +25,7 @@ Configures header components. Use `config.priority` to set the order of componen
2525
to: create
2626
----
2727

28-
* Spacer element
28+
`Spacer element`::
2929
+
3030
[source,yaml]
3131
----
@@ -37,7 +37,7 @@ Configures header components. Use `config.priority` to set the order of componen
3737
growFactor: 0
3838
----
3939

40-
* Divider element
40+
`Divider element`::
4141
+
4242
[source,yaml]
4343
----

modules/configuring-the-quickstarts/proc-customize-rhdh-quickstart.adoc

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,9 @@ app:
3434
text: 'Browse Templates'
3535
link: '/create'
3636
----
37-
`title`:: (Required) The display title for the quickstart step.
38-
`description`:: (Required) A brief description of what the step covers.
39-
`icon`:: Icon identifier (supports Material UI icons).
40-
`text`: CTA button text.
41-
`link`:: CTA target URL or route.
37+
`title`:: Enter the display title for the quickstart step.
38+
`description`:: Enter the brief description of what the step covers.
39+
`icon`:: (Optional) Enter the icon identifier (supports Material UI icons).
40+
`cta`::
41+
`text`::: (Optional) Enter the CTA button text.
42+
`link`::: (Optional) Enter the CTA target URL or route.

modules/customizing-the-appearance/con-customize-rhdh-sidebar-menuitems.adoc renamed to modules/customizing-the-appearance/con-about-rhdh-sidebar-menuitems.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
:_mod-docs-content-type: CONCEPT
22

3-
[id="con-customize-rhdh-sidebar-menuitems_{context}"]
3+
[id="con-about-rhdh-sidebar-menuitems_{context}"]
44
= About the sidebar menu items for your {product-short} instance
55

66
The sidebar menu in {product} consists of two main parts that you can configure:

modules/customizing-the-appearance/proc-configuring-dynamic-plugin-menuitem.adoc

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,14 @@ Enter a unique name in the main sidebar navigation for either a standalone menu
4040
// Update <4> for release 1.6 as this option (currently a workaround) would be added as a functionality. RHIDP-6333.
4141

4242
`priority`::
43-
(Optional) Sets the order in which menu items appear in the sidebar. The default priority is 0, which places the item at the bottom of the list. A higher priority value places the item higher in the sidebar. You can define this field for each section.
43+
(Optional) Enter an integer value to set the order in which menu items appear in the sidebar.
4444

4545
`parent`::
4646
(Optional) Enter the parent menu item under which the current item is nested. If this field is used, the parent menu item must be defined elsewhere in the `menuItems` configuration of any enabled plugin. You can define this field for each section.
4747

4848
`enabled`::
49-
(Optional) If this field is used to hide the menu item from the sidebar, set the value to `false`. To display the menu item in the sidebar, set the value to `true`.
49+
(Optional) Enter `false` to hide the menu item from the sidebar.
50+
Enter `true` to display the menu item in the sidebar.
5051

5152
+
5253
[source,yaml,subs="+attributes"]
@@ -71,22 +72,16 @@ dynamicPlugins:
7172
priority: 100
7273
----
7374
`my-plugin`::
74-
Matches the value of the `path` field in `dynamicRoutes`.
75+
Enter the value of the `path` field in `dynamicRoutes`.
7576

7677
`priority`::
77-
Controls order of plugins under the parent menu item.
78+
Enter an integer value to set the order in which plugins appear in the parent menu item.
7879

7980
`parent`::
80-
Nests this plugin under the `favorites` parent menu item.
81+
Enter the parent menu item id to nest this plugin under, such as `favorites`.
8182

8283
`favorites`::
8384
Configuration for the parent menu item.
8485

85-
`icon`::
86-
Displays the `favorite` icon from the {product-very-short} system icons.
87-
8886
`title`::
89-
Displays the title name for the parent menu item.
90-
91-
`priority`::
92-
Order of the `favourites` menu item in the sidebar.
87+
Displays the title name for the parent menu item.

modules/customizing-the-appearance/proc-customize-rhdh-branding-logo.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ app:
1212
fullLogo: ${BASE64_EMBEDDED_FULL_LOGO} <1>
1313
iconLogo: ${BASE64_EMBEDDED_ICON_LOGO} <2>
1414
----
15-
`fullLogo`:: The logo on the expanded (pinned) sidebar and expects a base64 encoded image.
16-
`iconLogo`:: The logo on the collapsed (unpinned) sidebar and expects a base64 encoded image.
15+
`fullLogo`:: Enter the logo on the expanded (pinned) sidebar as a base64 encoded image.
16+
`iconLogo`:: Enter the logo on the collapsed (unpinned) sidebar as a base64 encoded image.
1717
+
1818
You can format the `BASE64_EMBEDDED_FULL_LOGO` environment variable as follows:
1919
+

modules/customizing-the-appearance/proc-customize-rhdh-page-theme.adoc

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,12 @@ app:
3030
shape: none
3131
# ...
3232
----
33-
`light`:: The theme mode, for example, `light` or `dark`
34-
`default`:: The `yaml` header for the default page theme configuration
35-
`backgroundColor`:: The color of the page header background, for example, `#ffffff` or `white`
36-
`fontColor`:: The color of the text in the page header, for example, `#000000` or `black`
37-
`shape`:: The pattern on the page header, for example, `wave`, `round`, or `none`
38-
`apis::` The `yaml` header for a specific page theme configuration, for example, `apis`, `home`
33+
`light`:: Enter the theme mode, such as `light` or `dark`.
34+
`default`:: Enter the default page theme configuration
35+
`backgroundColor`::: Enter the page header background color, such as `#ffffff` or `white`.
36+
`fontColor`::: Enter the page header text color, such as `#000000` or `black`.
37+
`shape`::: Enter the page header pattern, such as `wave`, `round`, or `none`.
38+
`apis::` Enter the page id to configure, such as `apis` or `home`.
3939

4040
//The page theme name depends on the plugin that you are customizing the page header for.
4141
//can include information about this topic in the future.

0 commit comments

Comments
 (0)