Skip to content

Commit cb53a97

Browse files
jmagakGitHub Actions
andauthored
Update the customization section (#1502)
* Update the customization section * Update the customization section * Update the customization section * Update the customization section * Apply changes --------- Co-authored-by: GitHub Actions <[email protected]>
1 parent 102df84 commit cb53a97

File tree

3 files changed

+26
-31
lines changed

3 files changed

+26
-31
lines changed

assemblies/assembly-customizing-the-homepage.adoc

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,11 @@ When using the `app-config`, you can do the following:
88

99
* Customize and extend the default Home page layout with additional cards that appear based on the plugins you have installed and enabled.
1010
* Change quick access links.
11-
* Add, reorganize, and remove the following available cards:
12-
+
13-
** Search bar
14-
** Quick access
15-
** Headline
16-
** Markdown
17-
** Placeholder
18-
** Catalog starred entities
19-
** Featured docs
11+
* Add, reorganize, and remove the {customizing-book-link}#con-rhdh-available-cards[available cards].
12+
13+
14+
include::modules/customizing-the-home-page/con-rhdh-available-cards.adoc[leveloffset=+1]
15+
2016

2117
include::modules/customizing-the-home-page/proc-customizing-the-home-page-cards.adoc[leveloffset=+1]
2218

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
:_mod-docs-content-type: CONCEPT
2+
3+
[id="con-rhdh-available-cards_{context}"]
4+
= Available homepage cards
5+
6+
As an administrative user, you can easily integrate custom features or content from any installed plugin into your Home page layout. You can use the additional cards available for configuration based on the frontend plugins you enable.
7+
8+
The following is a list of the available homepage cards:
9+
10+
** Search bar
11+
** Quick access
12+
** Headline
13+
** Markdown
14+
** Placeholder
15+
** Catalog starred entities
16+
** Featured docs
17+
+
18+
[NOTE]
19+
====
20+
Each card can have a `layouts` definition and `props` that depend on the component you use.
21+
====

modules/customizing-the-home-page/proc-customizing-the-home-page.adoc

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -116,28 +116,6 @@ dynamicPlugins:
116116
importName: TopVisitedCard
117117
----
118118

119-
* You can add cards from a plugin. The plugin adds additional cards by exporting a React component. Each card can have a `layouts` definition and `props` that are depending on the used component as shown in the following example:
120-
+
121-
[source,yaml]
122-
----
123-
dynamicPlugins:
124-
frontend:
125-
red-hat-developer-hub.backstage-plugin-dynamic-home-page:
126-
mountPoints:
127-
- mountPoint: home.page/cards
128-
importName: Headline
129-
config:
130-
layouts:
131-
xl: { h: 1 }
132-
lg: { h: 1 }
133-
md: { h: 1 }
134-
sm: { h: 1 }
135-
xs: { h: 1 }
136-
xxs: { h: 1 }
137-
props:
138-
title: Important info
139-
----
140-
141119
* You can change the title by overriding the `title` property of the dynamic homepage plugin as shown in the following example:
142120
+
143121
[source,yaml]

0 commit comments

Comments
 (0)