From 1735db4c3bdd9ddad07c196206a2d87158bf28c3 Mon Sep 17 00:00:00 2001 From: Jack Baldry Date: Thu, 13 Jul 2023 15:38:35 +0100 Subject: [PATCH] Update all links to use `docs/reference` style (#2456) # What this PR does The `docs/reference` shortcode supports contextual destinations and version inference. `` is inferred to match the version of the documentation set. For example, the inferred version for the page /docs/grafana/oncall/latest/get-started/ is "latest". It can also be overriden using front matter. Given the same page, but with the additional front matter `oncall_version: next`, the variable is substituted with "next" rather than "latest". Contextual destinations are achieved using repeated labels in the shortcode inner text. The format is [