From 09943407e40c55584c1db0411cc3251d1d0387ae Mon Sep 17 00:00:00 2001 From: Isabel <76437239+imatwawana@users.noreply.github.com> Date: Mon, 6 Feb 2023 11:48:42 -0500 Subject: [PATCH] docs: fix broken annotations link (#62834) * docs: fix broken annotations link Link to annotations section is broken because the section was never added. A placeholder for it was removed on this commit, but the link wasn't. This seems like the best place to point to. * fix relref formatting Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com> * removed TODOs from tables * prettier linting --------- Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com> --- .../view-dashboard-json-model/index.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/docs/sources/dashboards/build-dashboards/view-dashboard-json-model/index.md b/docs/sources/dashboards/build-dashboards/view-dashboard-json-model/index.md index a7868c4626f..41932837afe 100644 --- a/docs/sources/dashboards/build-dashboards/view-dashboard-json-model/index.md +++ b/docs/sources/dashboards/build-dashboards/view-dashboard-json-model/index.md @@ -75,7 +75,7 @@ Each field in the dashboard JSON is explained below with its usage: | **time** | time range for dashboard, i.e. last 6 hours, last 7 days, etc | | **timepicker** | timepicker metadata, see [timepicker section](#timepicker) for details | | **templating** | templating metadata, see [templating section](#templating) for details | -| **annotations** | annotations metadata, see [annotations section](#annotations) for details | +| **annotations** | annotations metadata, see [annotations]({{< relref "../annotate-visualizations" >}}) for how to add them | | **refresh** | auto-refresh interval | | **schemaVersion** | version of the JSON schema (integer), incremented each time a Grafana update brings changes to said schema | | **version** | version of the dashboard (integer), incremented each time the dashboard is updated | @@ -144,11 +144,11 @@ Usage of the fields is explained below: | --------------------- | -------------------------------------- | | **collapse** | whether timepicker is collapsed or not | | **enable** | whether timepicker is enabled or not | -| **notice** | TODO | -| **now** | TODO | -| **refresh_intervals** | TODO | -| **status** | TODO | -| **type** | TODO | +| **notice** | | +| **now** | | +| **refresh_intervals** | | +| **status** | | +| **type** | | ### templating @@ -236,6 +236,6 @@ Usage of the above mentioned fields in the templating section is explained below | **name** | name of variable | | **options** | array of variable text/value pairs available for selection on dashboard | | **query** | data source query used to fetch values for a variable | -| **refresh** | TODO | -| **regex** | TODO | +| **refresh** | | +| **regex** | | | **type** | type of variable, i.e. `custom`, `query` or `interval` |