Skip to content

Commit 0390349

Browse files
committed
Applied changes
1 parent 0105347 commit 0390349

File tree

5 files changed

+19
-21
lines changed

5 files changed

+19
-21
lines changed

modules/customizing-the-appearance/proc-customize-rhdh-sidebar-menuitems.adoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ The sidebar menu in {product} consists of two main parts:
99

1010
.Procedure
1111

12-
. Customize the main menu items using the following steps:
12+
Customize the main menu items using the following steps:
1313
+
1414
--
15-
.. Open the `app-config-rhdh.yaml` file.
16-
.. To customize the order and parent-child relationships for the main menu items, use the `dynamicPlugins.frontend.default.main-menu-items.menuItems` field.
17-
.. For dynamic plugin menu items, use the `dynamicPlugins.frontend.<package_name>.menuItems` field.
15+
. Open the `app-config-rhdh.yaml` file.
16+
. To customize the order and parent-child relationships for the main menu items, use the `dynamicPlugins.frontend.default.main-menu-items.menuItems` field.
17+
. For dynamic plugin menu items, use the `dynamicPlugins.frontend.<package_name>.menuItems` field.
1818

1919
.Example `app-config-rhdh.yaml` file
2020
[source,yaml]

modules/customizing-the-home-page/proc-defining-the-layout-of-the-product-home-page.adoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
** position (x and y)
1313

1414
.Procedure
15-
* Configure your {product-short} `app-config.yaml` configuration file by choosing one of the following options:
16-
** Use the full space on smaller windows and half of the space on larger windows as follows:
15+
. Configure your {product-short} `app-config.yaml` configuration file by choosing one of the following options:
16+
.. Use the full space on smaller windows and half of the space on larger windows as follows:
1717

1818
[source,yaml]
1919
----
@@ -36,7 +36,7 @@ dynamicPlugins:
3636
debugContent: a placeholder
3737
----
3838

39-
** Show the cards side by side by defining the `x` parameter as follows:
39+
.. Show the cards side by side by defining the `x` parameter as follows:
4040

4141
[source,yaml]
4242
----
@@ -73,7 +73,7 @@ dynamicPlugins:
7373
----
7474
However, you can see a second card below this card by default.
7575

76-
* Show the cards in three columns by defining the `x` parameter as follows:
76+
. Show the cards in three columns by defining the `x` parameter as follows:
7777

7878
[source,yaml]
7979
----

modules/customizing-the-quick-access-card/proc-using-a-dedicated-service-to-provide-data-to-the-quick-access-card.adoc

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@
66
[id="using-a-dedicated-service-to-provide-data-to-the-quick-access-card_{context}"]
77
= Using a dedicated service to provide data to the Quick access card
88

9-
When using a dedicated service, you can do the following:
9+
When using a dedicated service, you can do the following tasks:
1010

1111
* Use the same service to provide the data to all configurable {product-short} pages or use a different service for each page.
1212
* Use the https://github.com/redhat-developer/red-hat-developer-hub-customization-provider[`red-hat-developer-hub-customization-provider`] as an example service, which provides data for both the Home and Tech Radar pages. The `red-hat-developer-hub-customization-provider` service provides the same data as default {product-short} data. You can fork the `red-hat-developer-hub-customization-provider` service repository from GitHub and modify it with your own data, if required.
1313
* Deploy the `red-hat-developer-hub-customization-provider` service and the {product-short} Helm chart on the same cluster.
1414

1515
.Prerequisites
1616

17-
* You have installed the {product} using Helm Chart.
17+
* You have installed the {product} using Helm chart.
1818
For more information, see xref:{installing-on-ocp-book-url}#assembly-install-rhdh-ocp-helm[{installing-on-ocp-book-title} with the Helm chart].
1919

2020
.Procedure
@@ -28,12 +28,12 @@ To use a separate service to provide the Home page data, complete the following
2828
To use the `red-hat-developer-hub-customization-provider` service, add the URL for the https://github.com/redhat-developer/red-hat-developer-hub-customization-provider[red-hat-developer-hub-customization-provider] repository or your fork of the repository containing your customizations.
2929
--
3030

