Skip to content

Commit a147b97

Browse files
Add documentation for adding a widget icon
1 parent 0a9d797 commit a147b97

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

content/usage/advanced/index.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -643,7 +643,7 @@ an endpoint listing the available widgets:
643643
}
644644
```
645645

646-
The Cockpit-focused endpoint should including a name, version, iframe URL, and an optional URL for
646+
The Cockpit-focused endpoint should including a name, version, iframe URL, widget icon and an optional URL for
647647
configuration of each widget:
648648

649649
`cockpit_extras.json`
@@ -656,6 +656,7 @@ configuration of each widget:
656656
"name":"ExternalWidgetName",
657657
"config_iframe_url":null,
658658
"iframe_url":"/path/to/widget/page",
659+
"iframe_icon":"/path/to/widget/icon.png",
659660
"version":"1.3.8"
660661
}
661662
]

0 commit comments

Comments
 (0)