[Patch v2] doc: postprocess notmuch.3

Subject: [Patch v2] doc: postprocess notmuch.3

Date: Tue, 1 Jul 2014 16:13:03 -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 | 1 +
 1 file changed, 1 insertion(+)

diff --git a/doc/Makefile.local b/doc/Makefile.local
index e9402b4..0a0bf47 100644
--- a/doc/Makefile.local
+++ b/doc/Makefile.local
@@ -80,6 +80,7 @@ endif
 
 $(APIMAN): $(dir)/version.dox $(dir)/doxygen.cfg $(srcdir)/lib/notmuch.h
 	doxygen $(DOXYFILE)
+	perl -pi -e 's/^[.]RI "\\fI/.RI "\\fP/' $(APIMAN)
 
 $(dir)/version.dox: version.stamp
 	echo "PROJECT_NAME = \"Notmuch $(VERSION)\"" > $@
-- 
2.0.0.rc2


Thread: