prov icon indicating copy to clipboard operation
prov copied to clipboard

Manpages for scripts

Open ghisvail opened this issue 9 years ago • 2 comments

Traditionally, all Unix programs are documented with manual pages and Linux distribution often recommends providing corresponding manpages for each installed command-line utility.

It would be nice to improve the prov package so it generates the respective manpage for each script. For instance, this could be achieved by integration of a pair of custom build and install setuptools commands responsible for calling help2man on the scripts.

Cheers,

ghisvail avatar Jul 22 '16 19:07 ghisvail

Hi @ghisvail,

Thank you for the pointer. I'll have a look into this, but I have to admit that it's not high on my list. As I don't have a Linux background, I almost never thought of manpages. It will probably take me a bit of time to know my ways around them.

trungdong avatar Jul 25 '16 15:07 trungdong

A modern approach is to write them in Markdown and use pandoc for conversion to the manpage format. See the following blog post for an example.

ghisvail avatar Dec 13 '16 12:12 ghisvail