[PATCH 2/2] doc: postprocess notmuch.3

Subject: [PATCH 2/2] doc: postprocess notmuch.3

Date: Tue, 1 Jul 2014 13:40:34 -0300

To: notmuch@notmuchmail.org

Cc:

From: David Bremner


Remove excess italics from doxygen output. It seems to make no
sense (and is certainly ugly) to italicize the first argument to the
.RI macro.
---
 doc/Makefile.local | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/doc/Makefile.local b/doc/Makefile.local
index e9402b4..0114b24 100644
--- a/doc/Makefile.local
+++ b/doc/Makefile.local
@@ -80,6 +80,8 @@ endif
 
 $(APIMAN): $(dir)/version.dox $(dir)/doxygen.cfg $(srcdir)/lib/notmuch.h
 	doxygen $(DOXYFILE)
+	sed -i 's/^[.]RI "[\]fI/.RI "\\fP/' $(dir)/doc/_build/man/man3/notmuch.3 
+
 
 $(dir)/version.dox: version.stamp
 	echo "PROJECT_NAME = \"Notmuch $(VERSION)\"" > $@
-- 
2.0.0.rc2


Thread: