david_ex

david_ex

ExDoc: link to docs for Erlang dependency

Per the docs, ExDoc is able to link to Elixir modules found in Hex. I’d link to do the same for hackney but can’t get it to work. How can I e.g. have “Depends on :hackney.” in my docs with a nice link to :hackney? The same works when e.g. replacing :hackney with Jason.

Marked As Solved

wojtekmach

wojtekmach

Hex Core Team

We’re not auto linking to Erlang modules because it’s too easy to get a false positive, imagine:

Options:

* `:file` - name of the file

we don’t want to link to file — OTP 29.0.2 (kernel 11.0.2).

We’re still auto linking to functions though so this will work:

See `:hackney.request/1`.

and will link to hackney — hackney v4.4.5.

For your particular case, I suggest either of these:

Depends on [`:hackney`](https://hexdocs.pm/hackney).
[Depends on `:hackney`](https://hexdocs.pm/hackney).

Where Next?

Popular in Questions Top

nobody
Hi! In PHP: $_SERVER[‘SERVER_ADDR’] - in Elixir? Searched the docs for ip address and the web, no good results. Thanks!
New
minhajuddin
I have seen a lot of code which picks the first element from a list using Enum.at(0) instead of List.first. Is there a reason why people ...
New
vertexbuffer
Hello, can anybody help here..? I have a list of players and I what to delete an element, but every for loop the list is reverting to ori...
New
Lily
In templates/appointment/index.html.eex: <%= for appointment <- @appointments do %> <tr> <td><%= appoi...
New
dokuzbir
I want to highlight html closing tags when i click a html tag. That works in .html files but doesnt work for html.eex templates. How can...
New
nsuchy
Hi. I’ve noticed that Windows Powershell has it’s own IEX command and you cannot access Elixir’s IEX due to the conflict. This isn’t a cr...
New
vrod
I am using the Starship cross-shell prompt – it seems pretty nice, but I get some errors: [WARN] - (starship::utils): Executing command ...
New

Other popular topics Top

jononomo
I am trying to figure out how Mix knows whether the environment is test, dev, or prod – where is this set? Thanks.
New
jononomo
For some reason my phoenix channels are working for me in my local dev environment, but as soon as I deploy via Docker, I get a 403 error...
New
ashish173
I am using Ecto timestamps with postgres, I can see the timestamps() use the :naive_dateime but for my use case I wanted to store the ti...
New
chrismccord
Phoenix 1.4.0 released Phoenix 1.4 is out! This release ships with exciting new features, most notably with HTTP2 support, improved deve...
688 31586 112
New
SoCreat
i’m a new one to elixir which editor can i use vs code? or atom? Thanks! :smiley:
New
dblack
I’ve got an issue with an app and I’ve no idea of how to troubleshoot it. I’m hoping someone here might have seen something similar. I p...
New

We're in Beta

About us Mission Statement