summaryrefslogtreecommitdiffstats
path: root/lib/puppet/parser/parser.rb
diff options
context:
space:
mode:
authorBrice Figureau <brice-puppet@daysofwonder.com>2009-06-27 12:21:30 +0200
committerJames Turnbull <james@lovedthanlost.net>2009-07-10 10:57:37 +1000
commit869ec273a085c1fa28da14bfd627ffc24af87a07 (patch)
treef9588bf87e8cef310251e140bd6aa7eff7d28ae5 /lib/puppet/parser/parser.rb
parent4c659b768f9ab9f0468245af789b3c817f5c4be4 (diff)
downloadpuppet-869ec273a085c1fa28da14bfd627ffc24af87a07.tar.gz
puppet-869ec273a085c1fa28da14bfd627ffc24af87a07.tar.xz
puppet-869ec273a085c1fa28da14bfd627ffc24af87a07.zip
Fix #2366 - puppetdoc was parsing classes in the wrong order
It could happend that we were generating doc for subclasses before classes, in which case we were forgotting some parent class instance and recreating them. We ended up generating doc for some classes multiple times, from which some were missing documentation. The fix is to sort the parsed classes alphabetically, which auto- matically puts enclosing class before enclosed classes. Signed-off-by: Brice Figureau <brice-puppet@daysofwonder.com>
Diffstat (limited to 'lib/puppet/parser/parser.rb')
0 files changed, 0 insertions, 0 deletions