Man Page: puppet doc
This version of Puppet is not included in Puppet Enterprise. The latest version of PE includes Puppet 4.4. A newer version is available; see the version menu above for details.
puppet-doc - Generate Puppet references
Generates a reference for all Puppet types. Largely meant for internal Puppet Labs use. (Deprecated)
puppet doc [-h|--help] [-l|--list] [-r|--reference reference-name]
This deprecated command generates a Markdown document to stdout describing all installed Puppet types or all allowable arguments to puppet executables. It is largely meant for internal use and is used to generate the reference document available on the Puppet Labs web site.
For Puppet module documentation (and all other use cases) this command has been superseded by the "puppet-strings" module - see https://github.com/puppetlabs/puppetlabs-strings for more information.
This command (puppet-doc) will be removed once the puppetlabs internal documentation processing pipeline is completely based on puppet-strings.
Print this help message
Build a particular reference. Get a list of references by running 'puppet doc --list'.
$ puppet doc -r type > /tmp/type_reference.markdown
Copyright (c) 2011 Puppet Labs, LLC Licensed under the Apache 2.0 License