Is there any place I can read module docs (such as I get from iex h macro) online?

Is there any place I can read module docs (such as I get from iex h macro) online?

My workflow assumes docs are in the browser… but on elixir i often confuse my muscle memory because i often have to go to a iex session to read on something.

For example, I just saw some mix generated code that added import Ecto.something, warn: false)… i had never seen warn parameter before. I go to the browser, end up on alias, require, and import - The Elixir programming language and it have no mention of it. It actually have much, much less explanations and samples and features mentioned than h(import) alone.

That should help: Kernel.SpecialForms — Elixir v1.15.2

1 Like

hexdoc of course. /slaps forehead. for some reason i only remember about it for the guides and use h() for the actual module docs :slight_smile:

added my long overdue search keyword for it. thanks

If you see a function name but are not sure what library actually implements it, you might also enjoy:

https://hexdocs.krister.ee/

2 Likes