We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 698dbce + df1a30a commit bbf4114Copy full SHA for bbf4114
lib/ex_doc/formatter/html.ex
@@ -11,6 +11,7 @@ defmodule ExDoc.Formatter.HTML do
11
"""
12
def run(modules, config) do
13
output = Path.expand(config.output)
14
+ File.rm_rf! output
15
:ok = File.mkdir_p output
16
17
generate_index(output, config)
@@ -58,7 +59,6 @@ defmodule ExDoc.Formatter.HTML do
58
59
end
60
61
defp generate_readme(output, modules, config) do
- File.rm("#{output}/README.html")
62
readme_path = Path.expand(config.readme)
63
write_readme(output, File.read(readme_path), modules, config)
64
0 commit comments