-
Notifications
You must be signed in to change notification settings - Fork 2k
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
doc: provide include path list for doxyfile #4890
Conversation
@@ -7,15 +7,19 @@ all: welcome | |||
@exit 1 | |||
|
|||
doc: | |||
export STRIP_FROM_INC_PATH_LIST=$(find . -type d -name include -printf " \"$PWD/%P\"") |
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.
I'd suggest looking for possibilities of obtaining the directory structure that is actually under version control using git. The scripts in dist/tools
might serve as a source of inspiration.
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.
Ok, will look there. I was curious if RIOT's make system could have provide such a list instead.
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.
Not that I'm aware of .. @Kijewski ?
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.
After grepping through the makefiles, I assume that there is a focus at the subset of include dirs dependent to a specific configuration of board, cpu, modules...
Having all possible includes is not a build case.
@LudwigKnuepfer thanks for your suggestions. Come back with a better approach. |
Any progress here? |
Is this still WIP? |
Hm, while http://doc.riot-os.org/unionipv6__addr__t.html would show the correct include with this PR, http://doc.riot-os.org/ipv6_8h.html still shows |
@OlegHahm, wow, you're fast. :-) Looking at your two examples, the main difference is that the first is a include generated by doxygen, and the includes in the second are just taken from the header file. |
Ah, yes, you're right. Good observation. Okay, in this case we should fix this directly in the header. |
Hm, looking at some sample outputs and looking at the diff of this PR, I would say that this PR is definitely an improvement and should be merged rather earlier than later. If you or someone else finds other improvements to this, we can handle this in a later PR. Do you agree? |
I prepared a small PR for the other fix in #5159. |
I remove WIP set milestone and squash, ok? |
I'm asking if you agree that this PR is ready to be merged and the WIP label can be removed. |
Okay - and I say ACK! :) |
Intended as a solution to #4794.
The effective goal is: Provide the doxygen tag STRIP_FROM_INC_PATH with a list of all actual riot include paths.
This is a first approach. Though it works as intended, improvements are welcome.