PackageJson: Prettify markdown/mdx on commit with lint-staged (#37616)

* Format md,mdx files with prettier on lint-staged

* Manually run prettier on docs/sources
This commit is contained in:
Connor Lindsey
2021-08-06 07:52:36 -06:00
committed by GitHub
parent e9c032f10f
commit b78a67cec7
301 changed files with 3216 additions and 2980 deletions

View File

@@ -6,4 +6,4 @@ title: Grafana Cloud
Grafana Cloud is a highly available, fast, fully managed OpenSaaS logging and metrics platform. Everything you love about Grafana, but Grafana Labs hosts it for you and handles all the headaches.
[Learn more about Grafana Cloud](https://grafana.com/cloud/) or try the [Grafana Cloud Linux host quickstart](/docs/grafana-cloud/quickstart/).
[Learn more about Grafana Cloud](https://grafana.com/cloud/) or try the [Grafana Cloud Linux host quickstart](/docs/grafana-cloud/quickstart/).

View File

@@ -4,4 +4,4 @@ title: What is Grafana?
## What is Grafana?
Grafana is open source visualization and analytics software. It allows you to query, visualize, alert on, and explore your metrics no matter where they are stored. In plain English, it provides you with tools to turn your time-series database (TSDB) data into beautiful graphs and visualizations.
Grafana is open source visualization and analytics software. It allows you to query, visualize, alert on, and explore your metrics no matter where they are stored. In plain English, it provides you with tools to turn your time-series database (TSDB) data into beautiful graphs and visualizations.

View File

@@ -36,6 +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" >}}
- Bullet text
{{< /docs/list >}}
{{< docs/shared "test.md" >}}
- Bullet text
{{< /docs/list >}}

View File

@@ -10,4 +10,4 @@ Use the instructions in [Getting started with Grafana]({{< relref "../../getting
- Log in to Grafana.
- Create your first dashboard.
You can also configure a [Grafana Cloud](https://grafana.com/docs/grafana-cloud/) instance to display system metrics without having to host Grafana yourself.
You can also configure a [Grafana Cloud](https://grafana.com/docs/grafana-cloud/) instance to display system metrics without having to host Grafana yourself.

View File

@@ -1,7 +1,3 @@
---
headless: true
---

View File

@@ -2,4 +2,4 @@
title: Intro paragraph
---
[InfluxDB](https://www.influxdata.com/products/) is an open-source time series database (TSDB) developed by [InfluxData](https://www.influxdata.com/). It is optimized for fast, high-availability storage and retrieval of time series data in fields such as operations monitoring, application metrics, IoT sensor data, and real-time analytics.
[InfluxDB](https://www.influxdata.com/products/) is an open-source time series database (TSDB) developed by [InfluxData](https://www.influxdata.com/). It is optimized for fast, high-availability storage and retrieval of time series data in fields such as operations monitoring, application metrics, IoT sensor data, and real-time analytics.

View File

@@ -4,5 +4,6 @@ title: View org list as server admin
{{< docs/list >}}
{{< docs/shared "manage-users/view-server-org-list.md" >}}
1. Click the name of the organization that you want to edit.
{{< /docs/list >}}
{{< /docs/list >}}

View File

@@ -3,4 +3,4 @@ title: View org list as server admin
---
1. Hover your cursor over the **Server Admin** (shield) icon until a menu appears.
1. Click **Orgs**.
1. Click **Orgs**.

View File

@@ -3,6 +3,7 @@ title: View user list and search - list format
---
{{< docs/list >}}
{{< docs/shared "manage-users/view-server-user-list.md" >}}
1. Click the user account that you want to edit. If necessary, use the search field to find the account.
{{< /docs/list >}}
{{< docs/shared "manage-users/view-server-user-list.md" >}}
1. Click the user account that you want to edit. If necessary, use the search field to find the account.
{{< /docs/list >}}

View File

@@ -3,4 +3,4 @@ title: View user list as server admin
---
1. Hover your cursor over the **Server Admin** (shield) icon until a menu appears.
1. Click **Users**.
1. Click **Users**.

View File

@@ -3,4 +3,4 @@ title: View team list
---
1. Hover your cursor over the **Configuration** (gear) icon in the side menu.
1. Click **Teams**. Grafana displays the team list.
1. Click **Teams**. Grafana displays the team list.

View File

@@ -2,4 +2,4 @@
title: Panel links intro
---
Each panel can have its own set of links that are shown in the upper left corner of the panel. You can link to any available URL, including dashboards, panels, or external sites. You can even control the time range to ensure the user is zoomed in on the right data in Grafana.
Each panel can have its own set of links that are shown in the upper left corner of the panel. You can link to any available URL, including dashboards, panels, or external sites. You can even control the time range to ensure the user is zoomed in on the right data in Grafana.

View File

@@ -2,4 +2,4 @@
title: Repeat panel intro
---
Grafana lets you create dynamic dashboards using _template variables_. All variables in your queries expand to the current value of the variable before the query is sent to the database. Variables let you reuse a single dashboard for all your services.
Grafana lets you create dynamic dashboards using _template variables_. All variables in your queries expand to the current value of the variable before the query is sent to the database. Variables let you reuse a single dashboard for all your services.

View File

@@ -3,4 +3,4 @@ title: Navigate to the dashboard list
---
1. Navigate to the dashboard you want to set as the home dashboard.
1. Click the star next to the dashboard title to mark the dashboard as a favorite if it is not already.
1. Click the star next to the dashboard title to mark the dashboard as a favorite if it is not already.

View File

@@ -2,4 +2,4 @@
title: Navigate to user preferences list
---
1. On the left menu, hover your cursor over your avatar and then click **Preferences**.
1. On the left menu, hover your cursor over your avatar and then click **Preferences**.

View File

@@ -3,4 +3,4 @@ title: Click Org preferences
---
1. Hover your cursor over the **Configuration** (gear) icon.
1. Click **Preferences**.
1. Click **Preferences**.

View File

@@ -3,4 +3,4 @@ title: Select home dashboard list
---
1. In the **Home Dashboard** field, select the dashboard that you want to use for your home dashboard. Options include all starred dashboards.
1. Click **Save**.
1. Click **Save**.

View File

@@ -3,4 +3,4 @@ title: Select home dashboard list
---
1. Click to select an option in the **Timezone** list. **Default** is either the browser local timezone or the timezone selected at a higher level. Refer to [Time range controls]({{< relref "../../dashboards/time-range-controls.md" >}}) for more information about Grafana time settings.
1. Click **Save**.
1. Click **Save**.

View File

@@ -3,4 +3,4 @@ title: Select the UI theme
---
1. In the Preferences section, select the **UI theme**.
1. Click **Save**.
1. Click **Save**.

View File

@@ -2,4 +2,4 @@
title: Some tasks require permissions
---
Some tasks require certain permissions. For more information about roles, refer to [Permissions]({{< relref "../../permissions/_index.md" >}}).
Some tasks require certain permissions. For more information about roles, refer to [Permissions]({{< relref "../../permissions/_index.md" >}}).

View File

@@ -3,5 +3,6 @@ title: Shared Content
---
Intro text
- test bullet 1
- test bullet 2
- test bullet 2

View File

@@ -3,4 +3,4 @@ title: View user list
---
1. Hover your cursor over the **Server Admin** (shield) icon until a menu appears.
1. Click **Orgs**.
1. Click **Orgs**.

View File

@@ -4,4 +4,4 @@ title: View user list
1. Hover your cursor over the **Server Admin** (shield) icon until a menu appears.
1. Click **Users**.
1. Click the user account that you want to edit. If necessary, use the search field to find the account.
1. Click the user account that you want to edit. If necessary, use the search field to find the account.

View File

@@ -4,4 +4,4 @@ title: Stack series link
## Axis
For full instructions, refer to [Change axis display]({{< relref "../../panels/visualizations/time-series/change-axis-display.md" >}}).
For full instructions, refer to [Change axis display]({{< relref "../../panels/visualizations/time-series/change-axis-display.md" >}}).

View File

@@ -15,4 +15,4 @@ Use these settings to refine how the legend appears in your visualization.
Choose where to display the legend.
- **Bottom -** Below the graph.
- **Right -** To the right of the graph.
- **Right -** To the right of the graph.

View File

@@ -4,4 +4,4 @@ title: Stack series link
### Stack series
For full instructions, refer to [Graph stacked time series]({{< relref "../../panels/visualizations/time-series/graph-time-series-stacking.md" >}}).
For full instructions, refer to [Graph stacked time series]({{< relref "../../panels/visualizations/time-series/graph-time-series-stacking.md" >}}).