From 97ccdd44b232fb3f050ad32465ba0970201ecdbc Mon Sep 17 00:00:00 2001 From: Matthias Bilger Date: Sun, 8 Jan 2023 05:57:48 +0100 Subject: [PATCH] Use `drone-io` in config and minor doc improvement for drone-io --- docs/widgets.md | 6 +++--- src/components/Widgets/WidgetBase.vue | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/widgets.md b/docs/widgets.md index 485b9635..89eab92a 100644 --- a/docs/widgets.md +++ b/docs/widgets.md @@ -57,7 +57,7 @@ Dashy has support for displaying dynamic content in the form of widgets. There a - [Nextcloud PHP OPcache](#nextcloud-php-opcache-stats) - [Sabnzbd](#sabnzbd) - [Gluetun VPN Info](#gluetun-vpn-info) - - [Drone.io](#drone-io-builds) + - [Drone.io](#droneio-builds) - **[System Resource Monitoring](#system-resource-monitoring)** - [CPU Usage Current](#current-cpu-usage) - [CPU Usage Per Core](#cpu-usage-per-core) @@ -1913,7 +1913,7 @@ Display info from the Gluetun VPN container public IP API. This can show the IP ### Drone.io Builds -Display the last builds from a (drone.io)(https://www.drone.io] instance. +Display the last builds from a [drone.io](https://www.drone.io) instance.

@@ -1928,7 +1928,7 @@ Display the last builds from a (drone.io)(https://www.drone.io] instance. #### Example ```yaml -- type: DroneIo +- type: drone-io options: host: https://drone.somedomain.com apiKey: my-very-secret-api-key diff --git a/src/components/Widgets/WidgetBase.vue b/src/components/Widgets/WidgetBase.vue index ecd7b536..480df189 100644 --- a/src/components/Widgets/WidgetBase.vue +++ b/src/components/Widgets/WidgetBase.vue @@ -56,6 +56,7 @@ const COMPAT = { 'domain-monitor': 'DomainMonitor', 'code-stats': 'CodeStats', 'covid-stats': 'CovidStats', + 'drone-io': 'DroneIo', embed: 'EmbedWidget', 'eth-gas-prices': 'EthGasPrices', 'exchange-rates': 'ExchangeRates',