.\" Automatically generated by Pod::Man 4.10 (Pod::Simple 3.35) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" Set up some character translations and predefined strings. \*(-- will .\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left .\" double quote, and \*(R" will give a right double quote. \*(C+ will .\" give a nicer C++. Capital omega is used to do unbreakable dashes and .\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff, .\" nothing in troff, for use with C<>. .tr \(*W- .ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' .ie n \{\ . ds -- \(*W- . ds PI pi . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch . ds L" "" . ds R" "" . ds C` "" . ds C' "" 'br\} .el\{\ . ds -- \|\(em\| . ds PI \(*p . ds L" `` . ds R" '' . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{\ . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .\" ======================================================================== .\" .IX Title "MOD2HTML 1p" .TH MOD2HTML 1p "2019-02-25" "perl v5.28.1" "User Contributed Perl Documentation" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH "NAME" mod2html \- translate module PODs to HTML .SH "SYNOPSIS" .IX Header "SYNOPSIS" \&\f(CW\*(C`mod2html\*(C'\fR [\f(CW\*(C`\-\-base\*(C'\fR \fIurl\fR] [\f(CW\*(C`\-\-css\*(C'\fR \fIurl\fR] [\f(CW\*(C`\-\-index\*(C'\fR \fItitle\fR] [\f(CW\*(C`\-\-\*(C'\fR[\f(CW\*(C`no\*(C'\fR]\f(CW\*(C`toc\*(C'\fR] [\f(CW\*(C`\-\-hr\*(C'\fR \fIlevel\fR] [\f(CW\*(C`\-\-bgcolor\*(C'\fR \fI#rrggbb\fR] [\f(CW\*(C`\-\-text\*(C'\fR \fI#rrggbb\fR] \&\fImodDir\fR \fIHTMLdir\fR .SH "DESCRIPTION" .IX Header "DESCRIPTION" \&\f(CW\*(C`mod2html\*(C'\fR locates all the PODs under \fImodDir\fR translates them to \s-1HTML,\s0 and writes them to a directory tree under \fIHTMLdir\fR. .PP The directory tree maps the module namespaces. .PP It makes the \s-1HTML\s0 files world-readable. .SH "OPTIONS" .IX Header "OPTIONS" .ie n .IP """\-\-base"" \fIurl\fR" 4 .el .IP "\f(CW\-\-base\fR \fIurl\fR" 4 .IX Item "--base url" Translate \f(CW\*(C`L<>\*(C'\fR sequences into \s-1HTML\s0 links relative to \fIurl\fR. .ie n .IP """\-\-css"" \fIurl\fR" 4 .el .IP "\f(CW\-\-css\fR \fIurl\fR" 4 .IX Item "--css url" Specifies a Cascanding Style Sheet for the generated \s-1HTML\s0 page. .ie n .IP """\-\-index"" \fItitle\fR" 4 .el .IP "\f(CW\-\-index\fR \fItitle\fR" 4 .IX Item "--index title" Writes an index of all the \s-1HTML\s0 files to \fIHTMLDir\fR\fI/index.html\fR. \&\fItitle\fR is used as the title of the index page. .ie n .IP """\-\-""[""no""]""toc""" 4 .el .IP "\f(CW\-\-\fR[\f(CWno\fR]\f(CWtoc\fR" 4 .IX Item "--[no]toc" Includes or omits the table of contents. Default is to include the \s-1TOC.\s0 .ie n .IP """\-\-hr"" \fIlevel\fR" 4 .el .IP "\f(CW\-\-hr\fR \fIlevel\fR" 4 .IX Item "--hr level" Controls the profusion of horizontal lines in the output, as follows: .Sp .Vb 5 \& level horizontal lines \& 0 none \& 1 between TOC and body \& 2 after each =head1 \& 3 after each =head1 and =head2 .Ve .Sp Default is level 1. .ie n .IP """\-\-bgcolor"" \fI#rrggbb\fR" 4 .el .IP "\f(CW\-\-bgcolor\fR \fI#rrggbb\fR" 4 .IX Item "--bgcolor #rrggbb" Set the background color to \fI#rrggbb\fR. Default is white. .ie n .IP """\-\-text"" \fI#rrggbb\fR" 4 .el .IP "\f(CW\-\-text\fR \fI#rrggbb\fR" 4 .IX Item "--text #rrggbb" Set the text color to \fI#rrggbb\fR. Default is black. .SH "REQUIRES" .IX Header "REQUIRES" \&\f(CW\*(C`Pod::Tree::HTML\*(C'\fR .SH "SEE ALSO" .IX Header "SEE ALSO" \&\f(CW\*(C`pod2html\*(C'\fR, \f(CW\*(C`pods2html\*(C'\fR, \f(CW\*(C`Pod::Tree::HTML\*(C'\fR .SH "AUTHOR" .IX Header "AUTHOR" Steven McDougall, .SH "COPYRIGHT" .IX Header "COPYRIGHT" Copyright (c) 2003 by Steven McDougall. This program is free software; you can redistribute it and/or modify it under the same terms as Perl.