-
-
Notifications
You must be signed in to change notification settings - Fork 205
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
doxygenfile: only @file description #318
Comments
What I found so far: file options are set in One question is also how to name an |
@michaeljones can you give me a hint if you support such an addition and how you would like to see it implemented? :) |
Showing only the file description is a very reasonable request. In some ways it would make sense if that was the default which would bring it in line with the class directive (I believe.) We could then have a I'm afraid I'm sufficiently out of the loop that I can't make any suggestions of the off of my head but I will attempt to dive into the code and get a better feel for it. |
Thank you for your patience and for the ping. |
Actually, it would be useful to know what you would like to see for the output if it was just the description. Currently Breathe does not output the file name or any kind suggestion that the target is a file and starts the output with the description. Would you want to see just the description or something more like: file: MyFile.hThis is my file description and it goes on for a few sentences. Maybe. ie. with some kind of 'header'. |
thank you for the reply! for the last point: yes, I think unifying it to behave closer as the class macro:
would be useful. Currently I always add the name of the file + the macro which kind of doubles the effort (but I do the same for classes still, since I want the names to show up in my sphinx toc). |
In the section that introduces the usage of .param files, only the titles of the files shall be shown. This is currently not possible, see breathe-doc/breathe#318 This PR applies a work-around for HTML to hide additional doxygen information (does not fix the underlying issue and is issue still exists in pdf & epub).
Based upon activity above I am pretty sure that this issue still exists, tagging it as such. |
Any updates on this? |
Breathe has a shortage of contributors, so the only way to get this feature in the short term would be to write patches yourself. |
@vermeeren can you give me some file/line pointers where things would need to get updated? |
@lshamis I did some quick grepping. See From here on the best way is likely experimentation with modifications and seeing how that influences the result, there is unfortunately no proper technical documentation for Breathe's internals. |
In #501 I added a For example .. doxygenfile:: nutshell.h
:sections: briefdescription enum typedef @ax3l For the .. doxygenfile:: nutshell.h
:sections: detaileddescription I think this covers most use cases. Thoughts? |
Sounds awesome! I love it! |
If someone could check #501 (comment) and post some thoughts about that specific comment I would appreciate it, will make an upload after it is handled. |
Reopening until fully handled, see comments in #501. |
If some of you could review #509 and check if the doc makes sense to you I would appreciate it. |
Breathe v4.16.0 has just been released containing the implementation of doxygen(auto)file section option and improved documentation for doxygen(auto)file in general. Unfortunately readthedocs sync is somehow broken, see #475. I added a screenshot below of the section option table. You can of course also @alephzero thanks again for all the help for documentation improvements and checking everything is fine! |
Hi,
is there a way to select what is printed in
doxygenfile::
besides:outline:
?Specifically for
.. doxygenfile::
, I would like to show@file
descriptionThe text was updated successfully, but these errors were encountered: