-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Add Docs.hasdoc #52139
Add Docs.hasdoc #52139
Conversation
Needs a NEWS.md item. Should also be mentioned in |
Co-authored-by: Steven G. Johnson <stevenj@mit.edu>
Co-authored-by: Steven G. Johnson <stevenj@mit.edu>
Co-authored-by: Steven G. Johnson <stevenj@mit.edu>
I don't know why it's failing. |
The CI failures look like unrelated glitches in the test system. |
Seems good to go |
Late to the party here, but wouldn't Also this function should be public. |
You mean it might be in the manual somewhere? I don't think I'd call a function "documented" if it doesn't have a docstring. Maybe others disagree? |
I was thinking about the other direction as well. If a function has a docstring but is not in the manual then, in Julia base at least, it is not considered "documented". E.g. the 1.10 API is defined in part with
|
I'd kinda forgotten about that policy. Tbh I don't see the advantage of it. I would think if a function is |
I also think that this should be named |
|
I disagree, for reasons stated in #52724 (comment) — this is in the |
Making `Docs.hasdoc` `public` per @LilithHafner #52139 (comment). --------- Co-authored-by: Steven G. Johnson <stevenj@mit.edu> Co-authored-by: Lilith Orion Hafner <lilithhafner@gmail.com>
Add @stevengj's
Docs.hasdoc
from #51174.check_documented
still should be added but that can happen separately.