#!/usr/bin/env 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: tro/CN/libreoffice-7-4-LTS'>distro/CN/libreoffice-7-4-LTS LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
path: root/bin/find-duplicated-sids.py
AgeCommit message (Expand)Author
2024-05-21tdf#158803 Remove E999: SyntaxError's and some other minor editsLeonard Sasse
2020-07-13Don't rely on Python's treatment of unrecognized escape sequencesMike Kaganski
2015-08-06in find-duplicated-sids, also check for redefinitionsNoel Grandin
2015-08-06add script to find duplicated SID'sNoel Grandin