-
Notifications
You must be signed in to change notification settings - Fork 352
Do not link to modules with @moduledoc false
#1009
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
Do not link to modules with @moduledoc false
#1009
Conversation
360ddb2 to
6b14616
Compare
|
Thanks @eksperimental! Unfortunately, if we go through the retriever every time we autolink, that's going to be very expensive. I suggest for us to try to read the "Docs" chunk from the .beam file directly without going through the retriever. We should likely also implement a cache, to avoid doing the same lookup over and over again. |
|
How do we keep state? :ets |
6b14616 to
43360b0
Compare
|
Please have a look again, no need to cache things. |
43360b0 to
822d3cd
Compare
822d3cd to
711f3fc
Compare
|
Thanks @eksperimental, this looks much better! I think it can still be simpler though. Since we only keep So my suggestion is to break the retriever pipeline, which does: I prefer this approach because it is a less invasive change and it means we don't have to change |
711f3fc to
12155d2
Compare
Ok. no need to create any new function, but if you still want Have a look and tell me what you think. UPDATE: |
|
I wonder - should it produce a warning when this situation happens? It seems to me like this can be a "bug" in the documentation when you refer to a private module. |
Closes #951