-
Notifications
You must be signed in to change notification settings - Fork 197
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
Fix doxygen warnings #1317
Fix doxygen warnings #1317
Conversation
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.
A handful of comments. Most are small but a couple are blocking so I'll request changes.
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.
I didn't make it all the way through. I definitely value fixing cases where things were undocumented that really should be, or that had //
documents that don't show up in Doxygen. But there's a lot of irritating superfluous documentation in this PR and a lot of duplication (@brief == @return) that I would rather avoid.
Can the warnings be suppressed in other ways? Can we just live with or ignore some warnings?
I've defined ALIASES for |
I don't feel strongly about how this is implemented, I might be weakly in favor of removing them and using "normal" Doxygen rather than aliases. I'd approve it either way though. |
@vyasr have you seen doxygen Member Groups? I just ran across them. Might be useful for group-documenting |
No, I haven't seen those before, only the module-level groups. That certainly could be helpful for improving the documentation. |
I've addressed some of the requests made during review of this PR. In the interest of making what's left for this PR actionable, here are the outstanding issues that I see, along with potential unapplied mitigations. Then we can evaluate whether any of the issues with a solution are dealbreakers:
Aside from that I think that aliases and some cleanup have resolved the worst remaining offenders from the first pass of changes. |
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.
Looking good. Some suggestions for type documentation and a couple of corrections.
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.
Some more minor issues, but @harrism covered most of them.
Co-authored-by: Mark Harris <[email protected]> Co-authored-by: Lawrence Mitchell <[email protected]>
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.
Looks good. Thanks for pushing it through!
/merge |
doxygen catches more doc issues (of the types fixed in #1317) when more build outputs are turned on, which is indicative of some bugs/limitations in doxygen. XML builds will be necessary to leverage Breathe (see #1324) so this PR enables XML builds and fixes the associated issues. Authors: - Vyas Ramasubramani (https://github.com/vyasr) Approvers: - Rong Ou (https://github.com/rongou) URL: #1348
This PR leverages [Breathe](https://breathe.readthedocs.io/en/latest/) to pull the rmm C++ API documentation into the python Sphinx docs build, generating a single unified build of the documentation that supports cross-linking between language libraries and also simplifies cross-linking from other libraries that wish to link here (such as higher-level RAPIDS libraries that use both rmm's Python and C++ APIs). Using Breathe requires changing the doxygen build to generate XML in addition to the usual HTML. It turns out that doxygen catches more doc issues (of the types fixed in #1317) when more build outputs are turned on, which is indicative of some bugs/limitations in doxygen, but nonetheless I've fixed the additional issues in this PR as well. Authors: - Vyas Ramasubramani (https://github.com/vyasr) Approvers: - Mark Harris (https://github.com/harrism) - Bradley Dice (https://github.com/bdice) - AJ Schmidt (https://github.com/ajschmidt8) URL: #1324
Description
This PR fixes all doxygen warnings from building the C++ documentation.
Checklist