From d3ba9e4020a16c3c0224d988efa801450f6c1e4f Mon Sep 17 00:00:00 2001 From: Raymond Dodge Date: Tue, 14 Oct 2025 13:08:25 -0400 Subject: [PATCH] Fix image links in doc site (#7948) --- docs/fix_links.py | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/fix_links.py b/docs/fix_links.py index 6e2eaec485..7b6b01b995 100644 --- a/docs/fix_links.py +++ b/docs/fix_links.py @@ -36,6 +36,7 @@ def proc_items(items): s = s.replace('](README.md)', '](./)') s = s.replace('](/INSTALL.md', '](INSTALL.md') s = s.replace('](docs/', '](') + s = s.replace('](/docs/', '](/') s = URL_RE.sub(handle_url, s) item['Chapter']['content'] = ANCHOR_RE.sub(handle_anchor, s) proc_items(item['Chapter']['sub_items'])