Closed dr0i closed 2 years ago
The generated flux-commands.md
would look like this:
encode-yaml
-----------
- description:¦-Serialises an object as YAML. The paramter 'prettyprinting (boolean)' is deprecated since it's not possible to not pretty print.
- options:¦-arraymarker (String), prettyprinting (boolean)
Nicer would be to have the deprecated
note in options
, but that would be need a bit more of programming.
So - is this good enough?
Merged and updated https://github.com/metafacture/metafacture-documentation/blob/master/flux-commands.md#encode-yaml. Closed.
Jackson's YAMLGenerator ignores any PrettyPrinter. It's always pretty printed.
See metafacture/metafacture-documentation#19.