Misc. Doxygen configuration changes
authorTeemu Murtola <teemu.murtola@gmail.com>
Mon, 27 Jan 2014 18:55:00 +0000 (20:55 +0200)
committerTeemu Murtola <teemu.murtola@gmail.com>
Fri, 28 Feb 2014 07:32:39 +0000 (09:32 +0200)
- Adjust Doxygen preprocessor behavior such that it actually parses
  #ifdefs in the code.  Otherwise, some parts of the SIMD code seemed to
  get ignored.
- Extract static functions on all levels of documentation for
  consistency (and we may end up with some static inline members in
  public headers; currently at least vec.h qualifies).
- Remove unnecessary excludes now that VERBATIM_HEADERS=NO already
  excludes the unwanted files.
- Some other minor cleanup.
- Move member groups higher up in the layouts, since they generally are
  the most interesting part.

Change-Id: Iea04772628716ed12f44cd4465c2027f4670bfae

doxygen/Doxyfile-common.cmakein
doxygen/Doxyfile-full.cmakein
doxygen/Doxyfile-lib.cmakein
doxygen/Doxyfile-user.cmakein
doxygen/DoxygenLayout.xml

index e8c132e26fe1dc28f58772258f32cf0db2d69b69..6887c06d79be1b0b40bd01f856dea019f9fee324 100644 (file)
@@ -27,7 +27,6 @@ MSCGEN_PATH            = @DOXYGEN_MSCGEN_PATH@
 ENABLED_SECTIONS       = @DOXYGEN_SECTIONS@
 
 MACRO_EXPANSION        = YES
-EXPAND_ONLY_PREDEF     = YES
 # Extract documentation also for code in headers within #ifdef __cplusplus
 PREDEFINED             = __cplusplus
 # This is for thread_mpi to #ifdef some code out that should not be documented.
@@ -51,6 +50,8 @@ VERBATIM_HEADERS       = NO
 STRIP_CODE_COMMENTS    = NO
 
 EXTRACT_LOCAL_CLASSES  = NO
+# This includes 'static inline' functions from headers in the documentation.
+EXTRACT_STATIC         = YES
 
 ALIASES               += Gromacs=GROMACS
 
index 269b78783896921f6d42da931581836b5cdec8dd..6b447d68592c00c507043e8e43a9fb071f9300ec 100644 (file)
@@ -1,12 +1,9 @@
 @INCLUDE               = Doxyfile-common
 
-MACRO_EXPANSION        = YES
-EXPAND_ONLY_PREDEF     = YES
 PREDEFINED            += F77_FUNC(name,NAME)=name
 
 ENABLED_SECTIONS      += libapi internal
 INTERNAL_DOCS          = YES
-EXTRACT_STATIC         = YES
 EXTRACT_LOCAL_CLASSES  = YES
 EXTRACT_ANON_NSPACES   = YES
 HIDE_UNDOC_CLASSES     = YES
index f2e40f9b15f1bfd282d1d06a129b207692c841f1..497e358c1065df41bc372c52c06555893eb03d09 100644 (file)
@@ -2,8 +2,6 @@
 
 ENABLED_SECTIONS      += libapi
 INTERNAL_DOCS          = NO
-# This includes 'static inline' functions from headers in the documentation.
-EXTRACT_STATIC         = YES
 HIDE_UNDOC_CLASSES     = YES
 WARN_LOGFILE           = doxygen-lib.log
 HTML_OUTPUT            = html-lib
index dbdd555e058836d360b6ccb386200ee1ebb66752..d2acd5fc5ab106589b352d04963d3bfd84630d0c 100644 (file)
@@ -1,9 +1,7 @@
 @INCLUDE               = Doxyfile-common
 
-# There is no public API documentation here;
-# exclude them from the generated file list
-EXCLUDE               += @CMAKE_SOURCE_DIR@/src/programs
-EXCLUDE               += @CMAKE_SOURCE_DIR@/src/testutils
+# These pages include documentation that does not belong to the public API
+# documentation; exclude them from the generated documentation
 EXCLUDE               += @CMAKE_SOURCE_DIR@/doxygen/doxygen.md
 EXCLUDE               += @CMAKE_SOURCE_DIR@/doxygen/unittesting.md
 EXCLUDE               += @CMAKE_SOURCE_DIR@/doxygen/wrapperbinary.md
index 09a5090751f192f78a358484510715c9b4dee866..55e292d1e6a79c9cd2455854cc104fa900eb3ad0 100644 (file)
     <sourcelink visible="yes"/>
     <detaileddescription title="Description"/>
     <memberdecl>
+      <membergroups visible="yes"/>
       <classes visible="yes" title=""/>
       <namespaces visible="no" title=""/>
       <constantgroups visible="yes" title=""/>
       <enums title=""/>
       <functions title=""/>
       <variables title=""/>
-      <membergroups visible="yes"/>
     </memberdecl>
     <memberdef>
       <inlineclasses title=""/>
     <memberdecl>
       <nestedgroups visible="yes" title=""/>
       <namespaces visible="yes" title=""/>
+      <membergroups visible="yes"/>
       <classes visible="yes" title=""/>
       <defines title=""/>
       <typedefs title=""/>
       <friends title=""/>
       <dirs visible="yes" title=""/>
       <files visible="yes" title=""/>
-      <membergroups visible="yes"/>
     </memberdecl>
     <memberdef>
       <pagedocs/>