Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix script that creates doxygen documentation and reports warnings/er…
…rors - close #301 (CI: documentation checks fail on github actions) - the problem arose * because commit 3ecbdc9 removed all exceptions from `doc/doxygen_exceptions.txt` (doxygen warnings not to be reported by the script) and * because the script `tools/run_doxygen.sh` incorrectly tested whether the file listing exceptions was empty (it reported an empty file but with return characters as not empty) by using `wc -l` - As a consequence, the script removed all content of the doxygen log file (in error): grep was set up to match everything if the pattern inputs was empty or contained an empty line -> now, the script `tools/run_doxygen.sh` correctly identifies if `doc/doxygen_exceptions.txt` contains exceptions or is empty (but for whitespace) by using `wc -w` (instead of `wc -l`) -> now, the script also sends an error with a hopefully meaningful message (instead of none) if the doxygen log file turns out to be empty
- Loading branch information