Skip to content

Commit

Permalink
mix format
Browse files Browse the repository at this point in the history
  • Loading branch information
viniciusmuller committed Sep 7, 2023
1 parent 8205a56 commit 4072730
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion lib/ex_doc/formatter/epub.ex
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ defmodule ExDoc.Formatter.EPUB do
&create_output_dir(&1, config)
)

project_nodes = HTML.render_all(project_nodes, filtered_modules, ".xhtml", config, highlight_tag: "samp")
project_nodes =
HTML.render_all(project_nodes, filtered_modules, ".xhtml", config, highlight_tag: "samp")

nodes_map = %{
modules: HTML.filter_list(:module, project_nodes),
Expand Down
3 changes: 2 additions & 1 deletion test/ex_doc/retriever/elixir_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,8 @@ defmodule ExDoc.Retriever.ElixirTest do
end
""")

assert {[%ExDoc.ModuleNode{} = mod], []} = Retriever.docs_from_modules([Mod], %ExDoc.Config{})
assert {[%ExDoc.ModuleNode{} = mod], []} =
Retriever.docs_from_modules([Mod], %ExDoc.Config{})

assert [%ExDoc.TypeNode{id: "t:t/0", annotations: ["since 1.0.0"]}] = mod.typespecs

Expand Down

0 comments on commit 4072730

Please sign in to comment.