[v8.5.x] Use relative aliases for all non-current Grafana aliases and remove current page latest aliases (#60062) (#61032)
* Use relative aliases for all non-current Grafana aliases Signed-off-by: Jack Baldry <jack.baldry@grafana.com> * Remove all current page aliases find docs/sources -type f -name '*.md' -exec sed -z -i 's#\n *- /docs/grafana/latest/[^\n]*\n#\n#' {} \; find docs/sources -type f -name '*.md' -exec sed -Ez -i 's#\n((aliases:\n *-)|aliases:\n)#\n\2#' {} \; Signed-off-by: Jack Baldry <jack.baldry@grafana.com> Signed-off-by: Jack Baldry <jack.baldry@grafana.com>
This commit is contained in:
@@ -1,8 +1,7 @@
|
||||
---
|
||||
aliases:
|
||||
- /docs/grafana/latest/panels/format-data/
|
||||
- /docs/grafana/latest/panels/value-mappings/
|
||||
- /docs/sources/panels/format-data/
|
||||
- value-mappings/
|
||||
title: Format data using value mapping
|
||||
weight: 600
|
||||
---
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
---
|
||||
aliases:
|
||||
- /docs/grafana/latest/panels/format-data/about-value-mapping/
|
||||
- /docs/sources/panels/format-data/about-value-mapping/
|
||||
title: About value mapping
|
||||
weight: 10
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
---
|
||||
aliases:
|
||||
- /docs/grafana/latest/panels/format-data/edit-value-mapping/
|
||||
- /docs/sources/panels/format-data/edit-value-mapping/
|
||||
title: Edit a value mapping
|
||||
weight: 60
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
---
|
||||
aliases:
|
||||
- /docs/grafana/latest/panels/format-data/map-a-range/
|
||||
- /docs/sources/panels/format-data/map-a-range/
|
||||
title: Map a range
|
||||
weight: 30
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
---
|
||||
aliases:
|
||||
- /docs/grafana/latest/panels/format-data/map-a-regular-expression/
|
||||
- /docs/sources/panels/format-data/map-a-regular-expression/
|
||||
title: Map a regular expression
|
||||
weight: 40
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
---
|
||||
aliases:
|
||||
- /docs/grafana/latest/panels/format-data/map-a-special-value/
|
||||
- /docs/sources/panels/format-data/map-a-special-value/
|
||||
title: Map a special value
|
||||
weight: 50
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
---
|
||||
aliases:
|
||||
- /docs/grafana/latest/panels/format-data/map-a-value/
|
||||
- /docs/sources/panels/format-data/map-a-value/
|
||||
title: Map a value
|
||||
weight: 20
|
||||
|
||||
Reference in New Issue
Block a user