PUPPET-STRINGS(1) | PUPPET-STRINGS(1) |
puppet-strings - Generate Puppet documentation with YARD
puppet strings <action> puppet strings --help
Produce complete, user-friendly module documentation by using Puppet Strings. Strings uses tags and code comments, along with the source code, to generate documentation for a module's classes, defined types, functions, tasks, plans, and resource types and providers.
Puppet Strings is based on the YARD Ruby documentation tool.
generate
Generate documentation from files.
server
Runs a local documentation server for the modules in the current Puppet environment.
--format FORMAT The rendering format to use (html, markdown or json) --out The output file when using the markdown or json formats --verbose Whether to log verbosely --debug Whether to log debug information --help Show the help screen
If you want to generate a single reference file, use something like:
You can otherwise generate HTML documentation this way:
Bugs can be reported to your distribution's bug tracker or upstream at https://tickets.puppetlabs.com/browse/PDOC.
Louis-Philippe Véronneau
2019 |