Pod::W...butors(3pm)
π Pod::Weaver::Section::Contributors β the whole vibe π
okay bestie, so this is Pod::Weaver::Section::Contributors, living in the User Contributed Perl Documentation section of your manual, and it's here to give credit where credit is due. It's the little section that goes "hey, these people helped" and it is iconic for it. π
β¨ NAME β¨
Pod::Weaver::Section::Contributors β a section listing contributors. literally what it says on the tin, no cap. π
πΈ VERSION πΈ
version 0.009
π¦ SYNOPSIS π¦
so there's like three ways to summon this thing, and you can mix and match, fr fr.
option one: on dist.ini:
[PodWeaver]
[%PodWeaver]
Contributors.head = 2
Contributors.contributors[0] = keedi - Keedi Kim - κΉλν (cpan: KEEDI) <keedi@cpan.org>
Contributors.contributors[1] = carandraug - CarnΓ« Draug (cpan: CDRAUG) <cdraug@cpan.org>
and/or on weaver.ini:
[Contributors]
head = 2
contributors = keedi - Keedi Kim - κΉλν (cpan: KEEDI) <keedi@cpan.org>
contributors = carandraug - CarnΓ« Draug (cpan: CDRAUG) <cdraug@cpan.org>
and/or straight up in the source of individual files:
# CONTRIBUTOR: keedi - Keedi Kim - κΉλν (cpan: KEEDI) <keedi@cpan.org>
# CONTRIBUTORS: carandraug - CarnΓ« Draug (cpan: CDRAUG) <cdraug@cpan.org>
like, pick your fighter. all three are valid. π«Ά
π DESCRIPTION π
okay so here's the tea: this section adds a listing of the document's contributors. it's expecting a contributors input parameter that's an arrayref of strings. that's the whole deal.
if you don't hand it a contributors parameter? it does absolutely nothing. silence. ghosting. π
but if you do, it produces a hunk like this:
=head1 CONTRIBUTORS
Contributor One <a1@example.com>
Contributor Two <a2@example.com>
and now the fancy part: to support distributions with multiple modules, it can also derive a list of contributors on a file basis by looking at comments on each module. so names of contributors on the source will only appear on the POD of those modules β not everywhere, just the ones they actually touched. main character energy but make it local. β¨
π ATTRIBUTES π
π head
the heading level of this section. if it's 0, it inserts an ordinary piece of text with no heading at all. defaults to 1.
and listen β in case the value is passed both to Pod::Weaver and to the Pod::Weaver stash, it uses the value found in the stash. stash wins, periodt.
π contributors
the list of contributors. that's it, that's the attribute.
in case the value is passed to weave_section(), to Pod::Weaver and to the Pod::Weaver stash, it merges all contributors. everybody gets credit, nobody gets left out. π
π§ all_modules
enable this if you want to add the CONTRIBUTOR/CONTRIBUTORS section to all the modules in a dist, not only the main one. defaults to false.
in case the value is passed both to Pod::Weaver and to the Pod::Weaver stash, it uses the value found in the stash. (same energy as head, bestie, consistent queen. π
)
π₯ SEE ALSO π₯
- dagolden's 'How I'm using Dist::Zilla to give credit to contributors' <http://www.dagolden.com/index.php/1921/how-im-using-distzilla-to-give-credit-to-contributors/>
Dist::Zilla::Plugin::ContributorsFromGitDist::Zilla::Stash::ContributorsDist::Zilla::Plugin::Meta::ContributorsDist::Zilla::Plugin::ContributorsFileDist::ZillaDist::Zilla::Stash::PodWeaverPod::WeaverPod::Weaver::Section::Authors
a whole reading list, go off. π
π AUTHOR π
Keedi Kim - κΉλν <keedi@cpan.org>
π CONTRIBUTORS π
- carandraug - CarnΓ« Draug (cpan: CDRAUG) <cdraug@cpan.org>
- ether - Karen Etheridge (cpan: ETHER) <ether@cpan.org>
- thaljef - Jeffrey Ryan Thalhammer (cpan: THALJEF) <thaljef@cpan.org>
look at that, the page about contributors has contributors. it's giving self-aware. ππ
β COPYRIGHT AND LICENSE β
this software is copyright (c) 2014 by Keedi Kim.
this is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
and that's the whole page, bestie!! π this wasperl v5.34.0, dated2022-06-16, and it lives atPod::W...butors(3pm)in the manual β yes the title's abbreviated, don't worry about it, that's just how the header do. mwah, go credit your contributors, they earned it. ππ¦
π¦ where this page comes from
- debian bookworm: libpod-weaver-section-contributors-perl 0.009-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libpod-weaver-section-contributors-perl 0.009-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libpod-weaver-section-contributors-perl 0.009-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libpod-weaver-section-contributors-perl 0.009-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libpod-weaver-section-contributors-perl 0.009-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms