Skip to content
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

boards/msbiot: Added missing doc in board.h #11760

Merged
merged 1 commit into from Jun 28, 2019
Merged

Conversation

maribu
Copy link
Member

@maribu maribu commented Jun 28, 2019

Contribution description

Added missing doc to board.h

  • Fixes warnings with current Doxygen version
  • Resolves issue with Doxygen linking e.g. LED0_PIN to the doc of a different board
  • LED0_ON etc. are still linked to the LED driver for me. The documentation for \ref in Doxygen indicates there is now way to specify the target group of an \ref command to resolve ambiguity...

Testing procedure

  • Run make doc and check if LED0_PIN, LED1_PIN and LED2_PIN are still linked to a different board

Issues/PRs references

Added @ref LED0_PIN etc. in #11748, which currently is sadly linked to an unrelated board

- Fixes warnings with current Doxygen version
- Resolves issue with Doxygen linking e.g. LED0_PIN to the doc of a different
  board
@maribu maribu added Area: boards Area: Board ports Area: doc Area: Documentation CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR labels Jun 28, 2019
@maribu
Copy link
Member Author

maribu commented Jun 28, 2019

@aabadie: Mind to link into this fellow up PR as well?

Copy link
Contributor

@aabadie aabadie left a comment

Choose a reason for hiding this comment

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

Looks good, this is board documentation.

ACK

@aabadie
Copy link
Contributor

aabadie commented Jun 28, 2019

I built the documentation and confirm the LED macro link is fixed by this PR (my bad since I reviewed #11748).

All green, let's go!

@aabadie aabadie merged commit 8cd5fc2 into RIOT-OS:master Jun 28, 2019
@maribu
Copy link
Member Author

maribu commented Jun 28, 2019

Thanks for the quick review :-)

It is very surprising to me that Doxygen may link to a unrelated group, even though a same named object is present in the same group. I hope that a feature to manually resolve such ambiguity will be added in future versions. I would prefer the references LED0_ON, LED0_OFF, and LED0_TOGGLE (and similar) in the MSB-IoT doc to linked to the macros in the MSB-IoT group rather than the empty fall-back ones provided in led.h.

@maribu maribu deleted the msbiot_doc branch June 28, 2019 18:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: boards Area: Board ports Area: doc Area: Documentation CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants