Skip to content

Commit 18659cb

Browse files
committed
formatting
Signed-off-by: Fabrice Flore-Thébault <[email protected]>
1 parent 4722fca commit 18659cb

File tree

2 files changed

+36
-20
lines changed

2 files changed

+36
-20
lines changed

modules/customizing-the-appearance/proc-customizing-entity-detail-tab-layout.adoc

Lines changed: 18 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -17,29 +17,34 @@ For consistency with your organization needs, you can change the entity detail t
1717
global:
1818
dynamic:
1919
plugins:
20-
- package: _<your_package_location>_ # <1>
20+
- package: _<your_package_location>_
2121
disabled: false
2222
pluginConfig:
2323
dynamicPlugins:
2424
frontend:
25-
_<your_plugin_name>_: # <2>
25+
_<your_plugin_name>_:
2626
mountPoints:
27-
- mountPoint: entity.page.ci/cards # <3>
28-
importName: TektonCI # <4>
27+
- mountPoint: _<mount_point>_
28+
importName: _<import_name>_
2929
config:
30-
layout: # <5>
30+
layout:
3131
gridColumn:
3232
lg: span 6
3333
xs: span 12
34-
if:
35-
allOf:
36-
- isTektonCIAvailable
3734
----
38-
<1> `package:` Enter your package location, such as `./dynamic-plugins/dist/backstage-community-plugin-tekton`.
39-
<2> `_<your_plugin_name>_:` Enter your plugin name, such as: `backstage-community.plugin-tekton`.
40-
<3> `mountPoint:` Copy the mount point defined in the plugin default configuration, such as: `entity.page.ci/cards`.
41-
<4> `importName:` Copy the import name defined in the plugin default configuration, such as: `TektonCI`.
42-
<4> `layout:` Enter your layout configuration.
35+
`package`::
36+
Enter your package location, such as `./dynamic-plugins/dist/backstage-community-plugin-tekton`.
37+
38+
`_<your_plugin_name>_`::
39+
Enter your plugin name, such as: `backstage-community.plugin-tekton`.
40+
41+
`mountPoint`::
42+
Copy the mount point defined in the plugin default configuration, such as: `entity.page.ci/cards`.
43+
44+
`importName`::
45+
Copy the import name defined in the plugin default configuration, such as: `TektonCI`.
46+
47+
`layout`:: Enter your layout configuration.
4348
The tab content is displayed in a responsive grid that uses a 12 column-grid and supports different breakpoints (`xs`,
4449
`sm`, `md`, `lg`, `xl`) that can be specified for a CSS property, such as `gridColumn`.
4550
The example uses 6 of the 12 columns to show two Tekton CI cards side-by-side on large (`lg`) screens (`span 6` columns) and show them among themselves (`xs` and above `span 12` columns).

modules/customizing-the-appearance/proc-customizing-entity-tab-titles.adoc

Lines changed: 18 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,27 @@ upstream:
1616
frontend:
1717
_<your_plugin_name>_:
1818
entityTabs:
19-
- mountPoint: _<mountpoint>_
19+
- mountPoint: _<mount_point>_
2020
path: _<path>_
2121
title: _<title>_
2222
priority: _<priority>_
23-
2423
----
2524

26-
_<your_plugin_name>_:: The plugin name, such as `backstage-community.plugin-topology`.
27-
_<mountpoint>_:: The tab mountpoint, such as `entity.page.topology`.
28-
_<path>_:: The tab path, such as `/topology`.
29-
_<priority>_:: (Optional) To reorder tabs, enter the tab priority, such as `42`.
25+
`_<your_plugin_name>_`::
26+
Enter the plugin name, such as `backstage-community.plugin-topology`.
27+
28+
`mountPoint`::
29+
Enter the tab mountpoint, such as `entity.page.topology`.
30+
31+
`path`::
32+
Enter the tab path, such as `/topology`.
33+
`title`::
34+
Enter the tab title, such as `Topology`.
35+
36+
`priority`::
37+
Optional.
38+
+
39+
To reorder tabs, enter the tab priority, such as `42`.
3040
Higher priority appears first.
31-
To remove a tab, use a negative value, such as `-1`.
41+
+
42+
To remove a tab, enter a negative value, such as `-1`.

0 commit comments

Comments
 (0)