From 038a0ac51606c1b01e3a0c5072483f95d2c924b6 Mon Sep 17 00:00:00 2001
From: Martin Beseda <martinbeseda@seznam.cz>
Date: Fri, 13 Jul 2018 13:18:49 +0200
Subject: [PATCH] FIX: Fixed generating Doxygen documentation.

---
 Doxyfile      | 8 ++++----
 build_docs.sh | 2 +-
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/Doxyfile b/Doxyfile
index 16a62823..5818bece 100644
--- a/Doxyfile
+++ b/Doxyfile
@@ -44,7 +44,7 @@ PROJECT_NUMBER         =
 # for a project that appears at the top of each page and should give viewer a
 # quick idea about the purpose of the project. Keep the description short.
 
-PROJECT_BRIEF          = "Fortran neural networks library"
+PROJECT_BRIEF          = "Massivelly-parallel neural networks library"
 
 # With the PROJECT_LOGO tag one can specify a logo or an icon that is included
 # in the documentation. The maximum height of the logo should not exceed 55
@@ -266,7 +266,7 @@ OPTIMIZE_OUTPUT_JAVA   = NO
 # sources. Doxygen will then generate output that is tailored for Fortran.
 # The default value is: NO.
 
-OPTIMIZE_FOR_FORTRAN   = YES
+OPTIMIZE_FOR_FORTRAN   = NO
 
 # Set the OPTIMIZE_OUTPUT_VHDL tag to YES if your project consists of VHDL
 # sources. Doxygen will then generate output that is tailored for VHDL.
@@ -291,7 +291,7 @@ OPTIMIZE_OUTPUT_VHDL   = NO
 # Note that for custom extensions you also need to set FILE_PATTERNS otherwise
 # the files are not read by doxygen.
 
-EXTENSION_MAPPING      = f03=FortranFree f08=FortranFree
+EXTENSION_MAPPING      =
 
 # If the MARKDOWN_SUPPORT tag is enabled then doxygen pre-processes all comments
 # according to the Markdown format, which allows for more readable
@@ -864,7 +864,7 @@ FILE_PATTERNS          = *.c \
 # be searched for input files as well.
 # The default value is: NO.
 
-RECURSIVE              = NO
+RECURSIVE              = YES
 
 # The EXCLUDE tag can be used to specify files and/or directories that should be
 # excluded from the INPUT source files. This way you can easily exclude a
diff --git a/build_docs.sh b/build_docs.sh
index 0cde99c4..84938d79 100755
--- a/build_docs.sh
+++ b/build_docs.sh
@@ -1,5 +1,5 @@
 echo "Generating documentation into folder 'docs'...";
-doxygen 2>&1 >/dev/null | grep -v 'normal_m.f90' && echo "Documenation was generated." || exit -1;
+doxygen 2>&1;
 cd docs/latex;
 echo "Building LaTeX documentation../";
 make >/dev/null && echo "Documentation was built." || exit -1;
-- 
GitLab