]> https://gitweb.dealii.org/ - dealii.git/commitdiff
update wrapcomments script
authorTimo Heister <timo.heister@gmail.com>
Mon, 23 Feb 2015 20:58:12 +0000 (15:58 -0500)
committerTimo Heister <timo.heister@gmail.com>
Mon, 23 Feb 2015 21:18:10 +0000 (16:18 -0500)
handle many additional doxygen commands correctly

contrib/utilities/wrapcomments.py

index ac2c2414a787c0a3f4526ef2ccb5a314fcfce2a5..800166612074146bef6560b5c4acfd2265553f7d 100755 (executable)
@@ -92,14 +92,20 @@ def format_block(lines, infostr=""):
     endidx = len(lines)-1
     curlines = []
 
-    ops_startline = ["<li>", "@param", "@returns", "@warning", "@ingroup", "@author", "@date", "@related", "@deprecated", "@image", "@return"]
+    ops_startline = ["<li>", "@param", "@returns", "@warning", "@ingroup", "@author", "@date", "@related", "@relates", "@relatesalso", "@deprecated", "@image", "@return", "@brief", "@attention", "@copydoc", "@addtogroup", "@todo", "@tparam", "@skip", "@skipline", "@until", "@line", "@dontinclude", "@include", "@see", "@note"]
 
     # subset of ops_startline that does not want stuff from the next line appended
     # to this.
     ops_also_end_paragraph = ["@image"]
 
+    # stuff handled in the while loop down: @code, @verbatim, @f @ref
+
     ops_separate_line = ["<ol>", "</ol>", "<ul>", "</ul>", "@{", "@}", "<br>"]
 
+
+    #todo:
+    #  @arg @c @cond  @em @endcond @f{ @internal @name @post @pre  @sa 
+
     while idx<endidx:
         if one_in(ops_separate_line, lines[idx]):
             if curlines!=[]:

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.