diff --git a/lib/mix/tasks/docs.ex b/lib/mix/tasks/docs.ex index 9156b349e..969f0ebba 100644 --- a/lib/mix/tasks/docs.ex +++ b/lib/mix/tasks/docs.ex @@ -79,7 +79,7 @@ defmodule Mix.Tasks.Docs do * `:extras` - List of keywords, each key must indicate the path to additional Markdown pages, the value for each keyword (optional) gives you more control about the PATH and the title of the output files; default: `[]`. Example: - `["README.md", "CONTRIBUTING.md": [filename: "contributing", title: "Contributing"]]` + `["README.md", {"CONTRIBUTING.md", [filename: "contributing", title: "Contributing"]}]` * `:filter_prefix` - Include only modules that match the given prefix in the generated documentation. Example: "MyApp.Core"