Skip to main content

parse_manual_bytes

Function parse_manual_bytes 

Source
pub fn parse_manual_bytes(
    path: &Path,
    source: &[u8],
) -> Result<Document, ManualError>
Expand description

Parse one already bounded, uncompressed standalone roff input.

This is the standard-input counterpart of parse_manual_source. It does not expand .so redirects and never reads another file.

ยงErrors

Returns ManualError when libmandoc rejects the input.