lib: modify notmuch.h for automatic document generation