parrotcode: Documentation section | |
Contents | Perl Modules |
Parrot::Docs::Section - Documentation section
use Parrot::Docs::Section;
A documentation section is an HTML page containing links to one or more, grouped or ungrouped items.
Parrot::Docs::Section
is a subclass of Parrot::Docs::Group
.
root_section()
new_section($name, $text, @items)
new()
method.new($name, $index_path, @contents)
$name
and $index_path
are required, though $index_path
defaults to index.html if undefined or an empty string is supplied.@contents
is one or more sections, groups and/or items.is_root_section()
html_link($path)
write_html($source, $target, $silent)
write_html()
on the contents of the section.
|