From 6881b8355c7e940360a0fb582787f0a770430c5b Mon Sep 17 00:00:00 2001 From: Daniel Lopes Date: Tue, 16 Jun 2026 10:15:56 +0200 Subject: [PATCH] fix: fixes and unifies descriptions in dns-hole-controls and dns-hole-summary docs (#5938) --- apps/docs/docs/widgets/dns-hole-controls/index.ts | 5 +++-- apps/docs/docs/widgets/dns-hole-summary/index.ts | 6 ++++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/apps/docs/docs/widgets/dns-hole-controls/index.ts b/apps/docs/docs/widgets/dns-hole-controls/index.ts index 5125c0ce3..31d2b45c9 100644 --- a/apps/docs/docs/widgets/dns-hole-controls/index.ts +++ b/apps/docs/docs/widgets/dns-hole-controls/index.ts @@ -1,16 +1,17 @@ import { WidgetDefinition } from "@site/src/types"; import { IconDeviceGamepad } from "@tabler/icons-react"; +import { integrations } from "../dns-hole-summary"; export const dnsHoleControlsWidget: WidgetDefinition = { icon: IconDeviceGamepad, name: "DNS Hole Controls", - description: "Control PiHole or AdGuard from your dashboard", + description: `Control the blocking feature of your ${integrations} from your dashboard`, path: "../../widgets/dns-hole-controls", configuration: { items: [ { name: "Show Toggle All Buttons", - description: "Show or not the 2 buttons that may be redundant when having only one DNS-hole.", + description: "Show or not the 2 buttons that may be redundant when having only one DNS Hole.", values: { type: "boolean" }, defaultValue: "yes", }, diff --git a/apps/docs/docs/widgets/dns-hole-summary/index.ts b/apps/docs/docs/widgets/dns-hole-summary/index.ts index 3f49f9fbd..76de8b588 100644 --- a/apps/docs/docs/widgets/dns-hole-summary/index.ts +++ b/apps/docs/docs/widgets/dns-hole-summary/index.ts @@ -1,10 +1,12 @@ import { WidgetDefinition } from "@site/src/types"; import { IconAd } from "@tabler/icons-react"; +export const integrations = "Pi-hole, AdGuard Home or Technitium DNS"; + export const dnsHoleSummaryWidget: WidgetDefinition = { icon: IconAd, name: "DNS Hole Summary", - description: "Displays the summary of your DNS Hole", + description: `Displays the summary of your ${integrations} blocks and queries statistics`, path: "../../widgets/dns-hole-summary", configuration: { items: [ @@ -19,7 +21,7 @@ export const dnsHoleSummaryWidget: WidgetDefinition = { }, { name: "Use Pi-Hole colors", - description: "Color the tiles using the background color, that is used by default in PiHole.", + description: `Color the tiles using the background color, that is used by default in ${integrations}.`, values: { type: "boolean" }, defaultValue: "yes", },