diff --git a/README.md b/README.md index 6d00f43b..75205e4e 100644 --- a/README.md +++ b/README.md @@ -8,12 +8,12 @@ ## Features -- Select multiple metrics [by using Regex](https://grafana.com/docs/plugins/alexanderzobnin-zabbix-app/latest/gettingstarted/#multiple-items-on-one-graph) -- Create interactive and reusable dashboards with [template variables](https://grafana.com/docs/plugins/alexanderzobnin-zabbix-app/latest/templating/) +- Select multiple metrics [by using Regex](https://grafana.com/docs/plugins/alexanderzobnin-zabbix-app/latest/guides/gettingstarted/#multiple-items-on-one-graph) +- Create interactive and reusable dashboards with [template variables](https://grafana.com/docs/plugins/alexanderzobnin-zabbix-app/latest/guides/templating/) - Show events on graphs with [Annotations](http://docs.grafana.org/reference/annotations/) - Display active problems with Triggers panel -- Transform and shape your data with [metric processing functions](https://grafana.com/docs/plugins/alexanderzobnin-zabbix-app/latest/functions/) (Avg, Median, Min, Max, Multiply, Summarize, Time shift, Alias) -- Find problems faster with [Alerting](https://grafana.com/docs/plugins/alexanderzobnin-zabbix-app/latest/alerting/) feature +- Transform and shape your data with [metric processing functions](https://grafana.com/docs/plugins/alexanderzobnin-zabbix-app/latest/reference/functions/) (Avg, Median, Min, Max, Multiply, Summarize, Time shift, Alias) +- Find problems faster with [Alerting](https://grafana.com/docs/plugins/alexanderzobnin-zabbix-app/latest/reference/alerting/) feature - Mix metrics from multiple data sources in the same dashboard or even graph - Discover and share [dashboards](https://grafana.com/dashboards) in the official library @@ -32,16 +32,16 @@ Or see more installation options in [docs](https://grafana.com/docs/plugins/alex ## Getting started -First, [configure](https://grafana.com/docs/plugins/alexanderzobnin-zabbix-app/latest/configuration/) Zabbix data source. Then you can create your first dashboard with step-by-step [Getting started guide](https://grafana.com/docs/plugins/alexanderzobnin-zabbix-app/latest/gettingstarted/). +First, [configure](https://grafana.com/docs/plugins/alexanderzobnin-zabbix-app/latest/configuration/) Zabbix data source. Then you can create your first dashboard with step-by-step [Getting started guide](https://grafana.com/docs/plugins/alexanderzobnin-zabbix-app/latest/guides/gettingstarted/). ## Documentation - [About](https://grafana.com/docs/plugins/alexanderzobnin-zabbix-app/latest/) - [Installation](https://grafana.com/docs/plugins/alexanderzobnin-zabbix-app/latest/installation) -- [Getting Started](https://grafana.com/docs/plugins/alexanderzobnin-zabbix-app/latest/gettingstarted) -- [Templating](https://grafana.com/docs/plugins/alexanderzobnin-zabbix-app/latest/templating) -- [Alerting](https://grafana.com/docs/plugins/alexanderzobnin-zabbix-app/latest/alerting/) -- [Metric processing functions](https://grafana.com/docs/plugins/alexanderzobnin-zabbix-app/latest/functions/) +- [Getting Started](https://grafana.com/docs/plugins/alexanderzobnin-zabbix-app/latest/guides/gettingstarted) +- [Templating](https://grafana.com/docs/plugins/alexanderzobnin-zabbix-app/latest/guides/templating) +- [Alerting](https://grafana.com/docs/plugins/alexanderzobnin-zabbix-app/latest/reference/alerting/) +- [Metric processing functions](https://grafana.com/docs/plugins/alexanderzobnin-zabbix-app/latest/reference/functions/) ## Community Resources, Feedback, and Support diff --git a/docs/sources/configuration.md b/docs/sources/configuration/_index.md similarity index 100% rename from docs/sources/configuration.md rename to docs/sources/configuration/_index.md diff --git a/docs/sources/direct-db-datasource.md b/docs/sources/configuration/direct-db-datasource.md similarity index 100% rename from docs/sources/direct-db-datasource.md rename to docs/sources/configuration/direct-db-datasource.md diff --git a/docs/sources/provisioning.md b/docs/sources/configuration/provisioning.md similarity index 100% rename from docs/sources/provisioning.md rename to docs/sources/configuration/provisioning.md diff --git a/docs/sources/troubleshooting.md b/docs/sources/configuration/troubleshooting.md similarity index 100% rename from docs/sources/troubleshooting.md rename to docs/sources/configuration/troubleshooting.md diff --git a/docs/sources/gettingstarted.md b/docs/sources/guides/gettingstarted.md similarity index 100% rename from docs/sources/gettingstarted.md rename to docs/sources/guides/gettingstarted.md diff --git a/docs/sources/templating.md b/docs/sources/guides/templating.md similarity index 100% rename from docs/sources/templating.md rename to docs/sources/guides/templating.md diff --git a/docs/sources/installation.md b/docs/sources/installation/_index.md similarity index 97% rename from docs/sources/installation.md rename to docs/sources/installation/_index.md index 2634a832..48fb40a1 100644 --- a/docs/sources/installation.md +++ b/docs/sources/installation/_index.md @@ -49,4 +49,4 @@ Starting from version 4.0, each plugin release on GitHub contains packaged plugi ## Building from sources -If you want to build a package yourself, or contribute - read [building instructions](./run-from-main). +If you want to build a package yourself, or contribute - read [building instructions](./building-from-sources). diff --git a/docs/sources/run-from-main.md b/docs/sources/installation/building-from-sources.md similarity index 88% rename from docs/sources/run-from-main.md rename to docs/sources/installation/building-from-sources.md index b9480d18..be95082f 100644 --- a/docs/sources/run-from-main.md +++ b/docs/sources/installation/building-from-sources.md @@ -1,6 +1,6 @@ --- -title: Run Grafana-Zabbix from main branch -menuTitle: Run Grafana-Zabbix from main branch +title: Building from sources +menuTitle: Building from sources description: Building instructions for Grafana-Zabbix. aliases: keywords: diff --git a/docs/sources/upgrade.md b/docs/sources/installation/upgrade.md similarity index 100% rename from docs/sources/upgrade.md rename to docs/sources/installation/upgrade.md diff --git a/docs/sources/alerting.md b/docs/sources/reference/alerting.md similarity index 100% rename from docs/sources/alerting.md rename to docs/sources/reference/alerting.md diff --git a/docs/sources/direct-db-connection.md b/docs/sources/reference/direct-db-connection.md similarity index 100% rename from docs/sources/direct-db-connection.md rename to docs/sources/reference/direct-db-connection.md diff --git a/docs/sources/functions.md b/docs/sources/reference/functions.md similarity index 100% rename from docs/sources/functions.md rename to docs/sources/reference/functions.md diff --git a/src/datasource/components/FunctionEditor/FunctionEditorControls.tsx b/src/datasource/components/FunctionEditor/FunctionEditorControls.tsx index e775d4f7..1c0e8dd7 100644 --- a/src/datasource/components/FunctionEditor/FunctionEditorControls.tsx +++ b/src/datasource/components/FunctionEditor/FunctionEditorControls.tsx @@ -2,7 +2,7 @@ import React from 'react'; import { Icon } from '@grafana/ui'; import { MetricFunc } from '../../types'; -const DOCS_FUNC_REF_URL = 'https://grafana.com/docs/plugins/alexanderzobnin-zabbix-app/latest/functions/'; +const DOCS_FUNC_REF_URL = 'https://grafana.com/docs/plugins/alexanderzobnin-zabbix-app/latest/reference/functions/'; export interface FunctionEditorControlsProps { onMoveLeft: (func: MetricFunc) => void;