roffman
A crate to generate roff man pages.
Usage
Add the following to the Cargo.toml:
[]
= "0.1"
Example
use ;
Output:
.TH "roffman" "7" "August 2021"
.
.SH "BASIC USAGE"
.P
This is how you create a basic paragraph using roffman\.
.
.IP "" 4
This line should be slightly indented to the \fBright\.\fR
.
.P
And some example \fIcode\fR:
.
.EX
impl Roffable for u8 {
fn roff(&self) \-> RoffText {
self\.to_string()\.roff()
}
}
.EE
which will look something like this:
roffman(7) Miscellaneous Information Manual roffman(7)
BASIC USAGE
This is how you create a basic paragraph using roffman.
This line should be slightly indented to the right.
And some example code:
impl Roffable for u8 {
fn roff(&self) -> RoffText {
self.to_string().roff()
}
}
roffman(7)