Fixed doxygen comments, focused on file headers and group definitions#251
Fixed doxygen comments, focused on file headers and group definitions#251OlegHahm merged 4 commits intoRIOT-OS:masterfrom
Conversation
|
Welcome on board! ;) A quick look shows there are some whitespace issues. AFAIR we've decided to use 4 spaces instead of tabs. |
|
@kaspar030, you're right: https://github.com/RIOT-OS/RIOT/wiki/Coding-conventions#indentation-and-braces but I don't see where this PR breaks this (though I might have overlooked it). Thanks for the work, @haukepetersen. |
|
At least in mutex.h and msg.h some doxygen comments use e.g., tabs for @author and spaces for the rest, or vice-versa, in the same file. Can see that in github only whith a sharp eye. @haukepetersen: looks like your last commit is astyling a lot more than the changes you've made before. ;) |
|
Oh, now I see it too - damnit. How should we proceed, should I revert the last commit and try to fix the tab issue maually only to the parts I changed or should we keep the other astyle fixes in as well (since the style in that code lines was not up to the standard anyway...)? |
|
Auto-astyling the whole code is not a good idea. At some particular places it makes sense to interpret the coding conventions a bit more flexible (e.g. astyle would make the lcd_font array in https://github.com/RIOT-OS/boards/blob/master/chronos/drivers/display1.c mostly unreadable). Hence, I suggest to remove the last commit, ran astyle again, but commit only the files you've touched and review carefully if the astyling "breaks" anything. |
|
Yes, sounds very reasonable, will do! |
|
coloured git-diff and searching for tab helps in manually fixing these things |
|
Needs rebasing. |
|
After rebasing and fixing of the tab problem I'd like to ack this. Even used this documentation scheme in #290 |
|
@haukepetersen ping |
1 similar comment
|
@haukepetersen ping |
|
@haukepetersen ping? |
|
|
|
|
|
Ok, sorry guys, took a while. But with Olegs help I was able to finally rebase the old commit. I pushed a second commit on top, where I fixed the tabs and some other formating issues. |
sys/net/sixlowpan/lowpan.h
Outdated
There was a problem hiding this comment.
RIOT should be always capitalized.
|
And here are two more amendments, now the boards folder is fully integrated after is was moved. Let me know if I should group all the commits together. |
|
Needs rebase |
- added boards to riot.doxyfile - fixed group definitions for all boards
|
Rebased... |
|
ACK |
|
ACK ready for merge? |
Fixed doxygen comments, focused on file headers and group definitions
remove thread_measure_stack_usage from kernel_internal.h again
docs: solved some warnings in the RC-22.06
Hi @ALL,
as I am new to RIOT I will give my first shot at putting a pull request together: while looking through the code I tried to clean up some of the doxygen comments in RIOT, mainly focusing on bringing the doxygen module structure in order. I tried to unify the page header comments to the following style and order:
I tried to use the following blueprint for each (.h) file:
and for .c files:
For group definitions that are not clearly traceable to a specific file I inserted doc.txt files into the module folders (e.g. RIOT/core/doc.txt, RIOT/sys/net/doc.txt, ...). The location and naming of these files is surely something we should talk about...