Pod::MultiLang::Html - turn MultiLang-pod into html
$parser = Pod::MultiLang::Html->new(%opts); $parser->parse_from_file($infile,$outfile);
Pod::MultiLang::Html translates pod into html. This inherits Pod::MultiLang and it inherits Pod::Parser, usage is same as Pod::Parser.
command/verbatim/textblock methods only do push paragraphys into an array, and end_pod method do convertion. (these process is in Pod::MultiLang.)
prepare (listing up headings, setup index words, etc.) at $parser->rebuild(), and generate at $parser->output_html();
generate html is xhtml 1.1 ^^;
method new takes follow arguments:
langs => [qw(ja en)]
inherited from Pod::MultiLang. pass to Pod::MultiLang->new(). see "new" in Pod::MultiLang.
specify using languals. not specifieds are ignore if it exists in mlpod document.
made => 'mailto:example@example.com'
embed into <link rev="made" href="" />.
css => 'style/podstyle.css' <meta http-equiv="Content-Style-Type" content="text/css" /> <link rel="stylesheet" type="text/css" href="style/podstyle.css" />
relative path between specified location and location that output file is generated.
poddir => [qw(html/pod html/pragma html/lib)]
directories for existance check of file linked from pod. by array reference.
used when no link target found in poddir and link target seems perl core documents.
if omitted then missing_dir is used.
used when no link target found in poddir and link target seems pragma documents.
省略時には missing_dir が使われます.
used when no link target found in poddir.
encoding for input document. default is utf-8.
encoding for output document. default is utf-8.
and embed as <meta content="Content-Type" value="text/html; charset=" /> .
language for outsize of J<> interior sequence.
create new instance.
This module implements Pod::Parser.
Pod::MultiLang
To install Pod::MultiLang, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Pod::MultiLang
CPAN shell
perl -MCPAN -e shell install Pod::MultiLang
For more information on module installation, please visit the detailed CPAN module installation guide.