Hello! I am wondering if there is somewhere a “documentation cheetsheet”? I am looking at Writing Documentation — Elixir v1.11.4 but I do not see a list of all available documentation attributes. I only see this sentence "such as @moduledoc
, @typedoc
, and @doc
" but I am not knowing which options I can use or if other attributes are existing or which options they accept.
What should I use to documentation of @callback
?
I am not seeing documentation for a function that implements callback. For exmaple:
defmodule Y do
@doc """
My documentation here
"""
@callback something() :: keyword()
end
defmodule X do
@behaviour Y
@impl true
def something() do
[a: "apple"]
end
end
However, my X
module shows no functions in its documentation. This is not what I expect. ex_doc
0.24.2.
Thank you!