diff --git a/Doxyfile b/Doxyfile
index 649e477a43baf646c64de92ce4615a5a5aed8461..2e7eec18ca2484eed9df115142c57aa44328a903 100644
--- a/Doxyfile
+++ b/Doxyfile
@@ -889,7 +889,23 @@ EXCLUDE_SYMLINKS       = NO
 # Note that the wildcards are matched against the file with absolute path, so to
 # exclude all test directories for example use the pattern */test/*
 
-EXCLUDE_PATTERNS       =
+EXCLUDE_PATTERNS       = */Communicators/* \
+                         */Config/* \
+                         */Containers/* \
+                         */Debugging/* \
+                         */Devices/* \
+                         */DistributedContainers/* \
+                         */Exceptions/* \
+                         */Experimental/* \
+                         */Functions/* \
+                         */Images/* \
+                         */Matrices/* \
+                         */Meshes/* \
+                         */Operators/* \
+                         */Pointers/* \
+                         */Problems/* \
+                         */Solvers/* 
+
 
 # The EXCLUDE_SYMBOLS tag can be used to specify one or more symbol names
 # (namespaces, classes, functions, etc.) that should be excluded from the
diff --git a/generate-doc b/generate-doc
index 6007851f47e071c08ce263d2da8040e261d75cd9..9a2ad0ab92a491a70024ec4182d656346cb9c716 100755
--- a/generate-doc
+++ b/generate-doc
@@ -15,6 +15,7 @@ done
 doxygen
 
 if [[ "$INSTALL" == "yes" ]]; then
-   cp -r Documentation/* ${PREFIX}/share/doc
+   mkdir -p ${PREFIX}/share/doc/tnl
+   cp -r Documentation/* ${PREFIX}/share/doc/tnl
 fi