-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
:nodoc:
on enum member does not also hide the generated question method
#11333
Comments
Pretty hard, the regular compiler doesn't know about doc comments. |
What would be a use case for a nodoc enum member anyways? |
What I said doesn't make sense, sorry. Regex options are one place where there are nodoc values. |
Yea |
Thanks to @nobodywasishere for pushing #15375. But I'm not quite sure that's the correct solution for this. Instead, it should be better to refer to the primary documentation instead of copying the contents. This particular issue didn't even ask to duplicate the documentation of the enum member. It's just about making derived predicate methods # Returns `true` if this enum value {{ flag_type? ? "contains" : "equals" }} `{{ member }}`. |
Fair enough, I'll update it accordingly. Adding that documentation also sounds like a good idea. I can check if the enum member starts with |
If you define an enum with a
:nodoc:
member, like:The member itself will be hidden, but the autogenerated
bar?
method ill not:I think it would make sense to also hide the method.
The text was updated successfully, but these errors were encountered: