dist/tools,doc/doxygen: use doc-ci in the doccheck if possible, update to Doxygen 1.15.0#21372
dist/tools,doc/doxygen: use doc-ci in the doccheck if possible, update to Doxygen 1.15.0#21372AnnsAnns merged 5 commits intoRIOT-OS:masterfrom
doc-ci in the doccheck if possible, update to Doxygen 1.15.0#21372Conversation
|
Of couse now this is a hen-and-egg problem between #21292 and this 🤣 |
So why not using |
When But I just saw that there should be an |
True, but only for the first run and I believe there would be value in having |
|
Okay, I'm convinced :D But I would still like to keep the changes to the |
|
Sounds good. Feel free to squash at will |
Makes sense to split this out I'd say. |
|
Urgh, this seems to need a bit more attention. Apparently Doxygen 1.13.2 has a bug that doesn't parse code blocks correctly: I'll have to try it with For example from https://github.com/RIOT-OS/RIOT/blob/master/sys/psa_crypto/doc.md?plain=1: As far as I can tell, the code is in valid code blocks and Doxygen 1.9.1 parses it correctly and so does the GitHub markdown preview. Something seems to make Doxygen unhappy after around line 460-ish. |
It was not, see #21380
there is indeed a change in how doxygen parses it between 1.9.4 and 1.13.4, but the root cause is indeed the missing end of block. |
|
With #21380, these are the warnings that remain: The first block of warnings would be solved with #21292, the others would require exceptions or have to be fixed... |
|
Phew that was close. I didn't know that Automerge was still enabled from 7 months ago 🤣 |
doc-ci in the doccheck if possibledoc-ci in the doccheck if possible, update to Doxygen 1.15.0
|
Okay, I included the update to Doxygen 1.15.0 in this PR, because otherwise we have a hen-and-egg problem with the static test. Every Doxygen update brings new warnings, so I had to add some to the |
|
We should probably make use of Edit: Done. |
AnnsAnns
left a comment
There was a problem hiding this comment.
Output looks good, doccheck works, doxyfile update appears to be correct. Approved 👍
Though, why don't we simply make doc-ci the default for make doc?
2586533 to
c69d6dc
Compare
|
Sorry for all the force-pushing, I fixed the tab-space-indentations in two files and disabled the Shellcheck warning for |
Maybe later, I didn't want to force everyone to download Doxygen if they already have it locally. Also there is a warning if the local Doxygen version is too old that points to |
|
Thank you for the review :) |
Contribution description
Pull Request #21300 introduced Doxygen as a package, which can be used with the
make doc-cicommand. In order to avoid static test fails, thedoccheckscript should usedoc-cias well, otherwise errors will be generated in the static tests that would not be an issue in the CI.I extended the version warning message and gave a hint for the user that
make doc-cican be used to build the Doxygen documentation with the latest Doxygen version:November Update:
Updating Doxygen is a bit of a hen-and-egg problem due to our static-test, therefore I decided to add the Doxygen update to this PR. Every Doxygen update brings a couple more error messages, but tackling them is not the scope of this PR, therefore I extended the exclude patterns.
Testing procedure
Run
make static-testand observe that it downloaded Doxygen:The static test should not fail, also the documentation should still look okay (this I'll have to check myself).
Issues/PRs references
Required for #21292.
Fixes #21106.