> -----Original Message-----
> From: [email protected] [mailto:ovs-dev-
> [email protected]] On Behalf Of Russell Bryant
> Sent: Thursday, February 16, 2017 8:10 PM
> To: Ben Pfaff <[email protected]>
> Cc: ovs dev <[email protected]>
> Subject: Re: [ovs-dev] manpages in rst?
> 
> On Thu, Feb 16, 2017 at 12:24 PM, Ben Pfaff <[email protected]> wrote:
> 
> > Currently, we have some manpages written directly in nroff.  This is
> > an awful format, that is difficult to read and difficult to write.
> > Other manpages are written in a custom XML format that, while it is
> > easier to read and write, isn't any standard format and so we can't
> > expect anyone else (person or program) to understand it.  This is not
> > ideal.  It's difficult to include either format in the readthedocs
> > documentation, too.
> >
> > I'm thinking about starting to write manpages in REstructured Text
> > (rst).  This would make it much easier to include them in the
> > readthedocs pages, and ReST seems to convert pretty well to nroff for
> > installing as real manpages.  For example, try fetching
> > http://docutils.sourceforge.net/sandbox/manpage-writer/input/test.txt,
> > which is a rst file, and then running "rst2man test.txt > test.man"
> > and viewing test.man with "man -l" or "groffer".  The output looks fine.
> >
> > I think that all we'd need for this is a build dependency on
> > python-docutils to ensure that rst2man is available at build time.
> >
> > Does anyone have comments?
> >
> 
> +1 for rst.  That should make it easier to integrate the same content
> +into
> docs.openvswitch.org.
> 
> I think sphinx has support for man pages, but it has been a long time since
> I've used it.
> 
> --
> Russell Bryant
 [Alin Serdean] +1 for rst, it has chm support 
http://docutils.sourceforge.net/sandbox/chm-writer/ :D, "default" man for 
Windows.

Thanks,
Alin.

_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to