#!/bin/bash # finds undocumented classes in the current directory (recursive) type -p doxygen >/dev/null || exit filter= quiet=n if [ "$1" = "-q" ]; then filter=">/dev/null" quiet=y shift fi doxygen=$(mktemp -d) eval doxygen -g $doxygen/doxygen.cfg $filter sed -i "/HTML_OUTPUT/s|html|$doxygen/html|" $doxygen/doxygen.cfg sed -i '/GENERATE_LATEX/s/= YES/= NO/' $doxygen/doxygen.cfg sed -i '/RECURSIVE/s/= NO/= YES/' $doxygen/doxygen.cfg # do we have any arguments? if [ -n "$*" ]; then sed -i "/^INPUT[^_]/s|=.*|= $*|" $doxygen/doxygen.cfg fi eval doxygen $doxygen/doxygen.cfg $filter 2> $doxygen/errors.txt if [ "$quiet" == "n" ]; then echo echo "The following classes are undocumented:" echo fi cat $doxygen/errors.txt|grep -i 'Warning: Compound.*is not documented' rm -rf $doxygen # vim:set shiftwidth=4 softtabstop=4 expandtab: eoffice-7-4-LTS LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <stephan.bergmann@allotropia.de>2024-03-06 12:40:04 +0100
committerStephan Bergmann <stephan.bergmann@allotropia.de>2024-03-06 20:50:43 +0100
commit98c42f7e961e77d7f1c02d53862e4e78ecd07653 (patch)
tree56e8fc6e02756d800bbd134ec6c5b74d757903ed
parent119696c73eb7a2f4187efea503ebb88a19105819 (diff)
Adapt to emsdk 3.1.46