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
Binary file not shown.
|
After Width: | Height: | Size: 5.1 KiB |
@@ -0,0 +1,39 @@
|
||||
---
|
||||
title: 'Network Controller Summary'
|
||||
description: 'Displays the summary of a Network Controller'
|
||||
hide_title: true
|
||||
---
|
||||
|
||||
import { unifiControllerIntegration } from '@site/docs/integrations/unifi-controller';
|
||||
import { AddingWidget } from '@site/src/components/widgets/adding';
|
||||
import { WidgetConfig } from '@site/src/components/widgets/configuration';
|
||||
import { WidgetHeader } from '@site/src/components/widgets/header';
|
||||
import { WidgetIntegrations } from '@site/src/components/widgets/integrations';
|
||||
import { IconAd } from "@tabler/icons-react";
|
||||
import TabItem from '@theme/TabItem';
|
||||
import Tabs from '@theme/Tabs';
|
||||
import { networkControllerSummaryWidget } from '.';
|
||||
|
||||
|
||||
<WidgetHeader
|
||||
widget={networkControllerSummaryWidget}
|
||||
categories={['Network controller']}
|
||||
/>
|
||||
|
||||
Shows information whether your WAN is connected, Wi-Fi is active and several other information.
|
||||
|
||||
### Screenshots
|
||||
|
||||
import summaryCard from './img/summary.png';
|
||||
|
||||
<img src={summaryCard} alt="network-controller-summary" width={128 * 1.5} height={128 * 1.5} />
|
||||
|
||||
### Supported Integrations
|
||||
|
||||
<WidgetIntegrations items={[{
|
||||
integration: unifiControllerIntegration,
|
||||
}]} />
|
||||
|
||||
### Adding the widget
|
||||
|
||||
<AddingWidget />
|
||||
@@ -0,0 +1,9 @@
|
||||
import { WidgetDefinition } from "@site/src/types";
|
||||
import { IconTopologyFull } from "@tabler/icons-react";
|
||||
|
||||
export const networkControllerSummaryWidget: WidgetDefinition = {
|
||||
icon: IconTopologyFull,
|
||||
name: "Network Controller Summary",
|
||||
description: "Displays the summary of a Network Controller",
|
||||
path: "../../widgets/network-controller-summary",
|
||||
};
|
||||
Reference in new issue
Block a user