Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions pkg/manifest/manifest.go
Original file line number Diff line number Diff line change
Expand Up @@ -325,6 +325,10 @@ func constructNodeTree(files []string, node *Node, parent *Node) (bool, error) {
return changed, err
}
fileName := path.Base(file)
// Rename README.md files to index.md
if strings.EqualFold(fileName, "README.md") {
fileName = "index.md"
}
filePath, err := link.Build(node.Path, path.Dir(file))
if err != nil {
return changed, err
Expand Down
Loading