Parrot::Docs::HTMLPage - HTML Documentation Page
Parrot::Docs::HTMLPage gives Parrot documentation pages the Parrot house-style.
Parrot::Docs::HTMLPage
This just provides header() and footer() class methods for now, to prevent code being duplicated in Parrot::Docs::POD2HTML and Parrot::Docs::Section.
header()
footer()
Parrot::Docs::POD2HTML
Parrot::Docs::Section
header($title, $navigation, $resources, $version)
Returns the page header with the specified title and navigation bar. $resources should be the relative path from the page to docs/resources, the image and CSS file directory.
$resources
body(@html)
Returns the html code, e.g., links, passed to it.
@html is a simple array to hold the html links passed to this subroutine.
@html
footer($navigation, $resources)
Returns the page footer.
$navigation is currently unused.
$navigation
$resources should be the relative path from the page to docs/resources, the image and CSS file directory.
To install Rakudo::Star, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Rakudo::Star
CPAN shell
perl -MCPAN -e shell install Rakudo::Star
For more information on module installation, please visit the detailed CPAN module installation guide.