diff --git a/doc/Doxyfile.in b/doc/Doxyfile.in
index 693bd806f27f4eaedbdfbb998084876062a5a9bd..a03667465409fddacb7d6d84b940626e6743b623 100644
--- a/doc/Doxyfile.in
+++ b/doc/Doxyfile.in
@@ -468,7 +468,7 @@ EXTRACT_LOCAL_METHODS  = NO
 # are hidden.
 # The default value is: NO.
 
-EXTRACT_ANON_NSPACES   = NO
+EXTRACT_ANON_NSPACES   = YES
 
 # If the HIDE_UNDOC_MEMBERS tag is set to YES, doxygen will hide all
 # undocumented members inside documented classes or files. If set to NO these
@@ -836,7 +836,7 @@ 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       = *test*
+EXCLUDE_PATTERNS       = */test/*
 
 
 # The EXCLUDE_SYMBOLS tag can be used to specify one or more symbol names
@@ -2022,7 +2022,7 @@ EXPAND_ONLY_PREDEF     = YES
 # The default value is: YES.
 # This tag requires that the tag ENABLE_PREPROCESSING is set to YES.
 
-SEARCH_INCLUDES        = YES
+SEARCH_INCLUDES        = NO
 
 # The INCLUDE_PATH tag can be used to specify one or more directories that
 # contain include files that are not input files but should be processed by the