Skip to content

Commit

Permalink
Update specs
Browse files Browse the repository at this point in the history
  • Loading branch information
josevalim committed Oct 21, 2024
1 parent da56479 commit 39960b5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/ex_doc/language/elixir.ex
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ defmodule ExDoc.Language.Elixir do
specs: map
},
title: binary,
type: :behaviour | :module
type: :module | :behaviour | :task | :protocol | :implementation | :exception
}
def module_data(module, docs_chunk, config) do
{type, skip} = module_type_and_skip(module)
Expand Down
2 changes: 1 addition & 1 deletion lib/ex_doc/language/erlang.ex
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ defmodule ExDoc.Language.Erlang do
nesting_info: nil,
private: %{abst_code: any, callbacks: map, optional_callbacks: any, specs: map},
title: binary,
type: :behaviour | :module
type: :module | :behaviour
}
def module_data(module, docs_chunk, _config) do
if abst_code = Source.get_abstract_code(module) do
Expand Down

0 comments on commit 39960b5

Please sign in to comment.