| parrotcode: POD to HTML formatter | |
| Contents | Perl Modules |

Parrot::Docs::POD2HTML - POD to HTML formatter

use Parrot::Docs::POD2HTML;

Parrot::Docs::POD2HTML subclasses Pod::Simple::HTML to provide various Parrot-specific formatting features, such as linking C<Parrot::Module> and F<file>, and using the Parrot house-style provided by Parrot::HTMLPage.

do_beginning()Pod::Simple::HTML method to add a header to the start of the document.do_middle()do_middle() method in Pod:Simple::HTML, calling the various process_* methods below. This makes it easier to where the custom bits of Parrot-specific formatting have to be inserted.process_start_token($token)process_link_start_token($token)process_code_start_token($token)process_file_start_token($token)process_item_text_or_head_start_token($token)process_data_start_token($token)process_other_start_token($token)process_end_token($token)process_text_token($token)do_pod_link($link)Pod::Simple::HTML.resolve_pod_page_link($to, $section)href_for_perl_module($module)undef if the current documentation file is the file for the module.do_end()Pod::Simple::HTML method to add a footer to the end of the document.html_for_file($file)write_html($source, $target, $rel_path, $item)$rel_path in $source to the equivalent location in $target.append_html_suffix($path)$path with and HTML file suffix added.html_link($href, $text)
esc(@strings)esc($string)Pod::Simple::HTML warning.
In order to avoid modifying Pod:Simple::HTLM large sections of its code have been copied here, and then refactored and adjusted to enable various bits of Parrot-specific behaviour.
|
|
|