     |> Enum.map(&Task.await/1)
   end
 
-  defp generate_module_page(output, config, node) do
-    content = Templates.module_page(config, node)
-    File.write("#{output}/OEBPS/modules/#{node.id}.html", content)
-  end
-
   defp generate_epub(output, config) do
     output = Path.expand(output)
     target_path = "#{output}/#{config.project}-v#{config.version}.epub" |> String.to_char_list

    "#{date}T#{time}Z"
  end

  defp zero_pad(val, count) do
    num = Integer.to_string(val)
    :binary.copy("0", count - byte_size(num)) <> num

    end
  end

  # Helper to format Erlang datetime tuple
  defp format_datetime do
    {{year, month, day}, {hour, min, sec}} = :calendar.universal_time()
