error in doc/hg.1.txt

Mark Williamson mark.williamson at cl.cam.ac.uk
Sat Aug 6 22:04:56 CDT 2005


> Certain a plus not having to update two separate documents. Perl does
> exactly this with its Pod markup language, not sure if Python offers
> anything similar.

Python has a concept of a docstring, which other tools can run over and make 
docs out of.  It's intended for API docs though, rather than user docs but I 
expect it could work here.  OTOH, it's probably not difficult to have 
specially formatted comments and insert those into a manpage template using 
some really simple scripts.

Cheers,
Mark


More information about the Mercurial mailing list