What is the proper way to determine if a name has Documentation?
I have been doing @doc name
and then scraping the output for the phrase "No documentation found."
You can look up if the name is in Docs.meta
See https://julialang.zulipchat.com/#narrow/stream/225542-helpdesk/topic/finding.20out.20if.20a.20function.20has.20a.20docstring for some examples
I went with startswith(string(@doc foo), "No documentation found.")
as it seems fairly fast.
Last updated: Nov 22 2024 at 04:41 UTC