[PATCH v3 0/5] rst2man.py support and doc-build cleanups
W. Trevor King
wking at tremily.us
Sat Jul 12 20:10:32 PDT 2014
Changes since v2 [1]:
* In patches 1/5 and 5/5, use for loops to check for rst2man[.py] and
rst2html[.py].
* In patches 1/5 and 5/5, store the command names, not the full paths
(command -v …) [2].
* In patch 3/5, I've added argparse handling to the newly-renamed
rst-man2any.py. Tomi suggested modeling the name and UI on texi2any
[3], but texi2any is for converting a single file, while
rst-man2any.py is for converting a whole tree (and it takes an
arbitrary ReST-to-$x converter to do the real work). I've basically
just cleaned things up, but if folks aren't satisfied I'm going to
need more concrete suggestions ;).
Cheers,
Trevor
[1]: id:cover.1399740604.git.wking at tremily.us
http://thread.gmane.org/gmane.mail.notmuch.general/18291
[2]: id:m2ion3dn0r.fsf at guru.guru-group.fi
http://article.gmane.org/gmane.mail.notmuch.general/18652
[3]: id:m2lhrzj8kb.fsf at guru.guru-group.fi
http://article.gmane.org/gmane.mail.notmuch.general/18653
W. Trevor King (5):
doc: Allow rst2man.py as an alternative to rst2man
doc/prerst2man.py: Convert execfile to import
doc/rst-man2any.py: Adjust to handle any output format, not just man
pages
doc: Consolidate Makefile targets around {build|install}-{format}
doc: Add rst2html support for building HTML docs
Makefile.local | 14 ++++++-
configure | 45 ++++++++++++++++++++---
doc/INSTALL | 47 +++++++++++++++++-------
doc/Makefile.local | 48 ++++++++++++++----------
doc/prerst2man.py | 63 --------------------------------
doc/rst-man2any.py | 105 +++++++++++++++++++++++++++++++++++++++++++++++++++++
6 files changed, 217 insertions(+), 105 deletions(-)
delete mode 100644 doc/prerst2man.py
create mode 100755 doc/rst-man2any.py
--
1.9.1.353.gc66d89d
More information about the notmuch
mailing list