summaryrefslogtreecommitdiffhomepage
path: root/Doxyfile
diff options
context:
space:
mode:
Diffstat (limited to 'Doxyfile')
-rw-r--r--Doxyfile19
1 files changed, 13 insertions, 6 deletions
diff --git a/Doxyfile b/Doxyfile
index 3c1a40e..963e7e8 100644
--- a/Doxyfile
+++ b/Doxyfile
@@ -1,7 +1,7 @@
-# Doxygen configuration for zash. Run with `make doc`; output goes to doc/.
+# 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 = doc
+OUTPUT_DIRECTORY = docs
# The source reference only; README.md and DESIGN.md are read as they are.
INPUT = src
FILE_PATTERNS = *.c *.h
@@ -14,11 +14,18 @@ EXTRACT_LOCAL_CLASSES = YES
SOURCE_BROWSER = YES
REFERENCED_BY_RELATION = YES
GENERATE_HTML = YES
-GENERATE_LATEX = NO
+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 each have an alternative that defines the same functions
-# (the editor, the platform layer); only the default one is documented.
-EXCLUDE = src/edit_libedit.c src/sys_zos.c
+# 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=