-
Notifications
You must be signed in to change notification settings - Fork 915
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
[FEA] Add Doxygen CI check #9373
Comments
Discussed offline with @jrhemstad . Automation to keep Doxygen documentation up-to-date is worthwhile but not likely to get done in 21.12. |
This issue has been labeled |
Number of warnings in Doxygen are high. |
Seems to me that public APIs should be documented. For detail APIs, we definitely have the option to skip. Is there any way to auto-generate docs for standard functions like |
This issue has been labeled |
This issue has been labeled |
CUB uses ALIASES. we could add aliases for these operators for ease the effort. Another idea is to add custom filter command
how about we implement an input filter?
|
Can the input filter only be applied to undocumented functions? Wouldn't want to overwrite existing ones. Is there much value in doing it this way rather than fixing it once, manually? (Or running an automated fix just once) This would only fix the operators that we write the script to fix, and is only needed on public APIs. Does that account for a large fraction of the errors / warnings? |
This PR fixes 433 doxygen warnings. As prerequisite for doxygen CI check #9373, the warnings from doxygen should be minimized as much as possible. This is one of the series of PRs to fix doxygen documentation warnings. Authors: - Karthikeyan (https://github.com/karthikeyann) Approvers: - Nghia Truong (https://github.com/ttnghia) - AJ Schmidt (https://github.com/ajschmidt8) URL: #10842
input filter processes the entire file. so, filter should identify undocumented functions. The warnings are distributed among 67 files. 1483 warnings.
|
fixes part of #9373 Add missing documentation in scalar/ headers to fix doxygen warnings Authors: - Karthikeyan (https://github.com/karthikeyann) Approvers: - Bradley Dice (https://github.com/bdice) - Vyas Ramasubramani (https://github.com/vyasr) URL: #10861
Fixes parts of #9373 added missing documentation in types.hpp to fix doxygen warnings fixes 30 warnings Authors: - Karthikeyan (https://github.com/karthikeyann) Approvers: - Vyas Ramasubramani (https://github.com/vyasr) - David Wendt (https://github.com/davidwendt) URL: #10895
Fixes parts of #9373 added missing documentation to fix doxygen warnings in multiple files fixes 93 warnings. Authors: - Karthikeyan (https://github.com/karthikeyann) - Vyas Ramasubramani (https://github.com/vyasr) Approvers: - Vukasin Milovanovic (https://github.com/vuule) - Vyas Ramasubramani (https://github.com/vyasr) URL: #10913
… files (#10912) Fixes parts of #9373 added missing documentation to fix doxygen warnings in multiple files - cpp/include/cudf/io/avro.hpp - cpp/include/cudf/io/csv.hpp - cpp/include/cudf/io/json.hpp - cpp/include/cudf/io/orc.hpp - cpp/include/cudf/io/orc_metadata.hpp - cpp/include/cudf/io/parquet.hpp fixes 194 warnings Authors: - Karthikeyan (https://github.com/karthikeyann) Approvers: - Yunsong Wang (https://github.com/PointKernel) - Vyas Ramasubramani (https://github.com/vyasr) - Nghia Truong (https://github.com/ttnghia) URL: #10912
Fixes parts of #9373 added missing documentation in aggregation.hpp to fix doxygen warnings fixes 108 warnings. Authors: - Karthikeyan (https://github.com/karthikeyann) Approvers: - Nghia Truong (https://github.com/ttnghia) - David Wendt (https://github.com/davidwendt) URL: #10887
Fixes parts of #9373 added missing documentation to fix doxygen warnings in multiple files cpp/include/cudf/*.hpp fixes 40 warnings Authors: - Karthikeyan (https://github.com/karthikeyann) Approvers: - David Wendt (https://github.com/davidwendt) - Bradley Dice (https://github.com/bdice) URL: #10896
Fixes parts of rapidsai#9373 added missing documentation to fix doxygen warnings in multiple files cpp/include/cudf/*.hpp fixes 40 warnings Authors: - Karthikeyan (https://github.com/karthikeyann) Approvers: - David Wendt (https://github.com/davidwendt) - Bradley Dice (https://github.com/bdice) URL: rapidsai#10896
Fixes parts of #9373 added missing documentation to fix doxygen warnings in `structs/*.hpp` and `lists/*.hpp` fixes 67 warnings. Authors: - Karthikeyan (https://github.com/karthikeyann) Approvers: - David Wendt (https://github.com/davidwendt) - Vyas Ramasubramani (https://github.com/vyasr) URL: #10923
…y/ headers (#10921) Fixes parts of #9373 added missing documentation to fix doxygen warnings in multiple files ast/, rolling, tdigest/, wrappers, dictionary/ headers fixes 82 warnings. Authors: - Karthikeyan (https://github.com/karthikeyann) Approvers: - Conor Hoekstra (https://github.com/codereport) - Vyas Ramasubramani (https://github.com/vyasr) URL: #10921
Fixes parts of #9373 added missing documentation to fix doxygen warnings in `fixed_point/fixed_point.hpp` fixes some existing docstrings. fixes 47 warnings. Authors: - Karthikeyan (https://github.com/karthikeyann) Approvers: - Vyas Ramasubramani (https://github.com/vyasr) - David Wendt (https://github.com/davidwendt) URL: #10922
Fixes parts of #9373 added missing documentation to fix doxygen warnings in multiple files ignored docs for `cudf::string_view::const_iterator` fixes 78 warnings. Authors: - Karthikeyan (https://github.com/karthikeyann) Approvers: - Conor Hoekstra (https://github.com/codereport) - David Wendt (https://github.com/davidwendt) URL: #10937
Fixes parts of #9373 added missing documentation to fix doxygen warnings in table headers ignores doc generation for `strong_index_comparator_adapter` fixes 166 warnings. Authors: - Karthikeyan (https://github.com/karthikeyann) Approvers: - David Wendt (https://github.com/davidwendt) - Vyas Ramasubramani (https://github.com/vyasr) URL: #10964
Fixes parts of #9373 added missing documentation to fix doxygen warnings in multiple files cpp/include/cudf/utilities/ fixes 167 warnings Authors: - Karthikeyan (https://github.com/karthikeyann) Approvers: - Ram (Ramakrishna Prabhu) (https://github.com/rgsl888prabhu) - David Wendt (https://github.com/davidwendt) URL: #10974
Fixes parts of #9373 added missing documentation to fix doxygen warnings in column, column_view, column_device_view, column factories headers fixes 155 warnings. Authors: - Karthikeyan (https://github.com/karthikeyann) Approvers: - Vyas Ramasubramani (https://github.com/vyasr) - Bradley Dice (https://github.com/bdice) URL: #10963
Fixes parts of #9373 added missing documentation to fix doxygen warnings in multiple headers cudf_test/, nvtext/, cudf_kafka/, ipc.hpp With this PR, there are _zero doxygen warnings_!☺️ Authors: - Karthikeyan (https://github.com/karthikeyann) Approvers: - Yunsong Wang (https://github.com/PointKernel) - Nghia Truong (https://github.com/ttnghia) - David Wendt (https://github.com/davidwendt) URL: #11003
closes #9373 Add doxygen CI check to check warnings for missing documentation Depends on PR #11056 Authors: - Karthikeyan (https://github.com/karthikeyann) Approvers: - Conor Hoekstra (https://github.com/codereport) - Nghia Truong (https://github.com/ttnghia) - Sevag Hanssian (https://github.com/sevagh) URL: #11057
- Adds doxygen-check pre-commit hook (verbose) - doxygen-check passes with warning if doxygen is not present - doxygen-check passes with warning if supported doxygen version 1.8.20 to 1.9.1 is not present - doxygen-check fails if any warning or error is thrown by doxygen - since pre-commit runs as part of style check, it's removed from _style.sh_ - updated Doxyfile configuration to work with versions 1.8.20 to 1.9.1 - added doxygen=1.8.20 to conda dev environment - mentioned doxygen.sh in CONTRIBUTING.md guide Related to #9373 (Add Doxygen CI check) Authors: - Karthikeyan (https://github.com/karthikeyann) Approvers: - Bradley Dice (https://github.com/bdice) - Yunsong Wang (https://github.com/PointKernel) - AJ Schmidt (https://github.com/ajschmidt8) URL: #11076
Is your feature request related to a problem? Please describe.
As #9355 shows, Doxygen documentation can easily get out of date.
No one likes out of date documentation. This leads to a bad experience for users and developers alike.
Describe the solution you'd like
Doxygen will generate warnings if the documentation does not match the code.
We should eliminate all current sources of warnings and then enable these warnings as a CI check to ensure Doxygen documentation stays up to date.
Additional context
This check should probably be optional at the beginning, but eventually should be required.
The text was updated successfully, but these errors were encountered: