# Doxygen configuration for zash.  Run with `make doc`; output goes to docs/.
PROJECT_NAME           = zash
PROJECT_BRIEF          = "A small, fast POSIX shell for z/OS UNIX"
OUTPUT_DIRECTORY       = docs
# The source reference only; README.md and DESIGN.md are read as they are.
INPUT                  = src
FILE_PATTERNS          = *.c *.h
MARKDOWN_SUPPORT       = YES
OPTIMIZE_OUTPUT_FOR_C  = YES
TYPEDEF_HIDES_STRUCT   = YES
EXTRACT_ALL            = YES
EXTRACT_STATIC         = YES
EXTRACT_LOCAL_CLASSES  = YES
SOURCE_BROWSER         = YES
REFERENCED_BY_RELATION = YES
GENERATE_HTML          = YES
GENERATE_LATEX         = YES
# Nonstop mode: `make doc` must not sit waiting for an answer on a missing file.
LATEX_BATCHMODE        = YES
QUIET                  = YES
GENERATE_TREEVIEW      = YES
WARN_LOGFILE           = docs/doxygen-warnings.txt
WARN_IF_UNDOCUMENTED   = YES
WARN_NO_PARAMDOC       = NO
# Two files are alternative implementations of the same interface and
# would be documented twice over: edit_libedit.c (the editor, when libedit
# is used) and sys_posix.c (the platform layer on Linux).  Their contract
# is in interact.h and sys.h; the files documented here are the ones with
# the explanations, edit_builtin.c and sys_zos.c.
EXCLUDE                = src/edit_libedit.c src/sys_posix.c
PREDEFINED             = PRINTFLIKE(f,a)= NODISCARD= _Noreturn=
