From c782ff644ae2cf6ac602139c85b0902b1c335b8d Mon Sep 17 00:00:00 2001 From: Emily Boudreaux Date: Sun, 19 Jan 2025 12:23:34 -0500 Subject: [PATCH] docs(mk): added doxygen commands to build docs when running ./mk --docs the docs will also be build with the code itself and the tests --- mk | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/mk b/mk index 4179b41..6e3a90f 100755 --- a/mk +++ b/mk @@ -19,3 +19,10 @@ meson compile -C build if [[ "$1" != "--noTest" ]]; then meson test -C build fi + +# Check if --docs are to be built +if [[ "$*" == *"--docs"* ]]; then + echo "Generating documentation..." + doxygen + cd docs/latex && make +fi