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

David Bremner david at tethera.net
Tue Jul 1 09:40:34 PDT 2014


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



More information about the notmuch mailing list