Skip to content

Commit

Permalink
Merge pull request #501 from Unpackerr/unstable
Browse files Browse the repository at this point in the history
fix docs
  • Loading branch information
davidnewhall authored Nov 15, 2024
2 parents c07a74c + 7072926 commit 7b21608
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion init/config/docusaurus.go
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,13 @@ func (h *Header) makeDocsTable(prefix string) string {
buf := bytes.Buffer{}
buf.WriteString(tableHeader)

hSuffix := ""
if h.Kind == list {
hSuffix = "0_"
}

for _, param := range h.Params {
envVar := prefix + h.Prefix + param.EnvVar
envVar := prefix + h.Prefix + hSuffix + param.EnvVar
if param.Kind == list {
envVar += "0"
}
Expand Down

0 comments on commit 7b21608

Please sign in to comment.