31-
. On the *General* tab, enter *red-hat-developer-hub-customization-provider* in the *Name* field and click *Create*.
32-
. On the *Advanced Options* tab, copy the value from the *Target Port*.
31+
. On the *General* tab, enter `red-hat-developer-hub-customization-provider` in the *Name* field and click *Create*.
32+
. On the *Advanced Options* tab, copy the value from *Target Port*.
3333
+
3434
[NOTE]
3535
====
36-
The *Target Port* automatically generates a Kubernetes or {ocp-short} service to communicate with.
36+
*Target Port* automatically generates a Kubernetes or {ocp-short} service to communicate with.
3737
====
3838
+
3939
. Add the following code to the `app-config-rhdh.yaml` file:
@@ -45,12 +45,12 @@ proxy:
4545
# Other Proxies
4646
# customize developer hub instance
4747
'/developer-hub':
48-
target: ${HOMEPAGE_DATA_URL}
48+
target: ${HOMEPAGE_DATA_URL} <1>
4949
changeOrigin: true
5050
# Change to "false" in case of using self-hosted cluster with a self-signed certificate
5151
secure: true
5252
----
53-
where `HOMEPAGE_DATA_URL` is defined as `pass:c[http://<SERVICE_NAME>:8080]`, for example, `pass:c[http://rhdh-customization-provider:8080]`.
53+
<1> `pass:c[http://<SERVICE_NAME>:8080]`, for example, `pass:c[http://rhdh-customization-provider:8080]`.
5454
+
5555
[NOTE]
5656
====
@@ -62,11 +62,11 @@ The `red-hat-developer-hub-customization-provider` service contains the 8080 por
6262
. Delete the {product-short} pod to ensure that the new configurations are loaded correctly.
6363

6464
.Verification
65-
* To view the service, navigate to the *Administrator* perspective in the {ocp-short} web console and click *Networking* > *Service*.
65+
* To view the service, go to the *Administrator* perspective in the {ocp-short} web console and click *Networking* > *Service*.
6666
+
6767
[NOTE]
6868
====
69-
You can also view the *Service Resources* in the Topology view.
69+
You can also view *Service Resources* in the Topology view.
7070
====
7171

7272
* Ensure that the provided API URL for the Home page returns the data in JSON format as shown in the following example:
@@ -109,7 +109,7 @@ You can also view the *Service Resources* in the Topology view.
109109
If the request call fails or is not configured, the {product-short} instance falls back to the default local data.
110110
====
111111

112-
* If the images or icons do not load, then allowlist them by adding your image or icon host URLs to the content security policy’s (csp) `img-src` in your custom ConfigMap as follows:
112+
* If the images or icons do not load, then allowlist them by adding your image or icon host URLs to the content security policy (csp) `img-src` in your custom ConfigMap as shown in the following example:
113113

114114
[source,yaml]
115115
----

modules/customizing-the-quick-access-card/proc-using-hosted-json-files-to-provide-data-to-the-quick-access-card.adoc

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@ See xref:{installing-on-ocp-book-url}#assembly-install-rhdh-ocp[{installing-on-o
1414
.Procedure
1515

1616
* To access the data from the JSON files, add the following code to the {product-short} `app-config.yaml` configuration file:
17-
18-
* Add the following code to the `app-config.yaml` file:
1917
+
2018
[source,yaml]
2119
----

modules/customizing-the-tech-radar-page/proc-customize-rhdh-tech-radar-page.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ When using a dedicated service, you can do the following:
4848

4949
.Prerequisites
5050

51-
* You have installed the {product} using Helm Chart.
51+
* You have installed the {product} using Helm chart.
5252
For more information, see xref:{installing-on-ocp-book-url}#assembly-install-rhdh-ocp-helm[{installing-on-ocp-book-title} with the Helm chart].
5353

5454
.Procedure

0 commit comments

Comments
 (0)