Skip to content
This repository has been archived by the owner on Aug 25, 2021. It is now read-only.

Commit

Permalink
Add missing newline to code generation (#745)
Browse files Browse the repository at this point in the history
We need to have a newline between the codegen comment and the start of
the generated docs because the markdown formatter will add it later.
  • Loading branch information
lkysow committed Dec 17, 2020
1 parent 6e022bf commit 5523886
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hack/helm-reference-gen/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ func main() {
helmReferenceContents := string(helmReferenceBytes)

// Swap out the contents between the codegen markers.
startStr := "<!-- codegen: start -->\n"
startStr := "<!-- codegen: start -->\n\n"
endStr := "\n <!-- codegen: end -->"
start := strings.Index(helmReferenceContents, startStr)
if start == -1 {
Expand Down

0 comments on commit 5523886

Please sign in to comment.