parrotcode: Group of documentation items | |
Contents | Perl Modules |
Parrot::Docs::Group - Group of documentation items
use Parrot::Docs::Group;
A documentation group is a number of items with some optional descriptive text.
Parrot::Docs::Group
is a subclass of Parrot::Docs::Item
.
new_group($name, $text, @items)
Parrot::Docs::Section
subclass's new()
method.new($name, $text, @contents)
$name
and $text
are required, though the text can be an empty string. @contents
is one or more Parrot::Docs::Item
instances, or relative paths.name()
html_link()
write_html($source, $target, $silent)
write_html()
is called on each item in the group.write_contents_html($source, $target, $silent)
write_html()
on each one.contents_relative_to_source($source)
|