Skip to content

Commit ca195b0

Browse files
authored
Merge pull request kubernetes-sigs#3786 from liupeng0518/master
fix img dir
2 parents 16b28d8 + 48fe50c commit ca195b0

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ hide:
55
---
66

77
<p align="center">
8-
<img src="img/external-dns.png" width="40%" align="center" alt="ExternalDNS">
8+
<img src="docs/img/external-dns.png" width="40%" align="center" alt="ExternalDNS">
99
</p>
1010

1111
# ExternalDNS

docs/scripts/docs.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ func removeLinkPrefixInIndex() {
3030

3131
updatedContent := strings.ReplaceAll(string(content), "](./docs/", "](")
3232
updatedContent = strings.ReplaceAll(updatedContent, "](docs/", "](")
33+
updatedContent = strings.ReplaceAll(updatedContent, "docs/img/external-dns.png", "img/external-dns.png")
3334

3435
f, err := os.OpenFile("./docs/index.md", os.O_RDWR, 0o644)
3536
if err != nil {

0 commit comments

Comments
 (0)