use strict; use warnings; package Pod::Weaver::PluginBundle::DAGOLDEN; our $VERSION = '0.043'; # VERSION use Pod::Weaver 3.101635; # fixed ABSTRACT scanning use Pod::Weaver::Config::Assembler; # Dependencies use Pod::Weaver::Plugin::WikiDoc (); use Pod::Elemental::Transformer::List 0.101620 (); use Pod::Weaver::Section::Support 1.001 (); use Pod::Weaver::Section::Contributors 0.001 (); sub _exp { Pod::Weaver::Config::Assembler->expand_package( $_[0] ) } my $repo_intro = <<'END'; This is open source software. The code repository is available for public review and contribution under the terms of the license. END my $bugtracker_content = <<'END'; Please report any bugs or feature requests through the issue tracker at {WEB}. You will be notified automatically of any progress on your issue. END sub mvp_bundle_config { my @plugins; push @plugins, ( [ '@DAGOLDEN/WikiDoc', _exp('-WikiDoc'), {} ], [ '@DAGOLDEN/CorePrep', _exp('@CorePrep'), {} ], [ '@DAGOLDEN/Name', _exp('Name'), {} ], [ '@DAGOLDEN/Version', _exp('Version'), {} ], [ '@DAGOLDEN/Prelude', _exp('Region'), { region_name => 'prelude' } ], [ '@DAGOLDEN/Synopsis', _exp('Generic'), { header => 'SYNOPSIS' } ], [ '@DAGOLDEN/Description', _exp('Generic'), { header => 'DESCRIPTION' } ], [ '@DAGOLDEN/Overview', _exp('Generic'), { header => 'OVERVIEW' } ], [ '@DAGOLDEN/Stability', _exp('Generic'), { header => 'STABILITY' } ], ); for my $plugin ( [ 'Usage', _exp('Collect'), { command => 'usage' } ], [ 'Functions', _exp('Collect'), { command => 'func' } ], [ 'Attributes', _exp('Collect'), { command => 'attr' } ], [ 'Constructors', _exp('Collect'), { command => 'construct' } ], [ 'Methods', _exp('Collect'), { command => 'method' } ], ) { $plugin->[2]{header} = uc $plugin->[0]; push @plugins, $plugin; } push @plugins, ( [ '@DAGOLDEN/Leftovers', _exp('Leftovers'), {} ], [ '@DAGOLDEN/postlude', _exp('Region'), { region_name => 'postlude' } ], [ '@DAGOLDEN/Support', _exp('Support'), { perldoc => 0, websites => 'none', bugs => 'metadata', bugs_content => $bugtracker_content, repository_link => 'both', repository_content => $repo_intro } ], [ '@DAGOLDEN/Authors', _exp('Authors'), {} ], [ '@DAGOLDEN/Contributors', _exp('Contributors'), {} ], [ '@DAGOLDEN/Legal', _exp('Legal'), {} ], [ '@DAGOLDEN/List', _exp('-Transformer'), { 'transformer' => 'List' } ], ); return @plugins; } # ABSTRACT: DAGOLDEN's default Pod::Weaver config # # This file is part of Dist-Zilla-PluginBundle-DAGOLDEN # # This software is Copyright (c) 2013 by David Golden. # # This is free software, licensed under: # # The Apache License, Version 2.0, January 2004 # 1; __END__ =pod =head1 NAME Pod::Weaver::PluginBundle::DAGOLDEN - DAGOLDEN's default Pod::Weaver config =head1 VERSION version 0.043 =head1 DESCRIPTION This is a L PluginBundle. It is roughly equivalent to the following weaver.ini: [-WikiDoc] [@Default] [Support] perldoc = 0 websites = none bugs = metadata bugs_content = ... stuff (web only, email omitted) ... repository_link = both repository_content = ... stuff ... [Contributors] [-Transformer] transformer = List =for Pod::Coverage mvp_bundle_config =head1 USAGE This PluginBundle is used automatically with the CE@DAGOLDENE L plugin bundle. It also has region collectors for: =over =item * construct =item * attr =item * method =item * func =item * usage =back =head1 SEE ALSO =over =item * L =item * L =item * L =item * L =item * L =item * L =back =head1 AUTHOR David Golden =head1 CONTRIBUTORS =over 4 =item * Christian Walde =item * Eric Johnson =item * Philippe Bruhat (BooK) =back =head1 COPYRIGHT AND LICENSE This software is Copyright (c) 2013 by David Golden. This is free software, licensed under: The Apache License, Version 2.0, January 2004 =cut