Pod::To::BigPage
Pod::To::BigPage
Render many Pod6 files into one big file and build a TOC and index. The provided CSS does support printing, as far as printing HTML goes.
Install
Install it the usual way
zef install --deps-only .And test it
zef test .SYNOPSIS
Let us find the *.pod6 files for you and run using two threads at a time.
pod2onepage -v --source-path=../../perl6-doc/doc \
--exclude=404.pod6,/.git,/precompiled > tmp/html.xhtmlYou can use, for instance,
perl6 -Ilib bin/pod2onepage -v --source-path=. --html > tmp/pod2onepage.htmlto generate a single page in HTML from the README.pod6 included here.
In general, this module has been designed to work with the Perl 6 documentation. But it can also be used as an actual library. See examples in the t/ directory and, of course, pod2onepage.
Options
-v --verboseverbose output
--source-pathWhere to look for files ending in
.pod6.--excludeComma separated list of strings the processed files or paths shall not end with.
--no-cacheDon't use precompilation to cache
pod6files.--precomp-pathSets the path where precompiled
pod6files are created. Defaults to environment variableTEMP,TMPor/tmp.--htmlGenerate HTML instead of the default XHTML.
Testing
To enable network tests to be run, set ONLINE_TESTING environment variable to a true value.