-
Notifications
You must be signed in to change notification settings - Fork 17
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
include-symbols filter shouldn't discard members #797
Comments
Yes. Scopes (namespaces and classes) always have to be handled differently. The filter usually checks if the scope matches the prefix of the glob expressions instead of the whole glob expression. That makes more sense for namespaces but maybe not so much for classes. For instance,
Actually, the distinction is not only between namespaces and classes. The distinction is about what to do when a scope matches the pattern explicitly (not just the prefix), but the members don't. Regardless of how we change this, we should also consider the distinction between As usual, we can just check what doxygen does in this case. Although I don't think doxygen supports the distinction between |
Maybe we should have different rules depending on the symbol type:
We need to formalize that. I still have to compare it with Doxygen. That's not so easy because the documentation doesn't say much: https://www.doxygen.nl/manual/config.html#cfg_exclude_symbols But one thing I noticed in this comparison is the way this is applied to Maybe that's a precedent to actually make the |
Just thought of a simpler rule:
That's simple to implement and minimizes surprises. The distinction between |
When using an input filter like this:
Where
boost::mysql
is a namespace, I'd expect mrdocs to render all members for any matched classes. Currently, it looks like the filter is applied to members, too, makingboost::mysql::*
not very practical.The text was updated successfully, but these errors were encountered: