Skip to content

Commit

Permalink
fix(alzlibtool): sort defaults (#175)
Browse files Browse the repository at this point in the history
  • Loading branch information
matt-FFFFFF authored Oct 2, 2024
1 parent 263c3bf commit 0fe3d7a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/doc/doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,7 @@ func alzlibReadmeMdPolicyDefaultValues(md *markdown.Markdown, az *alzlib.AlzLib)
if len(pdvs) == 0 {
return md
}
slices.Sort(pdvs)
md = md.H2("Policy Default Values").LF().PlainText("The following policy default values are available in this library:").LF()
for _, pdv := range pdvs {
md = md.H3("default name `" + pdv + "`").LF()
Expand Down

0 comments on commit 0fe3d7a

Please sign in to comment.