Skip to content

Doxygen EventQueue updates to not produce warnings and errors [DOC Changes Only] #4434

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

Merged
merged 2 commits into from
Jun 8, 2017

Conversation

kegilbert
Copy link
Contributor

@kegilbert kegilbert commented Jun 2, 2017

NOTE The commit history is not cleaned up and pulls in a lot of duplicate changes from @sg-'s pull request linked below. Putting this review up to get eyes on the doxygen changes as the structure changed a decent amount for how I documented the overloaded functions. This also pulls in Jimmy's CI changes so I can get a CI run in.

Commit history will be cleaned up prior to merging.
Note to reviewers: In particular Event.h and EventQueue.h are the modified files that are unique to this PR.


Documentation changes to Doxygen descriptions for the Event module to allow Doxygen to build without errors/warnings.

All overloaded functions had refereed to the base function with the base function containing all parameter descriptions for all variations (the overloaded functions largely just added more callback arguments and shared most parameters). This caused a ton of warnings from Doxygen so I moved the documentation blocks to each overloaded function to match that particular implementation. This is a pretty messy method, but I wasn't able to find a better way to handle it with Doxygen.

Please let me know if you're not a fan of the new setup and would like it done a different way.

Related PRs

#4425

Todos

@kegilbert
Copy link
Contributor Author

Added @geky due to EventQueue updates.

@@ -227,39 +219,64 @@ class Event<void()> {

public:
/** Create an event
* @see Event::Event
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed these as they did not link properly and I had moved all parameter documentation to each function. I can add it back in since the referenced function does have some additional description.

@theotherjimmy
Copy link
Contributor

so this is the diff? kegilbert/mbed-os@kg-doxygen-template...kg-doxygen-event

@kegilbert
Copy link
Contributor Author

Yup, thanks theotherjimmy! (Except that Makefile removal, feel free to ignore that...)

@geky
Copy link
Contributor

geky commented Jun 3, 2017

Looks good to me (as long as that makefile is squashed out) 👍

kegilbert added 2 commits June 7, 2017 11:50
- Removed Makefile from branch
- Moved a0..a4/c0..c4 parameter documentation from top level overloaded functions to each function to appease Doxygen.
- Removed @see Event::Event from overloaded functions as the link did not work and the argument parameter documentation was moved down to each function
- TODO: Cleanup EventQueue.h
…s documentation to overloaded functions to fix warnings. B0..B4 were not documentated additionally, only bulk docs for a0..a4 and c0..c4 were moved around.
@kegilbert
Copy link
Contributor Author

Rebased against master following sg-'s merged doxygen-template branch (#4425) and squashed changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants