Stream: helpdesk (published)

Topic: Documentation


view this post on Zulip Archie Call (Apr 16 2021 at 20:13):

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."

view this post on Zulip Sascha Mann (Apr 17 2021 at 09:25):

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

view this post on Zulip Archie Call (Apr 20 2021 at 06:10):

I went with startswith(string(@doc foo), "No documentation found.") as it seems fairly fast.


Last updated: Nov 22 2024 at 04:41 UTC