From 48fe50c39eb71d1dd7c23eecec4f50ed87fe2ce5 Mon Sep 17 00:00:00 2001 From: Samuel Liu Date: Mon, 17 Jul 2023 14:05:58 +0800 Subject: [PATCH] fix both the docs site and the README on github --- docs/scripts/docs.go | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/scripts/docs.go b/docs/scripts/docs.go index 3482ee156..59fdbd43f 100644 --- a/docs/scripts/docs.go +++ b/docs/scripts/docs.go @@ -30,6 +30,7 @@ func removeLinkPrefixInIndex() { updatedContent := strings.ReplaceAll(string(content), "](./docs/", "](") updatedContent = strings.ReplaceAll(updatedContent, "](docs/", "](") + updatedContent = strings.ReplaceAll(updatedContent, "docs/img/external-dns.png", "img/external-dns.png") f, err := os.OpenFile("./docs/index.md", os.O_RDWR, 0o644) if err != nil {