Issue #20518 has been updated by Daniele Sluijters.

Couldn't agree more. Puppet doc is a thorn in my side I'm itching to get rid 
of. I currently have a little tool that tries to parse the RDoc and transform 
it into Markdown so I can auto-generate README.md's etc. whith are 
automatically kept in sync with the docs but that solution is pretty hairy.

There really needs to be a good documentation tool. We can just as easily use 
YARD for it so we can document Puppet modules and Puppet itself the same way 
but someone would have to write a parser for YARD to understand .pp files and 
the rest of the constructs.

----------------------------------------
Feature #20518: Bring in rich module documentation feature
https://projects.puppetlabs.com/issues/20518#change-91272

* Author: Yuri Arabadji
* Status: Unreviewed
* Priority: Normal
* Assignee: 
* Category: 
* Target version: 
* Affected Puppet version: 
* Keywords: 
* Branch: 
----------------------------------------
`puppet doc --mode rdoc` just isn't enough. It doesn't work on recent ruby 
(1.9), it generates text documentation that isn't searchable/browseable/useful. 

What I'd like to see is something akin to <a 
href="http://docs.puppetlabs.com/references/latest/type.html";>Type 
Reference</a> on Puppet website, but with TOC and menu on the left that would 
allow me to search and select what documentation section/type I'd like to 
browse. For ex., I'd like to see all functions that my module defines, their 
names, description, number of arguments, type. Same with custom types.

The doc output format could be html, but any structural would work, too. Maybe 
xml with good xslt transform sheet? Or just JSON that can be easily converted 
to html? 

Would be nice to have, you know...


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to