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.
1 parent 3d34f2e commit beaee37Copy full SHA for beaee37
lib/mix/tasks/docs.ex
@@ -656,10 +656,13 @@ defmodule Mix.Tasks.Docs do
656
Keyword.put(options, :formatters, formatters)
657
end
658
659
- defp update_output_for_formatter(options, formatter) do
+ defp update_output_for_formatter(options, "markdown") do
660
output = options[:output] || "doc"
661
- formatter_output = Path.join(output, formatter)
662
- Keyword.put(options, :output, formatter_output)
+ Keyword.put(options, :output, Path.join(output, "markdown"))
+ end
663
+
664
+ defp update_output_for_formatter(options, _formatter) do
665
+ options
666
667
668
defp get_docs_opts(config) do
0 commit comments