mksite - Generate a web site for a CPAN module
$ mksite My::Lovely::Module
This program will automatically generate a web site for a CPAN module (actually, it's more accurate to say a CPAN distribution). It gets the information used to create the site from two sources:
It uses the MetaCPAN API to get data about the distribution.
It uses templates and other files that can be stored in the code repository for the distribution.
Note that the first of these items creates a tiny caveat as you can only use this module to create sites for distributions that the MetaCPAN API knows about - i.e. distributions that have been released to CPAN.
This documentation needs a lot of expansion. I'll be doing that over the next few weeks.
Dave Cross <dave@perlhacks.com>
Perl Modules with their own web sites
Simple CPAN module web sites with GitHub Pages
Copyright (C) 2021, Magnum Solutions Ltd. All Rights Reserved.
This script is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install App::CPANModuleSite, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::CPANModuleSite
CPAN shell
perl -MCPAN -e shell install App::CPANModuleSite
For more information on module installation, please visit the detailed CPAN module installation guide.