feat(docs): migrate documentation site into monorepo (#5912)
This commit is contained in:
1 parent
3e464a76f2
commit
9e421c67bd
605 files changed
+26764
-219
No files matched your search
@@ -0,0 +1,34 @@
|
||||
---
|
||||
title: 'Uptime Kuma'
|
||||
description: 'Displays monitor uptime statistics, average uptime percentage, and service status counts.'
|
||||
hide_title: true
|
||||
---
|
||||
|
||||
import { WidgetHeader } from '@site/src/components/widgets/header';
|
||||
import { AddingWidget } from '@site/src/components/widgets/adding';
|
||||
import { WidgetConfig } from '@site/src/components/widgets/configuration';
|
||||
import { WidgetIntegrations } from '@site/src/components/widgets/integrations';
|
||||
import { uptimeKumaWidget } from '.';
|
||||
import { uptimeKumaIntegration } from '@site/docs/integrations/uptime-kuma';
|
||||
|
||||
|
||||
<WidgetHeader
|
||||
widget={uptimeKumaWidget}
|
||||
categories={['Monitoring']}
|
||||
/>
|
||||
|
||||
This widget displays uptime statistics from your Uptime Kuma status page, including a visual uptime ring, average uptime percentage, and per-status monitor counts.
|
||||
|
||||
### Supported Integrations
|
||||
|
||||
<WidgetIntegrations items={[{
|
||||
integration: uptimeKumaIntegration,
|
||||
note: "Displays monitors from the configured status page"
|
||||
}]} />
|
||||
|
||||
### Adding the widget
|
||||
|
||||
<AddingWidget />
|
||||
|
||||
### Configuration
|
||||
<WidgetConfig configuration={uptimeKumaWidget.configuration} />
|
||||
@@ -0,0 +1,49 @@
|
||||
import { WidgetDefinition } from "@site/src/types";
|
||||
import { IconHeartbeat } from "@tabler/icons-react";
|
||||
|
||||
export const uptimeKumaWidget: WidgetDefinition = {
|
||||
icon: IconHeartbeat,
|
||||
name: "Uptime Kuma",
|
||||
description: "Displays monitor uptime statistics, average uptime percentage, and service status counts.",
|
||||
path: "../../widgets/uptime-kuma",
|
||||
configuration: {
|
||||
items: [
|
||||
{
|
||||
name: "Show average uptime",
|
||||
description: "Displays the average uptime percentage across all monitors",
|
||||
values: { type: "boolean" },
|
||||
defaultValue: "yes",
|
||||
},
|
||||
{
|
||||
name: "Show uptime ring",
|
||||
description: "Displays a ring progress indicator for average uptime",
|
||||
values: { type: "boolean" },
|
||||
defaultValue: "yes",
|
||||
},
|
||||
{
|
||||
name: "Show total monitors",
|
||||
description: "Displays the total number of monitors",
|
||||
values: { type: "boolean" },
|
||||
defaultValue: "yes",
|
||||
},
|
||||
{
|
||||
name: "Show up count",
|
||||
description: "Displays the number of monitors that are up",
|
||||
values: { type: "boolean" },
|
||||
defaultValue: "yes",
|
||||
},
|
||||
{
|
||||
name: "Show down count",
|
||||
description: "Displays the number of monitors that are down",
|
||||
values: { type: "boolean" },
|
||||
defaultValue: "yes",
|
||||
},
|
||||
{
|
||||
name: "Show paused count",
|
||||
description: "Displays the number of paused monitors",
|
||||
values: { type: "boolean" },
|
||||
defaultValue: "yes",
|
||||
},
|
||||
],
|
||||
},
|
||||
};
|
||||
Reference in new issue
Block a user