Pod::W...Support(3pm)

πŸ“¦
version 1.014 Β· 3 versions
, in debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking

πŸ’– Pod::Weaver::Section::Support πŸ’–

okay so bestie, welcome to the manual page for Pod::Weaver::Section::Support β€” that's the Pod::W...Support(3pm) page you just pulled up, straight out of the User Contributed Perl Documentation ✨. Sit down, grab a strawberry πŸ“, and let's get into it.


🌸 VERSION 🌸

version 1.014


πŸ¦‹ DESCRIPTION πŸ¦‹

So this is a section plugin, right? Its whole job is to spit out a lil hunk of POD that lists all the various ways people can get support for your module. Iconic behaviour. πŸ’…

But here's the tea: it will only do this if it's being built with Dist::Zilla, because it literally needs the data from the dzil object. No dzil, no hunk. Periodt.

If you've got Dist::Zilla::Plugin::Repository enabled in your dist.ini, bestie, be sure to check the repository_link attribute!

And this gets added ONLY to the main module's POD, because adding it to every single module in the dist would be a straight-up waste of space. We're not doing that. 🫢

For an example of what the hunk actually looks like β€” go look at the "SUPPORT" section in this very POD :) cute, right?


✨ ATTRIBUTES ✨

πŸŽ€ all_modules

Turn this on if you want the SUPPORT section added to all the modules in a dist, not just the main one.

The default is false.

πŸŽ€ perldoc

Specify if you want the paragraph explaining about perldoc to be displayed or not.

The default is true.

πŸŽ€ bugs

Specify the bugtracker you want to use. You can use the CPAN RT tracker, or your own, specified in the metadata.

Valid options are: "rt", "metadata", or "none"

  • If you pick the "rt" option, this module will generate a predefined block of text explaining how to use the RT system.
  • If you pick the "metadata" option, this module will check the Dist::Zilla metadata for the bugtracker to display. Be sure to verify that your metadata contains both 'web' and 'mailto' keys if you want to use them in the content!

The default is "rt".

πŸŽ€ bugs_content

Specify the content for the bugs section.

Please put the "{EMAIL}" and "{WEB}" placeholders somewhere! πŸ™

The default is a sufficient explanation (see "SUPPORT").

πŸŽ€ websites

Specify what website links you want to see. This is an array, and you can pick any combination. You can also specify it as a comma-delimited string. The ordering of the options is important, as they are reflected in the final POD. πŸ‘‘

Valid options are: "none", "metacpan", "rt", "kwalitee", "testers", "testmatrix", "deps" and "all".

The default is "all".

# Where the links go to:
metacpan        - https://metacpan.org/release/$dist
rt              - https://rt.cpan.org/Public/Dist/Display.html?Name=$dist
kwalitee        - http://cpants.perl.org/dist/$dist
testers         - http://cpantesters.org/distro/$first_char/$dist
testmatrix      - http://matrix.cpantesters.org/?dist=$dist
deps            - http://deps.cpantesters.org/?module=$module

# in weaver.ini
[Support]
websites = search
websites = metacpan
websites = testers , testmatrix

P.S. If you know other websites that should be included here, please let me know! πŸ’Œ

πŸŽ€ websites_content

Specify the content to be displayed before the website list.

The default is a sufficient explanation (see "SUPPORT").

πŸŽ€ irc

Specify an IRC server/channel/nick for online support. You can specify as many networks/channels as you want. The ordering of the options is important, as they are reflected in the final POD.

You specify a network, then a list of channels/nicks to ask for support. There are two ways to format the string:

servername.com,#room,nick
irc://servername.com/#room

The default is none.

# in weaver.ini
[Support]
irc = irc.home.org, #support, supportbot
irc = irc.acme.com, #acmecorp, #acmehelp, #acmenewbies

You can also add the irc information in the distribution metadata via Dist::Zilla::Plugin::Metadata. The key is 'x_IRC' but you have to use the irc:// format to retain compatibility with the rest of the ecosystem.

