From 6e5ba1921d7f802f44225a61927daf350200a218 Mon Sep 17 00:00:00 2001
From: Roman Khavronenko <roman@victoriametrics.com>
Date: Sat, 14 May 2022 19:29:09 +0200
Subject: [PATCH] vmalert: fix readme formatting (#2587)

Signed-off-by: hagen1778 <roman@victoriametrics.com>
---
 app/vmalert/README.md | 8 ++------
 docs/vmalert.md       | 8 ++------
 2 files changed, 4 insertions(+), 12 deletions(-)

diff --git a/app/vmalert/README.md b/app/vmalert/README.md
index 2b12c8011f..e89fb259c0 100644
--- a/app/vmalert/README.md
+++ b/app/vmalert/README.md
@@ -195,9 +195,7 @@ Like in Alertmanager you can define [reusable templates](https://prometheus.io/d
 to share same templates across annotations. Just define the templates in a file and 
 set the path via `-rule.templates` flag.
 
-For example, the template can be defined as following:
-
-`/etc/vmalert/templates/global/common.tpl`
+For example, template `grafana.filter` can be defined as following:
 
 ```
 {{ define "grafana.filter" -}}
@@ -210,9 +208,7 @@ For example, the template can be defined as following:
 {{- end -}}
 ```
 
-And used in annotations:
-
-`/etc/vmalert/rules/project/rule.yaml`
+And then used in annotations:
 
 ```yaml
 groups:
diff --git a/docs/vmalert.md b/docs/vmalert.md
index c2365a8f7a..d7e4d53b01 100644
--- a/docs/vmalert.md
+++ b/docs/vmalert.md
@@ -199,9 +199,7 @@ Like in Alertmanager you can define [reusable templates](https://prometheus.io/d
 to share same templates across annotations. Just define the templates in a file and 
 set the path via `-rule.templates` flag.
 
-For example, the template can be defined as following:
-
-`/etc/vmalert/templates/global/common.tpl`
+For example, template `grafana.filter` can be defined as following:
 
 ```
 {{ define "grafana.filter" -}}
@@ -214,9 +212,7 @@ For example, the template can be defined as following:
 {{- end -}}
 ```
 
-And used in annotations:
-
-`/etc/vmalert/rules/project/rule.yaml`
+And then used in annotations:
 
 ```yaml
 groups: