-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Feature request: new config option for \headerfile output #8639
Comments
As a workaround I can decorate the includes in the file like this: /// @cond undocumented
#include <bits/c++config.h>
#include <bits/error_constants.h>
#include <iosfwd>
#include <stdexcept>
/// @endcond And now they will only get shown if I use |
This adds a new configuration option that controls whether to show the file specified by \headerfile (or the header-file argument of \class) in the documentation for a class or concept. Previously that was controlled by SHOW_INCLUDE_FILES, but that should be used for showing the include list for \file documentation. With this change, there are two separate options to control the two separate behaviours. Fixes doxygen#8639
This adds a new configuration option that controls whether to show the file specified by \headerfile (or the header-file argument of \class) in the documentation for a class or concept. Previously that was controlled by SHOW_INCLUDE_FILES, but that should be used for showing the include list for \file documentation. With this change, there are two separate options to control the two separate behaviours. Fixes doxygen#8639
This adds a new configuration option that controls whether to show the file specified by \headerfile (or the header-file argument of \class) in the documentation for a class or concept. Previously that was controlled by SHOW_INCLUDE_FILES, but that should be used for showing the include list for \file documentation. With this change, there are two separate options to control the two separate behaviours. Fixes doxygen#8639
Code has been integrated in master on GitHub (please don't close the issue, it was now automatically closed due to the linked pull request, as this will be done at the moment of an official release). |
This issue was previously marked 'fixed but not released', |
The
SHOW_INCLUDE_FILES
option seems to control two things. It causes the relevant header for a class to be shown in the docs for that class, and it also shows which header files a file includes in the docs for that file.For example,
SHOW_INCLUDE_FILES=YES
for a class shows:And for a file it shows:
I want to be able to get the first effects, without the second. I do want to display the correct header that should be included for the definition of each class (that is an important part of the user-facing API that I want to document). But I don't want to show which files are included by each of my files (that is an implementation detail and not something I want the user-facing documentation to show).
It seems that there is one config option that conflates these two things, only one of which is documented:
Could there be a new config option to control whether the header for a class is shown in the class' docs?
Also, could
\headerfile
be supported for arbitrary comment blocks, not only classes and unions? I have non-member functions which are defined in some internal header file such as<bits/unique_ptr.h>
, but I want to document that some other header such as<memory>
is the correct way to get the definition ofstd::make_unique
.The text was updated successfully, but these errors were encountered: