scdoc

Generate man pages from simple markup documents

brewmacoslinux
Try with needOr install directly
Source

About

Small man page generator

Commands

scdoc

Examples

convert markup file to man page$ scdoc < input.scd > output.1
create man page and write to specific section$ scdoc < mycommand.scd > mycommand.5
generate man pages from multiple source files$ for file in *.scd; do scdoc < "$file" > "${file%.scd}"; done
view generated man page without installing$ scdoc < documentation.scd | man -l -
include man page generation in build process$ make: scdoc < src/tool.scd > build/tool.1