From 3c986d35ac9ceee2495dc35b0de06f58580c60a8 Mon Sep 17 00:00:00 2001
From: Oliver Sander <sander@dune-project.org>
Date: Thu, 25 Jan 2007 19:09:38 +0000
Subject: [PATCH] add a centralized file to eventually hold all doxygen groups.
  Put a group there for GeometryType and put GeometryType in it.  This fixes
 FlySpray issue 237

[[Imported from SVN: r4836]]
---
 common/geometrytype.hh |  2 +-
 common/modules         | 14 ++++++++++++++
 doc/doxygen/Doxyfile   |  1 +
 3 files changed, 16 insertions(+), 1 deletion(-)
 create mode 100644 common/modules

diff --git a/common/geometrytype.hh b/common/geometrytype.hh
index 14e58fefb..683b592ac 100644
--- a/common/geometrytype.hh
+++ b/common/geometrytype.hh
@@ -16,7 +16,7 @@ namespace Dune {
      This class has to be extended if a grid implementation with new entity types
      is added to DUNE.
 
-      \ingroup GIGeometryType
+      \ingroup COGeometryType
    */
   class GeometryType
   {
diff --git a/common/modules b/common/modules
new file mode 100644
index 000000000..865222b90
--- /dev/null
+++ b/common/modules
@@ -0,0 +1,14 @@
+/* This file determines the order how things appear in the doxygen
+   documentation within the dune-common module. It works like this:
+
+   @defgroup commands appear only in this file here which is
+   parsed before the other files (because it is mentioned first 
+   in the Doxyfile).
+
+   Only @addtogroup is used in the code documentation.
+*/
+
+  /**
+	 @defgroup COGeometryType GeometryType
+	 @ingroup Common
+  */
diff --git a/doc/doxygen/Doxyfile b/doc/doxygen/Doxyfile
index a8379e185..46548c5cd 100644
--- a/doc/doxygen/Doxyfile
+++ b/doc/doxygen/Doxyfile
@@ -452,6 +452,7 @@ WARN_LOGFILE           =
 
 INPUT                  = mainpage \
                          modules \
+                         ../../common/modules \
                          ../../common
 
 # If the value of the INPUT tag contains directories, you can use the 
-- 
GitLab