-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Automated documentation test for new PR #9953
Comments
Sounds a good idea ! |
Status update: With the latest commits on #9966
so that it will be possible to only run doxygen on the 'touched files' |
For having a benchmark example, right now, touching e.g. "TApplication" would run the doxygen-check in 7 seconds, thus it's well suited for a CI script. If we prefer to run not just these two files as Input, but the whole subfolder (subproject), core/base, then it would take 1 minute and 16 seconds. |
An example on how documentation generation is run within GitHub actions, so that it appears as "Check" within each PR: |
It would be even better to correlate the diff with the doxygen warnings: run doxygen on the changed files and count warnings, apply the PR change, re-run doxygen and compare the warning count. We are currently revamping our CI; this could be included in the future @olemorud |
Hi @Axel-Naumann , I love the gcc-problem-matcher It would be amazing if something equivalent could be done with the Doxygen warnings that appear now on jenkins :D |
Explain what you would like to see improved
I've been working (with couet and others) on reducing errors in the Doxygen documentation of the code, from 10k+ to a manageable level of under 1k (and going down). However, currently, there is no safeguard to prevent new commits from introducing new errors, which is prone to happen, as not everyone is familiar with the doxygen syntax. To maintain in a sustainable way the 'clean status' of the reference guide and online documentation, it would be helpful to add an automation script that compiles the documentation only with the files modified in the Pull Request to be merged, in the same way that a bot checks now about clang-format, etc.
Because Doxygen can be configured to have only one input file, this extra check will not involve much time as compared to building the whole documentation. Then, it could be checked whether no warnings are produced by the 'touched' files.
Optional: share how it could be improved
Additional context
See https://root.cern/for_developers/doxygen/
The text was updated successfully, but these errors were encountered: