Merge pull request #3786 from liupeng0518/master

fix img dir
This commit is contained in:
Kubernetes Prow Robot 2023-07-21 02:46:08 -07:00 committed by GitHub
commit ca195b034d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -5,7 +5,7 @@ hide:
---
<p align="center">
<img src="img/external-dns.png" width="40%" align="center" alt="ExternalDNS">
<img src="docs/img/external-dns.png" width="40%" align="center" alt="ExternalDNS">
</p>
# ExternalDNS

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 {