diff --git a/doc/doxygen.conf b/doc/doxygen.conf
index 852fb79d2874a0587cfafecf4973a80bcbd22b8d..dc3608694f177138711f769ceadb7ef004665ad4 100644
--- a/doc/doxygen.conf
+++ b/doc/doxygen.conf
@@ -776,8 +776,7 @@ INPUT_ENCODING         = UTF-8
 # *.md, *.mm, *.dox, *.py, *.f90, *.f, *.for, *.tcl, *.vhd, *.vhdl, *.ucf,
 # *.qsf, *.as and *.js.
 
-FILE_PATTERNS          = *.c \
-                         *.h \
+FILE_PATTERNS          = *.h \
                          *.cpp
 
 # The RECURSIVE tag can be used to specify whether or not subdirectories should
@@ -793,8 +792,13 @@ RECURSIVE              = YES
 # Note that relative paths are relative to the directory from which doxygen is
 # run.
 
-EXCLUDE                = ../src/old \
-                         ../src/examples
+EXCLUDE                = ../src/examples \
+                         ../src/test \
+                         ../src/internal \
+                         ../src/scilab \
+                         ../src/serialization \
+                         ../src/solver \
+                         ../src/data_association
 
 # The EXCLUDE_SYMLINKS tag can be used to select whether or not files or
 # directories that are symbolic links (a Unix file system feature) are excluded