 	defp write_readme(output, {:ok, content}, modules, config) do
 		content = Autolink.project_doc(content, modules)
 		readme_html = Templates.readme_template(config, content) |> pretty_codeblocks
-		File.write("#{output}/README.html", readme_html)
+		path = "#{output}/README.html"
+		log(path)
+		File.write(path, readme_html)
 		true
 	end
 


	defp generate_overview(modules, exceptions, protocols, output, config) do
		content = Templates.overview_template(config, modules, exceptions, protocols)
		:ok = File.write("#{output}/overview.html", content)
	end

	@assets Enum.map Util.assets, fn({ pattern, dir }) ->

		Enum.each nodes, &index_list(&1, all, output, config)
		Enum.each nodes, &generate_module_page(&1, all, output, config)
		content = Templates.list_page(scope, nodes, config, has_readme)
		path = "#{output}/#{scope}_list.html"
		log(path)
		File.write(path, content)
	end

	defp index_list(%ExDoc.FunctionNode{}=node, module, config) do
