Skip to content

Commit

Permalink
Merge #19228
Browse files Browse the repository at this point in the history
19228: doccheck: avoid generating dot or html r=kaspar030 a=kfessel

### Contribution description

doccheck without generating dot or html

this also has some new generated lines for exclude_pattern (some of them where broke so I regenerated the block)

### Testing procedure

doccheck 

### Issues/PRs references



Co-authored-by: Karl Fessel <karl.fessel@ovgu.de>
  • Loading branch information
bors[bot] and kfessel authored Jan 31, 2023
2 parents 207dd5d + 3de68c7 commit 8a0e283
Show file tree
Hide file tree
Showing 3 changed files with 87 additions and 53 deletions.
7 changes: 6 additions & 1 deletion dist/tools/doccheck/check.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ RIOTBASE="$(cd "${SCRIPTDIR}"/../../..; pwd)"
EXCLUDE_PATTERN_FILE="${SCRIPTDIR}/exclude_patterns"
GENERIC_EXCLUDE_PATTERN_FILE="${SCRIPTDIR}/generic_exclude_patterns"

if [[ -z ${DOCUMENTATION_FORMAT+x} ]]; then
export DOCUMENTATION_FORMAT=check
fi

. "${RIOTBASE}"/dist/tools/ci/github_annotate.sh

github_annotate_setup
Expand All @@ -33,7 +37,6 @@ DOXY_OUTPUT=$(make -C "${RIOTBASE}" doc 2>&1 | grep -Evf "${EXCLUDE_PATTERN_FILE
DOXY_ERRCODE=$?
RESULT=0


if [ "${DOXY_ERRCODE}" -ne 0 ] ; then
echo "'make doc' exited with non-zero code (${DOXY_ERRCODE})"
echo "${DOXY_OUTPUT}"
Expand All @@ -53,6 +56,8 @@ else
sed -e 's/^[ \t]*//' -e 's/[ \t]*$//')
github_annotate_error "${FILENAME}" "${LINENR}" "${DETAILS}"
done
# show errors not matching the pattern above
echo "${ERRORS}" | grep -v "^.\+:[0-9]\+: warning:"
else
echo -e "${CERROR}ERROR: Doxygen generates the following warnings:${CRESET}"
echo "${ERRORS}"
Expand Down
Loading

0 comments on commit 8a0e283

Please sign in to comment.