Skip to content

Commit 7b21608

Browse files
authored
Merge pull request #501 from Unpackerr/unstable
fix docs
2 parents c07a74c + 7072926 commit 7b21608

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

init/config/docusaurus.go

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,8 +119,13 @@ func (h *Header) makeDocsTable(prefix string) string {
119119
buf := bytes.Buffer{}
120120
buf.WriteString(tableHeader)
121121

122+
hSuffix := ""
123+
if h.Kind == list {
124+
hSuffix = "0_"
125+
}
126+
122127
for _, param := range h.Params {
123-
envVar := prefix + h.Prefix + param.EnvVar
128+
envVar := prefix + h.Prefix + hSuffix + param.EnvVar
124129
if param.Kind == list {
125130
envVar += "0"
126131
}

0 commit comments

Comments
 (0)