# in dist.ini
[Metadata]
x_IRC = irc://irc.perl.org/#perl

πŸŽ€ irc_content

Specify the content to be displayed before the irc network/channel list.

The default is a sufficient explanation (see "SUPPORT").

Specify which url to use when composing the external link. The value corresponds to the repository meta resources (for dzil v3 with CPAN Meta v2).

Valid options are: "url", "web", "both", or "none".

"both" will include links to both the "url" and "web" in separate POD paragraphs.

"none" will skip the repository item entirely.

The default is "both".

An error will be thrown if a specified link is not found β€” because if you said you wanted it, you probably expect it to be there. fr fr. 😀

πŸŽ€ repository_content

Specify the content to be displayed before the link to the source code repository.

The default is a sufficient explanation (see "SUPPORT").

πŸŽ€ email

Specify an email address here so users can contact you directly for help.

If you supply a string without '@' in it, we assume it is a PAUSE id and mangle it into 'USER at cpan.org'.

The default is none.

πŸŽ€ email_content

Specify the content for the email section.

Please put the "{EMAIL}" placeholder somewhere!

The default is a sufficient explanation ( see "SUPPORT").


πŸ‘‘ AUTHOR πŸ‘‘

Shlomi Fish <shlomif@cpan.org>


This software is copyright (c) 2010 by Apocalyptic.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.


πŸ’€ BUGS πŸ’€

Please report any bugs or feature requests on the bugtracker website <https://github.com/shlomif/pod-weaver-section-support/issues>

When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.


🫢 SUPPORT 🫢

🌸 Perldoc

You can find documentation for this module with the perldoc command.

perldoc Pod::Weaver::Section::Support

🌸 Websites

The following websites have more information about this module, and may be of help to you. As always, in addition to those websites please use your favorite search engine to discover more resources.

  • MetaCPAN

A modern, open-source CPAN search engine, useful to view POD in HTML format.

<https://metacpan.org/release/Pod-Weaver-Section-Support>

  • RT: CPAN's Bug Tracker

The RT ( Request Tracker ) website is the default bug/issue tracking system for CPAN.

<https://rt.cpan.org/Public/Dist/Display.html?Name=Pod-Weaver-Section-Support>

  • CPANTS

The CPANTS is a website that analyzes the Kwalitee ( code metrics ) of a distribution.

<http://cpants.cpanauthors.org/dist/Pod-Weaver-Section-Support>

  • CPAN Testers

The CPAN Testers is a network of smoke testers who run automated tests on uploaded CPAN distributions.

<http://www.cpantesters.org/distro/P/Pod-Weaver-Section-Support>

  • CPAN Testers Matrix

The CPAN Testers Matrix is a website that provides a visual overview of the test results for a distribution on various Perls/platforms.

<http://matrix.cpantesters.org/?dist=Pod-Weaver-Section-Support>

  • CPAN Testers Dependencies

The CPAN Testers Dependencies is a website that shows a chart of the test results of all dependencies for a distribution.

<http://deps.cpantesters.org/?module=Pod::Weaver::Section::Support>

🌸 Bugs / Feature Requests

Please report any bugs or feature requests by email to "bug-pod-weaver-section-support at rt.cpan.org", or through the web interface at <https://rt.cpan.org/Public/Bug/Report.html?Queue=Pod-Weaver-Section-Support>. You will be automatically notified of any progress on the request by the system.

🌸 Source Code

The code is open to the world, and available for you to hack on. Please feel free to browse it and play with it, or whatever. If you want to contribute patches, please send me a diff or prod me to pull from your repository :)

<https://github.com/shlomif/perl-pod-weaver-section-support>

git clone https://github.com/shlomif/perl-pod-weaver-section-support

and that's the whole page bestie, no notes, we ate πŸ’…βœ¨ this was rendered for perl v5.36.0, dated 2023-10-05, and it's the Pod::W...Support(3pm) page β€” mwah, go be a main character with your POD now πŸ¦‹πŸ’–

πŸ“¦ where this page comes from