NAME
Pod::Weaver::Section::ReplaceSource::DefaultGitHub - Add or replace a SOURCE section (repository defaults to GitHub)
VERSION
This document describes version 0.01 of Pod::Weaver::Section::ReplaceSource::DefaultGitHub (from Perl distribution Pod-Weaver-Section-ReplaceSource-DefaultGitHub), released on 2016-01-30.
SYNOPSIS
This section plugin provides the same behaviour as Pod::Weaver::Section::Source::DefaultGitHub but with the Pod::Weaver::Role::SectionReplacer role applied.
In your weaver.ini:
[ReplaceSource::DefaultGitHub]
If repository
is not specified in dist.ini, will search for github user/repo name from git config file (.git/config
).
To specify a source repository other than https://github.com/USER/REPO
, in dist.ini:
[MetaResources]
repository=http://example.com/
DESCRIPTION
This section plugin adds or replace a SOURCE section, using repository
metadata or (if not specified) GitHub.
ATTRIBUTES
text
The text that is added. %s
is replaced by the repository URL.
Default:
Source repository is at LE<lt>%sE<gt>.
HOMEPAGE
Please visit the project's homepage at https://metacpan.org/release/Pod-Weaver-Section-ReplaceSource-DefaultGitHub.
SOURCE
Source repository is at https://github.com/perlancar/perl-Pod-Weaver-Section-ReplaceSource-DefaultGitHub.
BUGS
Please report any bugs or feature requests on the bugtracker website https://rt.cpan.org/Public/Dist/Display.html?Name=Pod-Weaver-Section-ReplaceSource-DefaultGitHub
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.
SEE ALSO
Pod::Weaver::Section::Source::DefaultGitHub
AUTHOR
perlancar <perlancar@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2016 by perlancar@cpan.org.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.