-
Notifications
You must be signed in to change notification settings - Fork 54
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 API documentation for clean rosdoc2
build
#139
Conversation
Signed-off-by: Abrar Rahman Protyasha <[email protected]>
Previously, Doxygen was returning warnings about undocumented function parameters, which this commit addresses. Signed-off-by: Abrar Rahman Protyasha <[email protected]>
Signed-off-by: Abrar Rahman Protyasha <[email protected]>
Signed-off-by: Abrar Rahman Protyasha <[email protected]>
`split(const std::string&, char, InsertIterator&, bool)` was used privately by `split(const std::string&, char, bool)`. Since the latter signature was caushing `breathe` to choke at the template paramater list anyway, it was conditionally excluded from Doxygen visibility. Signed-off-by: Abrar Rahman Protyasha <[email protected]>
Signed-off-by: Abrar Rahman Protyasha <[email protected]>
The macro in question produces an anonymous hyperlink error when exhale produces the `Define THREAD_ANNOTATION_ATTRIBUTE__` statement in its generated `.rst` file. Since this macro itself is not used publicly, and there is no obvious approach to fix the warning about anonymous hpyerlinks, I have conditionally excluded that macro from Doxygen. Signed-off-by: Abrar Rahman Protyasha <[email protected]>
Not running CI since all changes introduced in this PR are for documentation. |
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.
One slightly large thing to change, then this will be ready to go.
This commit targets the `filesystem_helper.hpp` and the `asserts.hpp` headers, to increase uniformity of doxygen commands across the package. Signed-off-by: Abrar Rahman Protyasha <[email protected]>
This pull request has been mentioned on ROS Discourse. There might be relevant details there: https://discourse.ros.org/t/ros-2-tsc-meeting-minutes-2021-9-16/22372/1 |
This PR introduces changes which resolve multiple errors/warnings on
rosdoc2 build
invocations to generate API documentation forrcpputils
.Namely:
rcpputils::fs
: Missing parameters in function header.rcpputils::shared_library
: Remove@copydoc
directive.rcpputils::split
: Conditionally excludesplit
signature with template parameter list sincebreathe
has a tough time parsing said list. Once Handle parsing errors breathe-doc/breathe#711 is merged, the@cond/@endcond
directives can be removed.rcpputils::thread_safety_annotations
: There seems to be no straightforward method to address the "anonymous hyperlink" warning generated because of the double trailing underscores in theRCPPUTILS_THREAD_ANNOTATION_ATTRIBUTE__
macro. As such, this macro has been conditionally excluded.