dist/tools/doccheck: add exclude file for warnings and use it
This is purely to finally unblock RIOT-OS/riotdocker#104, but may also be useful to add future exclude patterns. Exclude file was generated using ```sh make doc 2> dist/tools/doccheck/exclude_patterns_base grep "^${PWD}" dist/tools/doccheck/exclude_patterns_base | \ sed -E -e "s#^${PWD}/(.*:)([0-9]+): #\1DIGITS_MAGIC: #" \ -e 's/[]\\.$*{}|+?()[^-]/\\&/g' \ -e 's/:DIGITS_MAGIC:/:[0-9]+:/' \ > dist/tools/doccheck/exclude_patterns rm dist/tools/doccheck/exclude_patterns_base ```
This commit is contained in:
parent
da140c251a
commit
acdcaf16a5
6
dist/tools/doccheck/check.sh
vendored
6
dist/tools/doccheck/check.sh
vendored
@ -8,7 +8,9 @@
|
||||
# General Public License v2.1. See the file LICENSE in the top level
|
||||
# directory for more details.
|
||||
|
||||
RIOTBASE="$(cd $(dirname $0)/../../..; pwd)"
|
||||
SCRIPTDIR="$(cd $(dirname "$0"); pwd)"
|
||||
RIOTBASE="$(cd "${SCRIPTDIR}"/../../..; pwd)"
|
||||
EXCLUDE_PATTERN_FILE="${SCRIPTDIR}/exclude_patterns"
|
||||
|
||||
. ${RIOTBASE}/dist/tools/ci/github_annotate.sh
|
||||
|
||||
@ -24,7 +26,7 @@ else
|
||||
CRESET=
|
||||
fi
|
||||
|
||||
DOXY_OUTPUT=$(make -C "${RIOTBASE}" doc 2>&1)
|
||||
DOXY_OUTPUT=$(make -C "${RIOTBASE}" doc 2>&1 | grep -Evf "${EXCLUDE_PATTERN_FILE}")
|
||||
DOXY_ERRCODE=$?
|
||||
RESULT=0
|
||||
|
||||
|
||||
14621
dist/tools/doccheck/exclude_patterns
vendored
Normal file
14621
dist/tools/doccheck/exclude_patterns
vendored
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user