From c482eff23784d6f056ed7b9a70598272b1729681 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Oberhuber?= <oberhuber.tomas@gmail.com>
Date: Sat, 27 Oct 2018 21:17:32 +0200
Subject: [PATCH] Doxygen omits directories without documentation.

---
 Doxyfile     | 18 +++++++++++++++++-
 generate-doc |  3 ++-
 2 files changed, 19 insertions(+), 2 deletions(-)

diff --git a/Doxyfile b/Doxyfile
index 649e477a43..2e7eec18ca 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 6007851f47..9a2ad0ab92 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
 
-- 
GitLab