testpage(1)

NAME
testpage - test input nroff man page for roffit testing

SYNOPSIS
roffit [options] < inputfile > outputfile

DESCRIPTION
roffit converts the inputfile to outputfile. The inputfile must be an nroff formatted man page, and the outputfile will be an HTML document. (RFC 959) is FTP but ARFC 959 is a fake RFC3986 is URI syntax Also, we must support style staring on one line and ending on another that may be multiple lines off.

OPTIONS

--bare
    The output HTML will not include any HTML, HEAD or BODY tags. Also not that when this is selected, there will be no inlined CSS but you will have to define the necessary classes yourself.

--mumbo
    Display version number and exit. Also see --jumbo. Word in bold.

--jumbo
    Cool option. See --mumbo. Word in italic.

--mandir=<dir>
    Set a directory in which roffit will check for other man pages (in nroff [name].[num] format) that this one refers to. If found, a <a href> link will be made to that page with a html extension instead of the number. The file name in the generated link will be prefixed by the dir given with --hrefdir. This works for references specified as manpage(3) (within the emhpasis foformatting) and in a plain .BR section (often used in the SEE ALSO section).
    • one • two • three

--hrefdir=<dir>
    Specify a directory to prefix generated href links created with the --mandir option. This defaults to ".".

CSS CLASSES

h2.nroffsh
    The nroff ".SH" section. These are normally the "headlines" before each sub section within the man page.

p.nroffip
    The nroff ".IP" section. These are normally the bullet kind used to list each option out of several in a list. Usually followed by a p.level0 containining the descriptive text.

p.level0
    Normal text at the first level. Normally not indented.

p.level1
    Text at next logical indent level. Normally indented one level right.

p.level2
    Text at the second logical indent level. Normally indented two levels right.

span.bold
    Text marked to be bold.

span.manpage
    Text marked as a reference to another man page.

span.emphasis
    Text marked to be emphasized.

p.roffit
    Used for the advertising final paragraph.

WWW
https://daniel.haxx.se/projects/roffit