From 387c97bae8fd2e21dcd5b0a2b938d23e5d007a0d Mon Sep 17 00:00:00 2001 From: Loek Le Blansch Date: Tue, 3 Sep 2024 15:18:27 +0200 Subject: add Doxyfile --- .gitignore | 1 + Doxyfile | 25 +++++++++++++++++++++++++ makefile | 3 +++ 3 files changed, 29 insertions(+) create mode 100644 Doxyfile diff --git a/.gitignore b/.gitignore index 69b610c..a3dbd3d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ build +doxygen .vscode .cache diff --git a/Doxyfile b/Doxyfile new file mode 100644 index 0000000..08a0b9b --- /dev/null +++ b/Doxyfile @@ -0,0 +1,25 @@ +# Doxyfile 1.11.0 +DOXYFILE_ENCODING = UTF-8 +PROJECT_NAME = "WIP" +OUTPUT_DIRECTORY = doxygen + +INPUT += . + +EXCLUDE_PATTERNS = build +EXCLUDE_SYMLINKS = YES +EXCLUDE_SYMBOLS = _* + +FILE_PATTERNS = *.c *.cpp *.h *.hpp *.md *.dox +RECURSIVE = YES + +GENERATE_LATEX = NO + +USE_MDFILE_AS_MAINPAGE = ./readme.md +HTML_INDEX_NUM_ENTRIES = 1 # collapse trees by default +REPEAT_BRIEF = NO + +INTERNAL_DOCS = YES +EXTRACT_STATIC = YES + +QUIET = YES + diff --git a/makefile b/makefile index 785c186..88af4e6 100644 --- a/makefile +++ b/makefile @@ -2,6 +2,9 @@ all: $(TARGET) # TARGET is defined in lazy.mk (build/main) .PHONY: FORCE +doxygen: Doxyfile FORCE + doxygen + FMT += $(shell git ls-files '*.h' '*.c' '*.cpp') format: FORCE clang-format -i $(FMT) -- cgit v1.2.3