Puppet docs tooling runs puppet man to produce ronn output for each application and converts that to html using the ronn gem. See https://github.com/puppetlabs/puppet-docs/blob/e09308ea830fbeb97a2702dd0b46c89a8d2af954/lib/puppet_references/puppet/man.rb#L120. We need to provide a way to generate the same output without relying on the puppet man application which will be removed in puppet 7
merged into master with https://github.com/puppetlabs/puppet/commit/edac15599a6fce3e9a169edffab7ee3f21bc2929
This has passed ci as a part of puppet-agent 6.15.0.195.g95e09983