From e817ae944a3017df7eafbf7fbdf3f159dcc5fe8e Mon Sep 17 00:00:00 2001 From: Jack Baldry Date: Tue, 5 Sep 2023 14:40:01 +0100 Subject: [PATCH] [v8.5.x] Update `docs/shared` shortcode usage to use keyword argument interface (#73773) Update all use of docs/shared in Grafana to use keyword arguments Signed-off-by: Jack Baldry --- .../preferences/change-grafana-name.md | 6 +++--- .../preferences/change-grafana-theme.md | 14 ++++++------- .../preferences/change-grafana-timezone.md | 14 ++++++------- .../preferences/change-home-dashboard.md | 20 +++++++++---------- docs/sources/alerting/old-alerting/_index.md | 2 +- docs/sources/basics/_index.md | 6 +++--- docs/sources/datasources/influxdb/_index.md | 2 +- .../getting-started-influxdb.md | 4 ++-- .../getting-started-prometheus.md | 2 +- .../getting-started/getting-started-sql.md | 2 +- docs/sources/installation/debian.md | 2 +- docs/sources/installation/rpm.md | 2 +- docs/sources/introduction/_index.md | 6 +++--- docs/sources/linking/panel-links.md | 2 +- .../working-with-panels/add-link-to-panel.md | 2 +- docs/sources/shared/example.md | 6 +++--- .../view-server-org-list-and-edit.md | 2 +- .../view-server-user-list-search.md | 2 +- docs/sources/visualizations/bar-chart.md | 4 ++-- docs/sources/visualizations/histogram.md | 4 ++-- .../sources/visualizations/pie-chart-panel.md | 4 ++-- docs/sources/visualizations/state-timeline.md | 2 +- docs/sources/visualizations/status-history.md | 2 +- .../visualizations/time-series/_index.md | 4 ++-- .../time-series/graph-time-series-as-bars.md | 4 ++-- .../time-series/graph-time-series-as-lines.md | 4 ++-- .../graph-time-series-as-points.md | 4 ++-- 27 files changed, 64 insertions(+), 64 deletions(-) diff --git a/docs/sources/administration/preferences/change-grafana-name.md b/docs/sources/administration/preferences/change-grafana-name.md index f222d3414fd..00c36592dd8 100644 --- a/docs/sources/administration/preferences/change-grafana-name.md +++ b/docs/sources/administration/preferences/change-grafana-name.md @@ -12,7 +12,7 @@ weight: 100 In Grafana, you can change your names and emails associated with groups or accounts in the Settings or Preferences. This topic provides instructions for each task. -{{< docs/shared "preferences/some-tasks-require-permissions.md" >}} +{{< docs/shared lookup="preferences/some-tasks-require-permissions.md" source="grafana" version="" >}} ## Change organization name @@ -23,7 +23,7 @@ Grafana server administrators and organization administrators can change organiz Follow these instructions if you are a Grafana Server Admin. {{< docs/list >}} -{{< docs/shared "manage-users/view-server-org-list.md" >}} +{{< docs/shared lookup="manage-users/view-server-org-list.md" source="grafana" version="" >}} 1. In the organization list, click the name of the organization that you want to change. 1. In **Name**, enter the new organization name. @@ -35,7 +35,7 @@ Follow these instructions if you are a Grafana Server Admin. If you are an Organization Admin, follow these steps: {{< docs/list >}} -{{< docs/shared "preferences/org-preferences-list.md" >}} +{{< docs/shared lookup="preferences/org-preferences-list.md" source="grafana" version="" >}} 1. In **Organization name**, enter the new name. 1. Click **Update organization name**. diff --git a/docs/sources/administration/preferences/change-grafana-theme.md b/docs/sources/administration/preferences/change-grafana-theme.md index 006082edf16..387be55385b 100644 --- a/docs/sources/administration/preferences/change-grafana-theme.md +++ b/docs/sources/administration/preferences/change-grafana-theme.md @@ -13,7 +13,7 @@ weight: 200 In Grafana, you can modify the UI theme configured in the Settings or Preferences. Set the UI theme for the server, an organization, a team, or your personal user account using the instructions in this topic. -{{< docs/shared "preferences/some-tasks-require-permissions.md" >}} +{{< docs/shared lookup="preferences/some-tasks-require-permissions.md" source="grafana" version="" >}} ## Theme options @@ -46,8 +46,8 @@ To see what the current settings are, refer to [View server settings]({{< relref Organization administrators can change the UI theme for all users in an organization. {{< docs/list >}} -{{< docs/shared "preferences/org-preferences-list.md" >}} -{{< docs/shared "preferences/select-ui-theme-list.md" >}} +{{< docs/shared lookup="preferences/org-preferences-list.md" source="grafana" version="" >}} +{{< docs/shared lookup="preferences/select-ui-theme-list.md" source="grafana" version="" >}} {{< /docs/list >}} ## Change team UI theme @@ -55,10 +55,10 @@ Organization administrators can change the UI theme for all users in an organiza Organization and team administrators can change the UI theme for all users in a team. {{< docs/list >}} -{{< docs/shared "manage-users/view-team-list.md" >}} +{{< docs/shared lookup="manage-users/view-team-list.md" source="grafana" version="" >}} 1. Click on the team that you want to change the UI theme for and then navigate to the **Settings** tab. - {{< docs/shared "preferences/select-ui-theme-list.md" >}} + {{< docs/shared lookup="preferences/select-ui-theme-list.md" source="grafana" version="" >}} {{< /docs/list >}} ## Change your personal UI theme @@ -66,6 +66,6 @@ Organization and team administrators can change the UI theme for all users in a You can change the UI theme for your user account. This setting overrides UI theme settings at higher levels. {{< docs/list >}} -{{< docs/shared "preferences/navigate-user-preferences-list.md" >}} -{{< docs/shared "preferences/select-ui-theme-list.md" >}} +{{< docs/shared lookup="preferences/navigate-user-preferences-list.md" source="grafana" version="" >}} +{{< docs/shared lookup="preferences/select-ui-theme-list.md" source="grafana" version="" >}} {{< /docs/list >}} diff --git a/docs/sources/administration/preferences/change-grafana-timezone.md b/docs/sources/administration/preferences/change-grafana-timezone.md index e009c713164..78286990ea4 100644 --- a/docs/sources/administration/preferences/change-grafana-timezone.md +++ b/docs/sources/administration/preferences/change-grafana-timezone.md @@ -13,7 +13,7 @@ weight: 400 By default, Grafana uses the timezone in your web browser. However, you can override this setting at the server, organization, team, or individual user level. This topic provides instructions for each task. -{{< docs/shared "preferences/some-tasks-require-permissions.md" >}} +{{< docs/shared lookup="preferences/some-tasks-require-permissions.md" source="grafana" version="" >}} ## Set server timezone @@ -24,8 +24,8 @@ Grafana server administrators can choose a default timezone for all users on the Organization administrators can choose a default timezone for their organization. {{< docs/list >}} -{{< docs/shared "preferences/org-preferences-list.md" >}} -{{< docs/shared "preferences/select-timezone-list.md" >}} +{{< docs/shared lookup="preferences/org-preferences-list.md" source="grafana" version="" >}} +{{< docs/shared lookup="preferences/select-timezone-list.md" source="grafana" version="" >}} {{< /docs/list >}} ## Set team timezone @@ -33,10 +33,10 @@ Organization administrators can choose a default timezone for their organization Organization administrators and team administrators can choose a default timezone for all users in a team. {{< docs/list >}} -{{< docs/shared "manage-users/view-team-list.md" >}} +{{< docs/shared lookup="manage-users/view-team-list.md" source="grafana" version="" >}} 1. Click on the team you that you want to change the timezone for and then navigate to the **Settings** tab. - {{< docs/shared "preferences/select-timezone-list.md" >}} + {{< docs/shared lookup="preferences/select-timezone-list.md" source="grafana" version="" >}} {{< /docs/list >}} ## Set your personal timezone @@ -44,6 +44,6 @@ Organization administrators and team administrators can choose a default timezon You can change the timezone for your user account. This setting overrides timezone settings at higher levels. {{< docs/list >}} -{{< docs/shared "preferences/navigate-user-preferences-list.md" >}} -{{< docs/shared "preferences/select-timezone-list.md" >}} +{{< docs/shared lookup="preferences/navigate-user-preferences-list.md" source="grafana" version="" >}} +{{< docs/shared lookup="preferences/select-timezone-list.md" source="grafana" version="" >}} {{< /docs/list >}} diff --git a/docs/sources/administration/preferences/change-home-dashboard.md b/docs/sources/administration/preferences/change-home-dashboard.md index aa3bf441d02..2cb182d9b6a 100644 --- a/docs/sources/administration/preferences/change-home-dashboard.md +++ b/docs/sources/administration/preferences/change-home-dashboard.md @@ -15,7 +15,7 @@ weight: 300 The home dashboard you set is the one all users will see by default when they log in. You can set the home dashboard for the server, an organization, a team, or your personal user account. This topic provides instructions for each task. -{{< docs/shared "preferences/some-tasks-require-permissions.md" >}} +{{< docs/shared lookup="preferences/some-tasks-require-permissions.md" source="grafana" version="" >}} ## Navigate to the home dashboard @@ -52,9 +52,9 @@ default_home_dashboard_path = data/main-dashboard.json Organization administrators can choose a home dashboard for their organization. {{< docs/list >}} -{{< docs/shared "preferences/navigate-to-the-dashboard-list.md" >}} -{{< docs/shared "preferences/org-preferences-list.md" >}} -{{< docs/shared "preferences/select-home-dashboard-list.md" >}} +{{< docs/shared lookup="preferences/navigate-to-the-dashboard-list.md" source="grafana" version="" >}} +{{< docs/shared lookup="preferences/org-preferences-list.md" source="grafana" version="" >}} +{{< docs/shared lookup="preferences/select-home-dashboard-list.md" source="grafana" version="" >}} {{< /docs/list >}} ## Set home dashboard for your team @@ -62,11 +62,11 @@ Organization administrators can choose a home dashboard for their organization. Organization administrators and Team Admins can choose a home dashboard for a team. {{< docs/list >}} -{{< docs/shared "preferences/navigate-to-the-dashboard-list.md" >}} -{{< docs/shared "manage-users/view-team-list.md" >}} +{{< docs/shared lookup="preferences/navigate-to-the-dashboard-list.md" source="grafana" version="" >}} +{{< docs/shared lookup="manage-users/view-team-list.md" source="grafana" version="" >}} 1. Click on the team that you want to change the home dashboard for and then navigate to the **Settings** tab. - {{< docs/shared "preferences/select-home-dashboard-list.md" >}} + {{< docs/shared lookup="preferences/select-home-dashboard-list.md" source="grafana" version="" >}} {{< /docs/list >}} ## Set your personal home dashboard @@ -74,7 +74,7 @@ Organization administrators and Team Admins can choose a home dashboard for a te You can choose your own personal home dashboard. This setting overrides all home dashboards set at higher levels. {{< docs/list >}} -{{< docs/shared "preferences/navigate-to-the-dashboard-list.md" >}} -{{< docs/shared "preferences/navigate-user-preferences-list.md" >}} -{{< docs/shared "preferences/select-home-dashboard-list.md" >}} +{{< docs/shared lookup="preferences/navigate-to-the-dashboard-list.md" source="grafana" version="" >}} +{{< docs/shared lookup="preferences/navigate-user-preferences-list.md" source="grafana" version="" >}} +{{< docs/shared lookup="preferences/select-home-dashboard-list.md" source="grafana" version="" >}} {{< /docs/list >}} diff --git a/docs/sources/alerting/old-alerting/_index.md b/docs/sources/alerting/old-alerting/_index.md index e606f354300..db0c4ea29af 100644 --- a/docs/sources/alerting/old-alerting/_index.md +++ b/docs/sources/alerting/old-alerting/_index.md @@ -23,4 +23,4 @@ You can perform the following tasks for alerts: - [Test alert rules and troubleshoot]({{< relref "troubleshoot-alerts.md" >}}) - [Add or edit an alert contact point]({{< relref "notifications.md" >}}) -{{< docs/shared "alerts/grafana-managed-alerts.md" >}} +{{< docs/shared lookup="alerts/grafana-managed-alerts.md" source="grafana" version="" >}} diff --git a/docs/sources/basics/_index.md b/docs/sources/basics/_index.md index b4ce311f810..a646fc99641 100644 --- a/docs/sources/basics/_index.md +++ b/docs/sources/basics/_index.md @@ -7,8 +7,8 @@ weight: 15 This section provides basic information about observability topics in general and Grafana in particular. These topics will help people who are just starting out with observability and monitoring. -{{< docs/shared "basics/what-is-grafana.md" >}} +{{< docs/shared lookup="basics/what-is-grafana.md" source="grafana" version="" >}} -{{< docs/shared "basics/grafana-cloud.md" >}} +{{< docs/shared lookup="basics/grafana-cloud.md" source="grafana" version="" >}} -{{< docs/shared "basics/grafana-enterprise.md" >}} +{{< docs/shared lookup="basics/grafana-enterprise.md" source="grafana" version="" >}} diff --git a/docs/sources/datasources/influxdb/_index.md b/docs/sources/datasources/influxdb/_index.md index c3dcd0a3530..848ecfbfec0 100644 --- a/docs/sources/datasources/influxdb/_index.md +++ b/docs/sources/datasources/influxdb/_index.md @@ -13,7 +13,7 @@ weight: 700 # InfluxDB data source -{{< docs/shared "influxdb/intro.md" >}} +{{< docs/shared lookup="influxdb/intro.md" source="grafana" version="" >}} This topic explains options, variables, querying, and other options specific to this data source. Refer to [Add a data source]({{< relref "../add-a-data-source.md" >}}) for instructions on how to add a data source to Grafana. Only users with the organization admin role can add data sources. diff --git a/docs/sources/getting-started/getting-started-influxdb.md b/docs/sources/getting-started/getting-started-influxdb.md index ba5be823044..b14c3636162 100644 --- a/docs/sources/getting-started/getting-started-influxdb.md +++ b/docs/sources/getting-started/getting-started-influxdb.md @@ -11,11 +11,11 @@ weight: 250 # Getting started with Grafana and InfluxDB -{{< docs/shared "influxdb/intro.md" >}} +{{< docs/shared lookup="influxdb/intro.md" source="grafana" version="" >}} > **Note:** You can also configure a [Grafana Cloud](https://grafana.com/docs/grafana-cloud/) instance to display system metrics without having to host Grafana yourself. Grafana offers a [free account with Grafana Cloud](https://grafana.com/signup/cloud/connect-account?pg=gsdocs) to help you get started. -{{< docs/shared "getting-started/first-step.md" >}} +{{< docs/shared lookup="getting-started/first-step.md" source="grafana" version="" >}} ## Step 2. Get InfluxDB diff --git a/docs/sources/getting-started/getting-started-prometheus.md b/docs/sources/getting-started/getting-started-prometheus.md index c60d19cfd46..123f0077c96 100644 --- a/docs/sources/getting-started/getting-started-prometheus.md +++ b/docs/sources/getting-started/getting-started-prometheus.md @@ -18,7 +18,7 @@ Prometheus is an open source monitoring system for which Grafana provides out-of > **Note:** You can configure a [Grafana Cloud](https://grafana.com/docs/grafana-cloud/) instance to display system metrics without having to host Grafana yourself. A [free forever plan](https://grafana.com/signup/cloud/connect-account?pg=gsdocs) provides 10,000 active series for metrics. -{{< docs/shared "getting-started/first-step.md" >}} +{{< docs/shared lookup="getting-started/first-step.md" source="grafana" version="" >}} ## Step 2. Download Prometheus and node_exporter diff --git a/docs/sources/getting-started/getting-started-sql.md b/docs/sources/getting-started/getting-started-sql.md index ab90a2bafbe..d47143ec4ef 100644 --- a/docs/sources/getting-started/getting-started-sql.md +++ b/docs/sources/getting-started/getting-started-sql.md @@ -18,7 +18,7 @@ weight: 400 Microsoft SQL Server is a popular relational database management system that is widely used in development and production environments. This topic walks you through the steps to create a series of dashboards in Grafana to display metrics from a MS SQL Server database. You can also configure the MS SQL Server data source on a [Grafana Cloud](https://grafana.com/docs/grafana-cloud/) instance without having to host Grafana yourself. -{{< docs/shared "getting-started/first-step.md" >}} +{{< docs/shared lookup="getting-started/first-step.md" source="grafana" version="" >}} > **Note:** You must install Grafana 5.1+ in order to use the integrated MS SQL data source. diff --git a/docs/sources/installation/debian.md b/docs/sources/installation/debian.md index b1c1fa300fa..7d69f2eec00 100644 --- a/docs/sources/installation/debian.md +++ b/docs/sources/installation/debian.md @@ -143,7 +143,7 @@ sudo systemctl enable grafana-server.service #### Serving Grafana on a port < 1024 -{{< docs/shared "systemd/bind-net-capabilities.md" >}} +{{< docs/shared lookup="systemd/bind-net-capabilities.md" source="grafana" version="" >}} ### Start the server with init.d diff --git a/docs/sources/installation/rpm.md b/docs/sources/installation/rpm.md index 85b57cca571..880f9934aee 100755 --- a/docs/sources/installation/rpm.md +++ b/docs/sources/installation/rpm.md @@ -179,7 +179,7 @@ sudo systemctl enable grafana-server #### Serving Grafana on a port < 1024 -{{< docs/shared "systemd/bind-net-capabilities.md" >}} +{{< docs/shared lookup="systemd/bind-net-capabilities.md" source="grafana" version="" >}} #### Serving Grafana behind a proxy diff --git a/docs/sources/introduction/_index.md b/docs/sources/introduction/_index.md index ffc9b100068..73329e5f717 100644 --- a/docs/sources/introduction/_index.md +++ b/docs/sources/introduction/_index.md @@ -9,8 +9,8 @@ weight: 5 Grafana is a complete observability stack that allows you to monitor and analyze metrics, logs and traces. It allows you to query, visualize, alert on and understand your data no matter where it is stored. Create, explore, and share beautiful dashboards with your team and foster a data driven culture. For more information, refer to [Grafana overview](https://grafana.com/grafana/). Our observability stack has the following products and components. -{{< docs/shared "basics/what-is-grafana.md" >}} +{{< docs/shared lookup="basics/what-is-grafana.md" source="grafana" version="" >}} -{{< docs/shared "basics/grafana-cloud.md" >}} +{{< docs/shared lookup="basics/grafana-cloud.md" source="grafana" version="" >}} -{{< docs/shared "basics/grafana-enterprise.md" >}} +{{< docs/shared lookup="basics/grafana-enterprise.md" source="grafana" version="" >}} diff --git a/docs/sources/linking/panel-links.md b/docs/sources/linking/panel-links.md index af7790fe0bd..7d256fc5bf3 100644 --- a/docs/sources/linking/panel-links.md +++ b/docs/sources/linking/panel-links.md @@ -15,7 +15,7 @@ weight: 300 # Panel links -{{< docs/shared "panels/panel-links-intro.md" >}} +{{< docs/shared lookup="panels/panel-links-intro.md" source="grafana" version="" >}} Click the icon on the top left corner of a panel to see available panel links. diff --git a/docs/sources/panels/working-with-panels/add-link-to-panel.md b/docs/sources/panels/working-with-panels/add-link-to-panel.md index 0bfb29982a5..6cc623aada2 100644 --- a/docs/sources/panels/working-with-panels/add-link-to-panel.md +++ b/docs/sources/panels/working-with-panels/add-link-to-panel.md @@ -7,6 +7,6 @@ weight: 60 # Add a link to a panel -{{< docs/shared "panels/panel-links-intro.md" >}} +{{< docs/shared lookup="panels/panel-links-intro.md" source="grafana" version="" >}} For more information, refer to [Panel links]({{< relref "../../linking/panel-links.md" >}}). diff --git a/docs/sources/shared/example.md b/docs/sources/shared/example.md index 5dda3b32502..80a9ce1f5f8 100644 --- a/docs/sources/shared/example.md +++ b/docs/sources/shared/example.md @@ -11,7 +11,7 @@ When you have a chunk of text or steps that stand alone, not part of an ordered The syntax to invoke this file would be the following, minus the backslash: ``` -\{{< docs/shared "example.md" >}} +\{{< docs/shared lookup="example.md" source="grafana" version="" >}} ``` ## Part of a list @@ -24,7 +24,7 @@ Below is an example from the docs, with backslashes added. The initial spaces ar ``` \{{< docs/list >}} - \{{< docs/shared "manage-users/view-server-user-list.md" >}} + \{{< docs/shared lookup="manage-users/view-server-user-list.md" source="grafana" version="" >}} 1. Click the user account that you want to edit. If necessary, use the search field to find the account. \{{< /docs/list >}} ``` @@ -36,7 +36,7 @@ You cannot use short codes in an ordered list with sublists. The shortcode break All unordered list steps included as part of a list will appear as second-level lists (with the hollow circle bullet) rather than first-level lists (solid circle bullet), even if the list is not indented in the shared file or the document file. {{< docs/list >}} -{{< docs/shared "test.md" >}} +{{< docs/shared lookup="test.md" source="grafana" version="" >}} - Bullet text {{< /docs/list >}} diff --git a/docs/sources/shared/manage-users/view-server-org-list-and-edit.md b/docs/sources/shared/manage-users/view-server-org-list-and-edit.md index 89457e46e80..e27d096e967 100644 --- a/docs/sources/shared/manage-users/view-server-org-list-and-edit.md +++ b/docs/sources/shared/manage-users/view-server-org-list-and-edit.md @@ -3,7 +3,7 @@ title: View org list as server admin --- {{< docs/list >}} -{{< docs/shared "manage-users/view-server-org-list.md" >}} +{{< docs/shared lookup="manage-users/view-server-org-list.md" source="grafana" version="" >}} 1. Click the name of the organization that you want to edit. {{< /docs/list >}} diff --git a/docs/sources/shared/manage-users/view-server-user-list-search.md b/docs/sources/shared/manage-users/view-server-user-list-search.md index e910a5bef30..8f84ff000f6 100644 --- a/docs/sources/shared/manage-users/view-server-user-list-search.md +++ b/docs/sources/shared/manage-users/view-server-user-list-search.md @@ -3,7 +3,7 @@ title: View user list and search - list format --- {{< docs/list >}} -{{< docs/shared "manage-users/view-server-user-list.md" >}} +{{< docs/shared lookup="manage-users/view-server-user-list.md" source="grafana" version="" >}} 1. Click the user account that you want to edit. If necessary, use the search field to find the account. {{< /docs/list >}} diff --git a/docs/sources/visualizations/bar-chart.md b/docs/sources/visualizations/bar-chart.md index 54c245d22a3..2a03d0799b8 100644 --- a/docs/sources/visualizations/bar-chart.md +++ b/docs/sources/visualizations/bar-chart.md @@ -98,9 +98,9 @@ Transparency of the gradient is calculated based on the values on the y-axis. Op Gradient color is generated based on the hue of the line color. -{{< docs/shared "visualizations/tooltip-mode.md" >}} +{{< docs/shared lookup="visualizations/tooltip-mode.md" source="grafana" version="" >}} -{{< docs/shared "visualizations/legend-mode.md" >}} +{{< docs/shared lookup="visualizations/legend-mode.md" source="grafana" version="" >}} ### Legend calculations diff --git a/docs/sources/visualizations/histogram.md b/docs/sources/visualizations/histogram.md index 34b35e485e0..588933ef936 100644 --- a/docs/sources/visualizations/histogram.md +++ b/docs/sources/visualizations/histogram.md @@ -65,9 +65,9 @@ Transparency of the gradient is calculated based on the values on the Y-axis. Th Gradient color is generated based on the hue of the line color. -{{< docs/shared "visualizations/tooltip-mode.md" >}} +{{< docs/shared lookup="visualizations/tooltip-mode.md" source="grafana" version="" >}} -{{< docs/shared "visualizations/legend-mode.md" >}} +{{< docs/shared lookup="visualizations/legend-mode.md" source="grafana" version="" >}} ### Legend calculations diff --git a/docs/sources/visualizations/pie-chart-panel.md b/docs/sources/visualizations/pie-chart-panel.md index 7989f61a21c..3a41c1be9ad 100644 --- a/docs/sources/visualizations/pie-chart-panel.md +++ b/docs/sources/visualizations/pie-chart-panel.md @@ -71,9 +71,9 @@ The following example shows a pie chart with **Name** and **Percent** labels dis ![Pie chart labels](/static/img/docs/pie-chart-panel/pie-chart-labels-7-5.png) -{{< docs/shared "visualizations/tooltip-mode.md" >}} +{{< docs/shared lookup="visualizations/tooltip-mode.md" source="grafana" version="" >}} -{{< docs/shared "visualizations/legend-mode.md" >}} +{{< docs/shared lookup="visualizations/legend-mode.md" source="grafana" version="" >}} ### Legend values diff --git a/docs/sources/visualizations/state-timeline.md b/docs/sources/visualizations/state-timeline.md index f643fd3c67c..50ed512c15a 100644 --- a/docs/sources/visualizations/state-timeline.md +++ b/docs/sources/visualizations/state-timeline.md @@ -61,4 +61,4 @@ The panel can be used with time series data as well. In this case, the threshold When the legend option is enabled it can show either the value mappings or the threshold brackets. To show the value mappings in the legend, it's important that the `Color scheme` as referenced in [Apply color to a series and fields]({{< relref "../panels/working-with-panels/apply-color-to-series.md" >}}) is set to `Single color` or `Classic palette`. To see the threshold brackets in the legend set the `Color scheme` to `From thresholds`. -{{< docs/shared "visualizations/legend-mode.md" >}} +{{< docs/shared lookup="visualizations/legend-mode.md" source="grafana" version="" >}} diff --git a/docs/sources/visualizations/status-history.md b/docs/sources/visualizations/status-history.md index 2bee58cb807..88687145bbe 100644 --- a/docs/sources/visualizations/status-history.md +++ b/docs/sources/visualizations/status-history.md @@ -58,4 +58,4 @@ use gradient color schemes to color values. When the legend option is enabled it can show either the value mappings or the threshold brackets. To show the value mappings in the legend, it's important that the `Color scheme` as referenced in [Apply color to a series and fields]({{< relref "../panels/working-with-panels/apply-color-to-series.md" >}}) is set to `Single color` or `Classic palette`. To see the threshold brackets in the legend set the `Color scheme` to `From thresholds`. -{{< docs/shared "visualizations/legend-mode.md" >}} +{{< docs/shared lookup="visualizations/legend-mode.md" source="grafana" version="" >}} diff --git a/docs/sources/visualizations/time-series/_index.md b/docs/sources/visualizations/time-series/_index.md index ba770e48f14..1192b9413b1 100644 --- a/docs/sources/visualizations/time-series/_index.md +++ b/docs/sources/visualizations/time-series/_index.md @@ -24,9 +24,9 @@ Time series visualization is the default and primary way to visualize time serie These options are available whether you are graphing your time series as lines, bars, or points. -{{< docs/shared "visualizations/tooltip-mode.md" >}} +{{< docs/shared lookup="visualizations/tooltip-mode.md" source="grafana" version="" >}} -{{< docs/shared "visualizations/legend-mode.md" >}} +{{< docs/shared lookup="visualizations/legend-mode.md" source="grafana" version="" >}} ### Legend calculations diff --git a/docs/sources/visualizations/time-series/graph-time-series-as-bars.md b/docs/sources/visualizations/time-series/graph-time-series-as-bars.md index 186f3cb346c..87701476780 100644 --- a/docs/sources/visualizations/time-series/graph-time-series-as-bars.md +++ b/docs/sources/visualizations/time-series/graph-time-series-as-bars.md @@ -142,9 +142,9 @@ Never show the points. ![Show points point never example](/static/img/docs/time-series-panel/bar-graph-show-points-never-7-4.png) -{{< docs/shared "visualizations/stack-series-link.md" >}} +{{< docs/shared lookup="visualizations/stack-series-link.md" source="grafana" version="" >}} -{{< docs/shared "visualizations/change-axis-link.md" >}} +{{< docs/shared lookup="visualizations/change-axis-link.md" source="grafana" version="" >}} ## Bar graph examples diff --git a/docs/sources/visualizations/time-series/graph-time-series-as-lines.md b/docs/sources/visualizations/time-series/graph-time-series-as-lines.md index 71b7624cef5..2f41135f5c2 100644 --- a/docs/sources/visualizations/time-series/graph-time-series-as-lines.md +++ b/docs/sources/visualizations/time-series/graph-time-series-as-lines.md @@ -207,9 +207,9 @@ Never show the points. ![Show points point never example](/static/img/docs/time-series-panel/line-graph-show-points-never-7-4.png) -{{< docs/shared "visualizations/stack-series-link.md" >}} +{{< docs/shared lookup="visualizations/stack-series-link.md" source="grafana" version="" >}} -{{< docs/shared "visualizations/change-axis-link.md" >}} +{{< docs/shared lookup="visualizations/change-axis-link.md" source="grafana" version="" >}} ## Fill below to diff --git a/docs/sources/visualizations/time-series/graph-time-series-as-points.md b/docs/sources/visualizations/time-series/graph-time-series-as-points.md index 3ed8b43fef9..924c7a7fc27 100644 --- a/docs/sources/visualizations/time-series/graph-time-series-as-points.md +++ b/docs/sources/visualizations/time-series/graph-time-series-as-points.md @@ -43,6 +43,6 @@ Point size set to 35: ![Show points point size 35 example](/static/img/docs/time-series-panel/points-graph-show-points-35-7-4.png) -{{< docs/shared "visualizations/stack-series-link.md" >}} +{{< docs/shared lookup="visualizations/stack-series-link.md" source="grafana" version="" >}} -{{< docs/shared "visualizations/change-axis-link.md" >}} +{{< docs/shared lookup="visualizations/change-axis-link.md" source="grafana" version="" >}}