-
8000
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
dist/tools: use doc-ci
in the doccheck if possible
#21372
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
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. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a bunch!
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... |
Contribution description
Pull Request #21300 introduced Doxygen as a package, which can be used with the
make doc-ci
command. In order to avoid static test fails, thedoccheck
script should usedoc-ci
as 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-ci
can be used to build the Doxygen documentation with the latest Doxygen version:Testing procedure
Run
make static-test
and observe that it downloaded Doxygen:Also the
doccheck
will complain about obsolete parameters, since the Doxyfile has not been updated yet (see #21292):Issues/PRs references
Required for #21292.