fix: fixes and unifies descriptions in dns-hole-controls and dns-hole-summary docs (#5938)
This commit is contained in:
1 parent
7837b6fa6b
commit
6881b8355c
2 files changed
+7
-4
No files matched your search
@@ -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",
|
||||
},
|
||||
|
||||
@@ -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",
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user