-
-
Notifications
You must be signed in to change notification settings - Fork 198
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
Unexpected include in the documentation of struct within a namespace #57
Comments
Thank you for this. The presence of the "#include" part is intentional as I think it is valuable information but maybe the positioning could be improved. I'm sorry it it only appearing in some circumstances and not others. Would you like to see it consistently there? Or optional so that you can remove it? Cheers, |
Ideally an option, but consistency would be nice too. Whether it one way or another it doesn't really matter for me. |
Closing the issue as it is possible not to render the include by using a different directive ( |
When something like "doxygennamespace" is used, structures gain additional line about in which header they are defined. If the API simply serves as a generic description and not public headers are provided, this info is redundant. This can be worked around by manually by using "doxygenstruct" directive instead, but this can get messy quickly with large namespaces. Also, namespace description is lost. Allow to hide these lines by setting 'breathe_show_struct_include' to 'False'. The default behavior is not changed. Fixes breathe-doc#57.
When something like "doxygennamespace" is used, structures gain additional line about in which header they are defined. If the API simply serves as a generic description and no public headers are provided, this info is redundant. This can be worked around by manually by using "doxygenstruct" directive instead, but this can get messy quickly with large namespaces. Also, namespace description is lost. Allow to hide these lines by setting 'breathe_show_struct_include' to 'False'. The default behavior is stays unchanged. Fixes breathe-doc#57.
When something like "doxygennamespace" is used, structures gain additional line about in which header they are defined. If the API simply serves as a generic description and no public headers are provided, this info is redundant. This can be worked around by manually by using "doxygenstruct" directive instead, but this can get messy quickly with large namespaces. Also, namespace description is lost. Allow to hide these lines by setting 'breathe_show_struct_include' to 'False'. The default behavior stays unchanged. Fixes breathe-doc#57.
When something like "doxygennamespace" is used, structures gain additional line about in which header they are defined. If the API simply serves as a generic description and no public headers are provided, this info is redundant. This can be worked around by manually by using "doxygenstruct" directive instead, but this can get messy quickly with large namespaces. Also, namespace description is lost. Allow to hide these lines by setting 'breathe_show_struct_include' to 'False'. The default behavior stays unchanged. Fixes breathe-doc#57.
When something like "doxygennamespace" is used, structures gain additional line about in which header they are defined. If the API simply serves as a generic description and no public headers are provided, this info is redundant. This can be worked around by manually by using "doxygenstruct" directive instead, but this can get messy quickly with large namespaces. Also, namespace description is lost. Allow to hide these lines by setting 'breathe_show_struct_include' to 'False'. The default behavior stays unchanged. Fixes breathe-doc#57.
When something like "doxygennamespace" is used, structures gain additional line about in which header they are defined. If the API simply serves as a generic description and no public headers are provided, this info is redundant. This can be worked around by manually by using "doxygenstruct" directive instead, but this can get messy quickly with large namespaces. Also, namespace description is lost. Allow to hide these lines by setting 'breathe_show_include' to 'False'. The default behavior stays unchanged. See breathe-doc#57.
When something like "doxygennamespace" is used, structures gain additional line about in which header they are defined. If the API simply serves as a generic description and no public headers are provided, this info is redundant. This can be worked around by manually by using "doxygenstruct" directive instead, but this can get messy quickly with large namespaces. Also, namespace description is lost. Allow to hide these lines by setting 'breathe_show_include' to 'False'. The default behavior stays unchanged. See breathe-doc#57.
When something like "doxygennamespace" is used, structures gain additional line about in which header they are defined. If the API simply serves as a generic description and no public headers are provided, this info is redundant. This can be worked around by manually by using "doxygenstruct" directive instead, but this can get messy quickly with large namespaces. Also, namespace description is lost. Allow to hide these lines by setting 'breathe_show_include' to 'False'. The default behavior stays unchanged. See breathe-doc#57.
Running the testsuite on the latest version of breathe (b4d53b9...) produces the following output for
foo::ns::FooStruct
:Note the line
"#include <namespacefile.h>"
. It is not in the example on the website: http://michaeljones.github.com/breathe/struct.html#example-with-namespace and the documentation of a struct without a namespace (in global scope) doesn't have such line either.I am using doxygen 1.8.1.2.
The text was updated successfully, but these errors were encountered: