« Dist/Zilla/PluginBundle/ZURBORG.pm
↑ Summary
auto/share/dist/Dist-Zilla-PluginBundle-ZURBORG/profiles/github/Module.pm »
| 1 | use strictures 2; | ||
| 2 | |||
| 3 | package Pod::Weaver::PluginBundle::ZURBORG; | ||
| 4 | |||
| 5 | # ABSTRACT: a bundle that add Bugs section to the Default bundle | ||
| 6 | |||
| 7 | our $VERSION = '0.007'; # VERSION | ||
| 8 | |||
| 9 | use namespace::autoclean; | ||
| 10 | |||
| 11 | use Pod::Weaver::Config::Assembler; | ||
| 12 | |||
| 13 | |||
| 14 | sub mvp_bundle_config { | ||
| 15 | return map { | ||
| 16 | $_->[1] = Pod::Weaver::Config::Assembler->expand_package( $_->[1] ); | ||
| 17 | $_; | ||
| 18 | } ( | ||
| 19 | [ '@Default/CorePrep', '@CorePrep', {} ], | ||
| 20 | [ '@Default/Name', 'Name', {} ], | ||
| 21 | [ '@Default/Version', 'Version', {} ], | ||
| 22 | [ | ||
| 23 | '@Default/prelude', | ||
| 24 | 'Region', | ||
| 25 | { | ||
| 26 | region_name => 'prelude' | ||
| 27 | } | ||
| 28 | ], | ||
| 29 | [ 'SYNOPSIS', 'Generic', {} ], | ||
| 30 | [ 'DESCRIPTION', 'Generic', {} ], | ||
| 31 | [ 'OVERVIEW', 'Generic', {} ], | ||
| 32 | [ | ||
| 33 | 'ATTRIBUTES', | ||
| 34 | 'Collect', | ||
| 35 | { | ||
| 36 | command => 'attr' | ||
| 37 | } | ||
| 38 | ], | ||
| 39 | [ | ||
| 40 | 'METHODS', | ||
| 41 | 'Collect', | ||
| 42 | { | ||
| 43 | command => 'method' | ||
| 44 | } | ||
| 45 | ], | ||
| 46 | [ | ||
| 47 | 'FUNCTIONS', | ||
| 48 | 'Collect', | ||
| 49 | { | ||
| 50 | command => 'func' | ||
| 51 | } | ||
| 52 | ], | ||
| 53 | [ '@Default/Leftovers', 'Leftovers', {} ], | ||
| 54 | [ | ||
| 55 | '@Default/postlude', | ||
| 56 | 'Region', | ||
| 57 | { | ||
| 58 | region_name => 'postlude' | ||
| 59 | } | ||
| 60 | ], | ||
| 61 | [ '@Default/Bugs', 'Bugs', {} ], | ||
| 62 | [ '@Default/Authors', 'Authors', {} ], | ||
| 63 | [ '@Default/Legal', 'Legal', {} ], | ||
| 64 | ); | ||
| 65 | } | ||
| 66 | |||
| 67 | 1; | ||
| 68 | |||
| 69 | __END__ |