ref: 867084e711bfca3753a0ee9d6d9e3d959d1fbcf7
parent: 621f1ff6aed41ad258484d939eff9d97a0e25c5e
author: Paul Brossier <piem@piem.org>
date: Sat Mar 2 09:16:49 EST 2013
doc/web.cfg: add examples
--- a/doc/web.cfg
+++ b/doc/web.cfg
@@ -579,7 +579,7 @@
# *.c *.cc *.cxx *.cpp *.c++ *.java *.ii *.ixx *.ipp *.i++ *.inl *.h *.hh *.hxx
# *.hpp *.h++ *.idl *.odl *.cs *.php *.php3 *.inc *.m *.mm *.py *.f90
-FILE_PATTERNS =
+FILE_PATTERNS = *.h *.c
# The RECURSIVE tag can be used to turn specify whether or not subdirectories
# should be searched for input files as well. Possible values are YES and NO.
@@ -605,7 +605,7 @@
# against the file with absolute path, so to exclude all test directories
# for example use the pattern */test/*
-EXCLUDE_PATTERNS = *.c
+EXCLUDE_PATTERNS = */src/*.c */src/*/*.c
# The EXCLUDE_SYMBOLS tag can be used to specify one or more symbol names
# (namespaces, classes, functions, etc.) that should be excluded from the
@@ -619,15 +619,15 @@
# directories that contain example code fragments that are included (see
# the \include command).
-EXAMPLE_PATH = ../examples \
- ../tests/src
+EXAMPLE_PATH = ../examples ../tests/src
+
# If the value of the EXAMPLE_PATH tag contains directories, you can use the
# EXAMPLE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp
# and *.h) to filter out the source-files in the directories. If left
# blank all files are included.
-EXAMPLE_PATTERNS =
+EXAMPLE_PATTERNS = *.c
# If the EXAMPLE_RECURSIVE tag is set to YES then subdirectories will be
# searched for input files to be used with the \include or \dontinclude
@@ -634,7 +634,7 @@
# commands irrespective of the value of the RECURSIVE tag.
# Possible values are YES and NO. If left blank NO is used.
-EXAMPLE_RECURSIVE = NO
+EXAMPLE_RECURSIVE = YES
# The IMAGE_PATH tag can be used to specify one or more files or
# directories that contain image that are included in the documentation (see