Pod::ProjectDocs(3pm) | User Contributed Perl Documentation | Pod::ProjectDocs(3pm) |
Pod::ProjectDocs - generates CPAN like project documents from pod.
#!/usr/bin/perl use strict; use warnings; use Pod::ProjectDocs; my $pd = Pod::ProjectDocs->new( libroot => '/your/project/lib/root', outroot => '/output/directory', title => 'ProjectName', ); $pd->gen(); # or use pod2projdocs on your shell pod2projdocs -out /output/directory -lib /your/project/lib/root
This module allows you to generates CPAN like pod pages from your modules for your projects. It also creates an optional index page.
You can set single path by string, or multiple by arrayref.
my $pd = Pod::ProjectDocs->new( outroot => '/path/to/output/directory', libroot => '/path/to/lib' );
or
my $pd = Pod::ProjectDocs->new( outroot => '/path/to/output/directory', libroot => ['/path/to/lib1', '/path/to/lib2'], );
Pod::ProjectDocs->new( except => qr/^specific_dir\//, ...other parameters ); Pod::ProjectDocs->new( except => [qr/^specific_dir1\//, qr/^specific_dir2\//], ...other parameters );
You can use the command line script pod2projdocs to generate your documentation without creating a custom perl script.
pod2projdocs -help
Pod::Simple::XHTML
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.5 or, at your option, any later version of Perl 5 you may have available.
2021-02-21 | perl v5.32.1 |