chiark / gitweb /
doxygen: print #define detailed description only if actually there.
authorVladimír Vondruš <mosra@centrum.cz>
Mon, 31 Dec 2018 01:50:01 +0000 (02:50 +0100)
committerVladimír Vondruš <mosra@centrum.cz>
Mon, 31 Dec 2018 02:32:09 +0000 (03:32 +0100)
The detailed docs can contain just parameter docs, for example.

doxygen/templates/details-define.html
doxygen/test/compound_detailed/File_8h.html

index 1fee5abc8700e33d654e683da8649227b77eeac7..2fd66b4a6a36dabf8a535e97012a179a51b47769 100644 (file)
@@ -31,5 +31,7 @@
               {% endif %}
             </table>
             {% endif %}
+            {% if define.description %}
 {{ define.description }}
+            {% endif %}
           </div></section>
index 5def271138ed993663154206137b3fff6cf4ca0a..f893c80b6adbd35a150b1b914f26e428cd7dd0c4 100644 (file)
                 </tr>
               </tfoot>
             </table>
-
           </div></section>
           <section class="m-dox-details" id="acf406f8979f9a2831e9efebfd8606833"><div>
             <h3>