From b9d8bcb59ba1725dcc58a0c0c7e3dc812d3a75b3 Mon Sep 17 00:00:00 2001 From: Jack Baldry Date: Mon, 14 Nov 2022 17:00:28 -0400 Subject: [PATCH] Use relref resolved from nearest section (#58718) As image-rendering is a branch bundle, it is considered a section by Hugo and relrefs should be resolved from there even for child pages. The behavior that worked in `next` but not `latest` could be explained by the lenient but potentially ambiguous relref resolution algorithm Hugo uses. However, I have not determined the exact difference between the two sets of content that causes `next` to work but `latest` not to. Signed-off-by: Jack Baldry Signed-off-by: Jack Baldry --- .../setup-grafana/image-rendering/troubleshooting/index.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/sources/setup-grafana/image-rendering/troubleshooting/index.md b/docs/sources/setup-grafana/image-rendering/troubleshooting/index.md index 02b1e310da0..2275d224309 100644 --- a/docs/sources/setup-grafana/image-rendering/troubleshooting/index.md +++ b/docs/sources/setup-grafana/image-rendering/troubleshooting/index.md @@ -30,9 +30,9 @@ filters = rendering:debug You can also enable more logs in image renderer service itself by: -- Increasing the [log level]({{< relref "../../image-rendering#log-level" >}}). -- Enabling [verbose logging]({{< relref "../../image-rendering#verbose-logging" >}}). -- [Capturing headless browser output]({{< relref "../../image-rendering#capture-browser-output" >}}). +- Increasing the [log level]({{< relref ".#log-level" >}}). +- Enabling [verbose logging]({{< relref "./#verbose-logging" >}}). +- [Capturing headless browser output]({{< relref "./#capture-browser-output" >}}). ## Missing libraries