From 87e4550585c643e97e0003119b254251ac5ed1d4 Mon Sep 17 00:00:00 2001 From: Neels Hofmeyr Date: Tue, 20 Jun 2017 00:17:59 +0200 Subject: doxygen: enable AUTOBRIEF, drop \brief Especially for short descriptions, it is annoying to have to type \brief for every single API doc. Drop all \brief and enable the AUTOBRIEF feature of doxygen, which always takes the first sentence of an API doc as the brief description. Change-Id: I11a8a821b065a128108641a2a63fb5a2b1916e87 --- utils/conv_gen.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'utils') diff --git a/utils/conv_gen.py b/utils/conv_gen.py index 0cdba756..6b6b2677 100644 --- a/utils/conv_gen.py +++ b/utils/conv_gen.py @@ -170,8 +170,7 @@ class ConvolutionalCode(object): def print_description(self, fi, brief = False): if brief is True: - fi.write("/*! \\brief ") - fi.write("structure describing %s\n" + fi.write("/*! structure describing %s.\n" % self.description[0]) for line in self.description[1:]: fi.write(" * %s\n" % line) -- cgit v1.2.3