rrrene/inch_ex

Not detecting @doc for defmacro

Opened this issue · 0 comments

I can see in ex_docs the generation of the documentation and it's working perfectly but for inch_ex it's not:

# Exampple.Router.iq/2                                                                                            
┃ lib/exampple/router.ex:274
┃ ----------------------------------------------------------------------------------------------------------------
┃ ----------------------------------------------------------------------------------------------------------------
┃ Score (min: 0, max: 100)                                  0     0

This is not getting anything. The code is this:

  @doc """
  Specify a route block where we can add the different routes. This could
  have the base namespace or not. This is based on the `iq` stanza type.
  """
  defmacro iq(xmlns_partial \\ "", do: block) do

Maybe it's broken because of the do: block?