##
#       cdecl -- C gibberish translator
#       Doxyfile
#
#       Copyright (C) 2017-2024  Paul J. Lucas
#
#       This program is free software: you can redistribute it and/or modify
#       it under the terms of the GNU General Public License as published by
#       the Free Software Foundation, either version 3 of the License, or
#       (at your option) any later version.
#
#       This program is distributed in the hope that it will be useful,
#       but WITHOUT ANY WARRANTY; without even the implied warranty of
#       MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#       GNU General Public License for more details.
#
#       You should have received a copy of the GNU General Public License
#       along with this program.  If not, see <http://www.gnu.org/licenses/>.
##

PROJECT_NAME            = "cdecl"
PROJECT_BRIEF           = "Compose and decipher C (or C++) type declarations or casts, aka ‘‘gibberish.’’"

INPUT                   = README.md src
EXTENSION_MAPPING       = l=C y=C
FILE_PATTERNS           = *.c *.h *.l *.md *.y
FILTER_PATTERNS         = "*.h=sed -f Doxygen.sed"
PREDEFINED              = __GNUC__ \
                          ENABLE_BISON_DEBUG \
                          ENABLE_FLEX_DEBUG \
                          ENABLE_TERM_SIZE \
                          RB_CHECK_ALL_NODES \
                          WITH_READLINE
EXCLUDE                 = src/config.h \
                          src/lexer.c \
                          src/literals.h src/literals.c \
                          src/parser.h src/parser.c \
                          src/red_black_test.c \
                          src/slist_test.c \
                          src/util_test.c

OUTPUT_DIRECTORY        = docs
HTML_EXTRA_STYLESHEET   = cdecl.css
HTML_OUTPUT             = .

EXTRACT_ALL             = YES
EXTRACT_PACKAGE         = YES
EXTRACT_STATIC          = YES

DISABLE_INDEX           = YES
GENERATE_LATEX          = NO
GENERATE_TREEVIEW       = YES

ALPHABETICAL_INDEX      = YES
DISTRIBUTE_GROUP_DOC    = YES
ENUM_VALUES_PER_LINE    = 1
FORCE_LOCAL_INCLUDES    = YES
INTERNAL_DOCS           = YES
JAVADOC_AUTOBRIEF       = YES
MARKDOWN_SUPPORT        = YES
MAX_INITIALIZER_LINES   = 0
OPTIMIZE_OUTPUT_FOR_C   = YES
QUIET                   = YES
REFERENCED_BY_RELATION  = YES
REFERENCES_LINK_SOURCE  = YES
REFERENCES_RELATION     = YES
SHOW_INCLUDE_FILES      = NO
SORT_BRIEF_DOCS         = YES
SORT_GROUP_NAMES        = YES
SOURCE_BROWSER          = YES
STRIP_CODE_COMMENTS     = NO
TAB_SIZE                = 2
TYPEDEF_HIDES_STRUCT    = YES
USE_MDFILE_AS_MAINPAGE  = README.md
WARN_NO_PARAMDOC        = YES

# vim:set et sw=4 ts=4:
