Commit graph

10 commits

Author SHA1 Message Date
sarah-spang
44171fc7b6
Add label and formatted JSON example (#1465)
# What this PR does
- Updates documentation 

## Which issue(s) this PR fixes
- Removed visible backticks to correct formatting
- Added example of a variable that returns alert labels
- Added details on how to send labels in formatted JSON

---------

Co-authored-by: Joey Orlando <joey.orlando@grafana.com>
Co-authored-by: Joey Orlando <joseph.t.orlando@gmail.com>
2023-03-23 17:12:19 +01:00
Vadim Stepanov
747fbfcb1b
Add regex_match Jinja filter (#1556)
# What this PR does
Adds a new `regex_match` filter to Jinja environment.

## Which issue(s) this PR fixes
This should be useful on its own, and also helpful for
https://github.com/grafana/oncall/pull/1555.

## Checklist

- [x] Tests updated
- [x] Documentation added
- [x] `CHANGELOG.md` updated
2023-03-16 10:18:49 +00:00
Joey Orlando
c08eeb72a3
add precommit rules for markdown/json files (#915)
* add markdownlint precommit steps + fix existing errors

* prettier json linting
2022-12-01 14:26:54 +01:00
alyssa wada
a6b8c6f30e remove manual CTAs and add section shortcode to alert-behavior 2022-11-03 14:11:37 -06:00
alyssa wada
35e37b07e7 Add temporary language to currently empty alert behavior doc until new content is complete 2022-11-03 11:34:32 -06:00
Jack Baldry
87d0a50e03
Ensure canonical URLs match the new page locations
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
2022-10-26 12:32:47 -04:00
Jack Baldry
7a22410bf6
Remove grafana-cloud absolute aliases
They will only redirect to oncall docs and not to grafana-cloud docs.
Relative aliases will correctly redirect within the grafana-cloud docs.

Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
2022-10-26 12:21:59 -04:00
Jack Baldry
f9b9096fa0
Run prettier on modified files front matter
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
2022-10-25 10:41:01 -04:00
Jack Baldry
037fa48b8f
Rewrite aliases to be relative
Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
2022-10-25 10:39:05 -04:00
alyssa wada
7d5d205996 restructure batch 2 2022-10-12 15:40:52 -06:00