# 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 one interface and would be
# documented twice over: sys_posix.c (the platform layer on Linux) against
# sys_zos.c.  Their contract is in sys.h; the file documented here is the
# one with the explanations.
EXCLUDE                = src/sys_posix.c
PREDEFINED             = PRINTFLIKE(f,a)= NODISCARD= _Noreturn=
