Issue #4798 has been updated by Paul Berry. Status changed from Accepted to Ready for Testing % Done changed from 0 to 100 Branch set to http://github.com/stereotype441/puppet/tree/ticket/2.6.x/4798
Fixed the bug by adding a check to the RDoc::Parser#scan method to prevent re-parsing of files that have already been parsed. Also added a spec test to verify that this works. James, would you mind re-trying your test with this patch to verify that it addresses your issue too? ---------------------------------------- Bug #4798: Puppet doc manifests documentation mode broken http://projects.puppetlabs.com/issues/4798 Author: James Turnbull Status: Ready for Testing Priority: High Assignee: Paul Berry Category: documentation Target version: 2.6.2 Affected version: 2.6.0 Keywords: Branch: http://github.com/stereotype441/puppet/tree/ticket/2.6.x/4798 In 2.6.1 (and looks like 2.6.0 also) the puppet doc manifests documentation is busted. <pre> $ puppet doc -o /tmp/doc -m rdoc /path/to/manifests/site.pp --debug </pre> Outputs: <pre> info: scanning: ["tmp/doc", "/path/to/manifests/site.pp"] </pre> And produces zilch output. -- 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 post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
