puppetdoc mixes long class names that look alike
|Assignee:||Brice Figureau||% Done:|
|Affected Puppet version:||0.24.8||Branch:|
I have an “apt” module and a “hebex” module. The “hebex” module declares a “hebex::apt::sources_list” class and a “hebex::apt::sources_list::dop” definition.
When processed through puppetdoc, both class and definition are listed in —debug mode, but none of them appears in the “hebex” module documentation. Instead, “dop” is listed as a define for the “apt::sources_list” class under the “apt” module, and the “sources::list” class is listed twice in the “apt” module (but both links point to the same page).
This is reproduceable with all modules who use 3 levels or more in their naming scheme and have a module named after the second level.
#1 Updated by Brice Figureau over 4 years ago
- Category set to documentation
- Status changed from Unreviewed to In Topic Branch Pending Review
- Assignee set to Brice Figureau
- Target version set to 0.25.0
- % Done changed from 0 to 100
- 3 changed from Unknown to Trivial
Patch pending review. The patch is available in my github repository branch tickets/master/2453: http://github.com/masterzen/puppet/tree/tickets/master/2453
RaphaÃ«l: the patch is quite short and should apply to 0.24.8.