Docs: Update keyboard shortcuts formatting (#19637)

* Docs: Update keyboard shortcuts formatting in docs

* Docs: Update keystroke separators

* Docs: Remove spaces in keyboard shortcuts
This commit is contained in:
Linus Groh 2019-10-07 13:56:00 +01:00 committed by Marcus Olsson
parent 20faef8de5
commit b21a130118
7 changed files with 8 additions and 8 deletions

View File

@ -77,7 +77,7 @@ make docs-build
This will rebuild the docs Docker image. This will rebuild the docs Docker image.
To be able to use your image(s) you have to quit (CTRL-C) the `make watch` command (that you run in the same directory as this README). Then simply rerun `make watch`, it will restart the docs server but now with access to your image(s). To be able to use your image(s) you have to quit (Ctrl+C) the `make watch` command (that you run in the same directory as this README). Then simply rerun `make watch`, it will restart the docs server but now with access to your image(s).
### Editing content ### Editing content

View File

@ -63,7 +63,7 @@ On the left-hand side of the query field is a `Metrics` button, clicking on this
The Query field supports autocomplete for metric names, function and works mostly the same way as the standard Prometheus query editor. Press the enter key to execute a query. The Query field supports autocomplete for metric names, function and works mostly the same way as the standard Prometheus query editor. Press the enter key to execute a query.
The autocomplete menu can be trigger by pressing Ctrl + Space. The Autocomplete menu contains a new History section with a list of recently executed queries. The autocomplete menu can be trigger by pressing Ctrl+Space. The Autocomplete menu contains a new History section with a list of recently executed queries.
Suggestions can appear under the query field - click on them to update your query with the suggested change. Suggestions can appear under the query field - click on them to update your query with the suggested change.

View File

@ -18,7 +18,7 @@ The main panel in Grafana is simply named Graph. It provides a very rich set of
1. Clicking the title for a panel exposes a menu. The `edit` option opens additional configuration 1. Clicking the title for a panel exposes a menu. The `edit` option opens additional configuration
options for the panel. options for the panel.
2. Click to open color and axis selection. 2. Click to open color and axis selection.
3. Click to only show this series. Shift/Ctrl + click to hide series. 3. Click to only show this series. Shift/Ctrl+Click to hide series.
## General ## General

View File

@ -50,4 +50,4 @@ Hit `?` on your keyboard to open the shortcuts help modal.
- `t` Move time range back - `t` Move time range back
- `t` Move time range forward - `t` Move time range forward
mod = CTRL on Windows or Linux and CMD key on macOS mod = Ctrl on Windows or Linux and Cmd key on macOS

View File

@ -25,7 +25,7 @@ weight = 3
{{< imgbox max-width="60%" img="/img/docs/v41/shared_tooltip.gif" caption="Shared tooltip" >}} {{< imgbox max-width="60%" img="/img/docs/v41/shared_tooltip.gif" caption="Shared tooltip" >}}
Showing the tooltip on all panels at the same time has been a long standing request in Grafana and we are really happy to finally be able to release it. Showing the tooltip on all panels at the same time has been a long standing request in Grafana and we are really happy to finally be able to release it.
You can enable/disable the shared tooltip from the dashboard settings menu or cycle between default, shared tooltip and shared crosshair by pressing `CTRL + O` or `CMD + O`. You can enable/disable the shared tooltip from the dashboard settings menu or cycle between default, shared tooltip and shared crosshair by pressing Ctrl/Cmd+O.
<div class="clearfix"></div> <div class="clearfix"></div>

View File

@ -18,7 +18,7 @@ Grafana v4.6 brings many enhancements to Annotations, Cloudwatch and Prometheus.
{{< docs-imagebox img="/img/docs/v46/add_annotation_region.png" max-width= "800px" >}} {{< docs-imagebox img="/img/docs/v46/add_annotation_region.png" max-width= "800px" >}}
You can now add annotation events and regions right from the graph panel! Just hold CTRL/CMD + click or drag region to open the **Add Annotation** view. The You can now add annotation events and regions right from the graph panel! Just hold Ctrl/Cmd+Click or drag region to open the **Add Annotation** view. The
[Annotations]({{< relref "reference/annotations.md" >}}) documentation is updated to include details on this new exciting feature. [Annotations]({{< relref "reference/annotations.md" >}}) documentation is updated to include details on this new exciting feature.
### Cloudwatch ### Cloudwatch

View File

@ -21,14 +21,14 @@ Grafana v4.6+ comes with a native annotation store and the ability to add annota
## Adding annotations ## Adding annotations
By holding down **CTRL** or **CMD** + Click. Add tags to the annotation will make it searchable from other dashboards. By holding down Ctrl/Cmd+Click. Add tags to the annotation will make it searchable from other dashboards.
{{< docs-imagebox img="/img/docs/annotations/annotation-still.png" {{< docs-imagebox img="/img/docs/annotations/annotation-still.png"
max-width="600px" animated-gif="/img/docs/annotations/annotation.gif" >}} max-width="600px" animated-gif="/img/docs/annotations/annotation.gif" >}}
### Adding regions events ### Adding regions events
You can also hold down **CTRL** or **CMD** and select region to create a region annotation. You can also hold down Ctrl/Cmd and select region to create a region annotation.
{{< docs-imagebox img="/img/docs/annotations/region-annotation-still.png" {{< docs-imagebox img="/img/docs/annotations/region-annotation-still.png"
max-width="600px" animated-gif="/img/docs/annotations/region-annotation.gif" >}} max-width="600px" animated-gif="/img/docs/annotations/region-annotation.gif" >}}