diff --git a/docs/sources/datasources/influxdb/_index.md b/docs/sources/datasources/influxdb/_index.md index 11a5fb064cc..d3dd990c98c 100644 --- a/docs/sources/datasources/influxdb/_index.md +++ b/docs/sources/datasources/influxdb/_index.md @@ -17,7 +17,7 @@ weight: 700 # InfluxDB data source -{{< docs/shared "influxdb/intro.md" >}} +{{< docs/shared lookup="influxdb/intro.md" source="grafana" version="" >}} Grafana includes built-in support for InfluxDB. This topic explains options, variables, querying, and other features specific to the InfluxDB data source, which include its [feature-rich code editor for queries and visual query builder]({{< relref "./query-editor/" >}}). diff --git a/docs/sources/datasources/tempo/query-editor/index.md b/docs/sources/datasources/tempo/query-editor/index.md index 4666eaa3f38..0a8e21fa6d5 100644 --- a/docs/sources/datasources/tempo/query-editor/index.md +++ b/docs/sources/datasources/tempo/query-editor/index.md @@ -75,7 +75,7 @@ You can create TraceQL queries using the Query editor or using Search query tab [//]: # 'Include content for preview of Search tab featuring TraceQL query builder' -{{< docs/shared source="grafana" lookup="datasources/tempo-search-traceql.md" leveloffset="+1" >}} +{{< docs/shared source="grafana" lookup="datasources/tempo-search-traceql.md" leveloffset="+1" version="" >}} ## Query Loki for traces diff --git a/docs/sources/fundamentals/_index.md b/docs/sources/fundamentals/_index.md index 82adaa25c94..430c2381fdc 100644 --- a/docs/sources/fundamentals/_index.md +++ b/docs/sources/fundamentals/_index.md @@ -9,8 +9,8 @@ weight: 8 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/getting-started/get-started-grafana-influxdb.md b/docs/sources/getting-started/get-started-grafana-influxdb.md index fc08912fd71..c7cf4f9f4dc 100644 --- a/docs/sources/getting-started/get-started-grafana-influxdb.md +++ b/docs/sources/getting-started/get-started-grafana-influxdb.md @@ -8,7 +8,7 @@ weight: 400 # Get started with Grafana and InfluxDB -{{< docs/shared "influxdb/intro.md" >}} +{{< docs/shared lookup="influxdb/intro.md" source="grafana" version="" >}} #### Get InfluxDB diff --git a/docs/sources/old-alerting/_index.md b/docs/sources/old-alerting/_index.md index 3b7ef1d714f..68bcf2e7782 100644 --- a/docs/sources/old-alerting/_index.md +++ b/docs/sources/old-alerting/_index.md @@ -24,4 +24,4 @@ You can perform the following tasks for alerts: - [Test alert rules and troubleshoot]({{< relref "troubleshoot-alerts/" >}}) - [Add or edit an alert contact point]({{< relref "notifications/" >}}) -{{< docs/shared "alerts/grafana-managed-alerts.md" >}} +{{< docs/shared lookup="alerts/grafana-managed-alerts.md" source="grafana" version="" >}} diff --git a/docs/sources/panels-visualizations/visualizations/bar-chart/index.md b/docs/sources/panels-visualizations/visualizations/bar-chart/index.md index 72369865de0..c2501700482 100644 --- a/docs/sources/panels-visualizations/visualizations/bar-chart/index.md +++ b/docs/sources/panels-visualizations/visualizations/bar-chart/index.md @@ -122,9 +122,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/panels-visualizations/visualizations/histogram/index.md b/docs/sources/panels-visualizations/visualizations/histogram/index.md index d49d15c7e71..11aa778bb14 100644 --- a/docs/sources/panels-visualizations/visualizations/histogram/index.md +++ b/docs/sources/panels-visualizations/visualizations/histogram/index.md @@ -66,9 +66,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/panels-visualizations/visualizations/pie-chart/index.md b/docs/sources/panels-visualizations/visualizations/pie-chart/index.md index 31566987429..64b40369a27 100644 --- a/docs/sources/panels-visualizations/visualizations/pie-chart/index.md +++ b/docs/sources/panels-visualizations/visualizations/pie-chart/index.md @@ -72,9 +72,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/panels-visualizations/visualizations/state-timeline/index.md b/docs/sources/panels-visualizations/visualizations/state-timeline/index.md index 83f652dc175..882d2558f0d 100644 --- a/docs/sources/panels-visualizations/visualizations/state-timeline/index.md +++ b/docs/sources/panels-visualizations/visualizations/state-timeline/index.md @@ -62,4 +62,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 [Color scheme]({{< relref "../../configure-standard-options/#color-scheme" >}}) 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/panels-visualizations/visualizations/status-history/index.md b/docs/sources/panels-visualizations/visualizations/status-history/index.md index e633829657e..b4f7e439055 100644 --- a/docs/sources/panels-visualizations/visualizations/status-history/index.md +++ b/docs/sources/panels-visualizations/visualizations/status-history/index.md @@ -59,4 +59,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 [Color scheme]({{< relref "../../configure-standard-options/#color-scheme" >}}) 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/panels-visualizations/visualizations/time-series/index.md b/docs/sources/panels-visualizations/visualizations/time-series/index.md index 639393371ce..a188e64f431 100644 --- a/docs/sources/panels-visualizations/visualizations/time-series/index.md +++ b/docs/sources/panels-visualizations/visualizations/time-series/index.md @@ -40,13 +40,13 @@ The time series visualization type is the default and primary way to visualize t Tooltip options control the information overlay that appears when you hover over data points in the graph. -{{< docs/shared "visualizations/tooltip-mode.md" >}} +{{< docs/shared lookup="visualizations/tooltip-mode.md" source="grafana" version="" >}} ## Legend options Legend options control the series names and statistics that appear under or to the right of the graph. -{{< docs/shared "visualizations/legend-mode.md" >}} +{{< docs/shared lookup="visualizations/legend-mode.md" source="grafana" version="" >}} ## Graph styles diff --git a/docs/sources/setup-grafana/configure-security/configure-authentication/generic-oauth/index.md b/docs/sources/setup-grafana/configure-security/configure-authentication/generic-oauth/index.md index 17aa7a95ed3..8e726f53404 100644 --- a/docs/sources/setup-grafana/configure-security/configure-authentication/generic-oauth/index.md +++ b/docs/sources/setup-grafana/configure-security/configure-authentication/generic-oauth/index.md @@ -14,7 +14,7 @@ weight: 700 # Configure generic OAuth2 authentication -{{< docs/shared "auth/intro.md" >}} +{{< docs/shared lookup="auth/intro.md" source="grafana" version="" >}} Grafana provides OAuth2 integrations for the following auth providers: diff --git a/docs/sources/setup-grafana/configure-security/configure-authentication/github/index.md b/docs/sources/setup-grafana/configure-security/configure-authentication/github/index.md index 4dcdf38f7b8..58c0c3b6643 100644 --- a/docs/sources/setup-grafana/configure-security/configure-authentication/github/index.md +++ b/docs/sources/setup-grafana/configure-security/configure-authentication/github/index.md @@ -14,7 +14,7 @@ weight: 900 # Configure GitHub OAuth2 authentication -{{< docs/shared "auth/intro.md" >}} +{{< docs/shared lookup="auth/intro.md" source="grafana" version="" >}} This topic describes how to configure GitHub OAuth2 authentication. diff --git a/docs/sources/setup-grafana/configure-security/configure-authentication/gitlab/index.md b/docs/sources/setup-grafana/configure-security/configure-authentication/gitlab/index.md index 61490a86afa..bce5521d5bf 100644 --- a/docs/sources/setup-grafana/configure-security/configure-authentication/gitlab/index.md +++ b/docs/sources/setup-grafana/configure-security/configure-authentication/gitlab/index.md @@ -19,7 +19,7 @@ weight: 1000 # Configure GitLab OAuth2 authentication -{{< docs/shared "auth/intro.md" >}} +{{< docs/shared lookup="auth/intro.md" source="grafana" version="" >}} This topic describes how to configure GitLab OAuth2 authentication. diff --git a/docs/sources/setup-grafana/configure-security/configure-authentication/okta/index.md b/docs/sources/setup-grafana/configure-security/configure-authentication/okta/index.md index 50ce4c50720..4048c9d2fed 100644 --- a/docs/sources/setup-grafana/configure-security/configure-authentication/okta/index.md +++ b/docs/sources/setup-grafana/configure-security/configure-authentication/okta/index.md @@ -9,7 +9,7 @@ weight: 1400 # Configure Okta OAuth2 authentication -{{< docs/shared "auth/intro.md" >}} +{{< docs/shared lookup="auth/intro.md" source="grafana" version="" >}} ## Before you begin diff --git a/docs/sources/setup-grafana/start-restart-grafana.md b/docs/sources/setup-grafana/start-restart-grafana.md index 06919c1ee1c..4a29b5e7718 100644 --- a/docs/sources/setup-grafana/start-restart-grafana.md +++ b/docs/sources/setup-grafana/start-restart-grafana.md @@ -48,7 +48,7 @@ sudo systemctl enable grafana-server.service #### Serve Grafana on a port < 1024 -{{< docs/shared "systemd/bind-net-capabilities.md" >}} +{{< docs/shared lookup="systemd/bind-net-capabilities.md" source="grafana" version="" >}} ### Restart the Grafana server using systemd 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 1539302f7b9..e1353271085 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. 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 211caa5e788..da81d2baaa7 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. diff --git a/docs/sources/upgrade-guide/upgrade-v8.0/index.md b/docs/sources/upgrade-guide/upgrade-v8.0/index.md index 5f803a75302..023314e16a1 100644 --- a/docs/sources/upgrade-guide/upgrade-v8.0/index.md +++ b/docs/sources/upgrade-guide/upgrade-v8.0/index.md @@ -12,7 +12,7 @@ weight: 2900 # Upgrade to Grafana v8.0 -{{< docs/shared lookup="upgrade/upgrade-common-tasks.md" source="grafana" >}} +{{< docs/shared lookup="upgrade/upgrade-common-tasks.md" source="grafana" version="" >}} ## Technical notes diff --git a/docs/sources/upgrade-guide/upgrade-v8.1/index.md b/docs/sources/upgrade-guide/upgrade-v8.1/index.md index 00500cc4e6d..cc1af18fc48 100644 --- a/docs/sources/upgrade-guide/upgrade-v8.1/index.md +++ b/docs/sources/upgrade-guide/upgrade-v8.1/index.md @@ -12,7 +12,7 @@ weight: 2800 # Upgrade to Grafana v8.1 -{{< docs/shared "upgrade/upgrade-common-tasks.md" >}} +{{< docs/shared lookup="upgrade/upgrade-common-tasks.md" source="grafana" version="" >}} ## Technical notes diff --git a/docs/sources/upgrade-guide/upgrade-v8.2/index.md b/docs/sources/upgrade-guide/upgrade-v8.2/index.md index 9dade2c4934..0c74cbc1ecb 100644 --- a/docs/sources/upgrade-guide/upgrade-v8.2/index.md +++ b/docs/sources/upgrade-guide/upgrade-v8.2/index.md @@ -12,7 +12,7 @@ weight: 2700 # Upgrade to Grafana v8.2 -{{< docs/shared "upgrade/upgrade-common-tasks.md" >}} +{{< docs/shared lookup="upgrade/upgrade-common-tasks.md" source="grafana" version="" >}} ## Technical notes diff --git a/docs/sources/upgrade-guide/upgrade-v8.3/index.md b/docs/sources/upgrade-guide/upgrade-v8.3/index.md index eee581bcb51..2036eb506ee 100644 --- a/docs/sources/upgrade-guide/upgrade-v8.3/index.md +++ b/docs/sources/upgrade-guide/upgrade-v8.3/index.md @@ -12,7 +12,7 @@ weight: 2600 # Upgrade to Grafana v8.3 -{{< docs/shared "upgrade/upgrade-common-tasks.md" >}} +{{< docs/shared lookup="upgrade/upgrade-common-tasks.md" source="grafana" version="" >}} ## Technical notes diff --git a/docs/sources/upgrade-guide/upgrade-v8.4/index.md b/docs/sources/upgrade-guide/upgrade-v8.4/index.md index 30e0bf54af7..1f1d099586b 100644 --- a/docs/sources/upgrade-guide/upgrade-v8.4/index.md +++ b/docs/sources/upgrade-guide/upgrade-v8.4/index.md @@ -12,7 +12,7 @@ weight: 2500 # Upgrade to Grafana v8.4 -{{< docs/shared "upgrade/upgrade-common-tasks.md" >}} +{{< docs/shared lookup="upgrade/upgrade-common-tasks.md" source="grafana" version="" >}} ## Technical notes diff --git a/docs/sources/upgrade-guide/upgrade-v8.5/index.md b/docs/sources/upgrade-guide/upgrade-v8.5/index.md index 5f0f06a64f8..73612b9dd38 100644 --- a/docs/sources/upgrade-guide/upgrade-v8.5/index.md +++ b/docs/sources/upgrade-guide/upgrade-v8.5/index.md @@ -12,7 +12,7 @@ weight: 2400 # Upgrade to Grafana v8.5 -{{< docs/shared "upgrade/upgrade-common-tasks.md" >}} +{{< docs/shared lookup="upgrade/upgrade-common-tasks.md" source="grafana" version="" >}} ## Technical notes diff --git a/docs/sources/upgrade-guide/upgrade-v9.0/index.md b/docs/sources/upgrade-guide/upgrade-v9.0/index.md index 421baff697c..670b514b52c 100644 --- a/docs/sources/upgrade-guide/upgrade-v9.0/index.md +++ b/docs/sources/upgrade-guide/upgrade-v9.0/index.md @@ -12,7 +12,7 @@ weight: 2300 # Upgrade to Grafana v9.0 -{{< docs/shared "upgrade/upgrade-common-tasks.md" >}} +{{< docs/shared lookup="upgrade/upgrade-common-tasks.md" source="grafana" version="" >}} ## Technical notes diff --git a/docs/sources/upgrade-guide/upgrade-v9.1/index.md b/docs/sources/upgrade-guide/upgrade-v9.1/index.md index 900b121c3a8..1f4894bb22d 100644 --- a/docs/sources/upgrade-guide/upgrade-v9.1/index.md +++ b/docs/sources/upgrade-guide/upgrade-v9.1/index.md @@ -12,7 +12,7 @@ weight: 2200 # Upgrade to Grafana v9.1 -{{< docs/shared "upgrade/upgrade-common-tasks.md" >}} +{{< docs/shared lookup="upgrade/upgrade-common-tasks.md" source="grafana" version="" >}} ## Technical notes diff --git a/docs/sources/upgrade-guide/upgrade-v9.2/index.md b/docs/sources/upgrade-guide/upgrade-v9.2/index.md index b4dda29c704..37698a20a9e 100644 --- a/docs/sources/upgrade-guide/upgrade-v9.2/index.md +++ b/docs/sources/upgrade-guide/upgrade-v9.2/index.md @@ -12,7 +12,7 @@ weight: 2100 # Upgrade to Grafana v9.2 -{{< docs/shared "upgrade/upgrade-common-tasks.md" >}} +{{< docs/shared lookup="upgrade/upgrade-common-tasks.md" source="grafana" version="" >}} ## Technical notes diff --git a/docs/sources/upgrade-guide/upgrade-v9.3/index.md b/docs/sources/upgrade-guide/upgrade-v9.3/index.md index 6d74bbbacfa..26fc81d08f9 100644 --- a/docs/sources/upgrade-guide/upgrade-v9.3/index.md +++ b/docs/sources/upgrade-guide/upgrade-v9.3/index.md @@ -12,7 +12,7 @@ weight: 2000 # Upgrade to Grafana v9.3 -{{< docs/shared "upgrade/upgrade-common-tasks.md" >}} +{{< docs/shared lookup="upgrade/upgrade-common-tasks.md" source="grafana" version="" >}} ## Technical notes diff --git a/docs/sources/upgrade-guide/upgrade-v9.4/index.md b/docs/sources/upgrade-guide/upgrade-v9.4/index.md index 4025d8d2ff9..5e2bd054904 100644 --- a/docs/sources/upgrade-guide/upgrade-v9.4/index.md +++ b/docs/sources/upgrade-guide/upgrade-v9.4/index.md @@ -12,7 +12,7 @@ weight: 1995 # Upgrade to Grafana v9.4 -{{< docs/shared "upgrade/upgrade-common-tasks.md" >}} +{{< docs/shared lookup="upgrade/upgrade-common-tasks.md" source="grafana" version="" >}} ## Technical notes diff --git a/docs/sources/upgrade-guide/upgrade-v9.5/index.md b/docs/sources/upgrade-guide/upgrade-v9.5/index.md index 535f92affd5..8146767d96d 100644 --- a/docs/sources/upgrade-guide/upgrade-v9.5/index.md +++ b/docs/sources/upgrade-guide/upgrade-v9.5/index.md @@ -12,7 +12,7 @@ weight: 1800 # Upgrade to Grafana v9.5 -{{< docs/shared "upgrade/upgrade-common-tasks.md" >}} +{{< docs/shared lookup="upgrade/upgrade-common-tasks.md" source="grafana" version="" >}} ## Technical notes