fix both the docs site and the README on github

This commit is contained in:
Samuel Liu 2023-07-17 14:05:58 +08:00
parent 17713874ff
commit 48fe50c39e

View File

@ -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 {