Skip to content

Commit

Permalink
Fixup synopsis
Browse files Browse the repository at this point in the history
  • Loading branch information
pbrisbin committed Oct 24, 2024
1 parent 550f1fc commit 2722a98
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion src/Restyler/Docs.hs
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,26 @@ ronnRestyledYaml5 docs =
{ name = "restyled.yaml"
, number = 5
, description = "Restyled configuration file"
, sections = synopsis ".restyled.yaml" [] <> settings confDocs
, sections =
section
"SYNOPSIS"
[ RonnGroup
[ RonnLine
[ "Restyled configuration, loaded from the first of"
, RonnConcat
$ intersperse ", "
$ map
RonnBacktick
[ ".restyled.yaml"
, ".restyled.yml"
, ".github/restyled.yaml"
, ".github/restyled.yml"
]
, "found"
]
]
]
<> settings confDocs
}
where
confDocs :: [ConfDoc]
Expand Down

0 comments on commit 2722a98

Please sign in to comment.