Fix formatting of Doxygen comments warning message

This commit is contained in:
Olivier
2025-11-18 01:03:03 +02:00
committed by GitHub
parent cbd2478797
commit 77982d3ce0

View File

@@ -64,7 +64,7 @@ fi
missing_keywords_3=$(SOURCE_FILES="core/ drivers/ hal/ examples/ examples_linux/ MyConfig.h MySensors.h"; for keyword in $(grep -whore 'MY_[A-Z][A-Z_0-9]*' $SOURCE_FILES | sort -u ); do grep -q $keyword keywords.txt || echo $keyword; done)
if [ -n "$missing_keywords_3" ]; then
echo "<b>Keywords in code that don't have Doxygen comments and aren't blacklisted in keywords.txt:</b>" > missing_keywords_3.txt
echo 'If keywords don''t have Doxygen comments, they will not be available at <a href="https://www.mysensors.org/apidocs/index.html">https://www.mysensors.org/apidocs/index.html</a>.<br>' >> missing_keywords_3.txt
echo 'If keywords don''t have Doxygen comments, they will not be available at <a href="https://www.mysensors.org/apidocs/index.html">https://www.mysensors.org/apidocs/index.html</a>.' >> missing_keywords_3.txt
echo "Add Doxygen comments to make it easier for users to find and understand how to use the new keywords." >> missing_keywords_3.txt
echo "$missing_keywords_3" >> missing_keywords_3.txt
sed -i -e 's/$/<br>/' missing_keywords_3.txt