From eca4b92278ed57041a6353139d160cfe1df362c2 Mon Sep 17 00:00:00 2001 From: Unnawut Leepaisalsuwanna <921194+unnawut@users.noreply.github.com> Date: Fri, 12 Jan 2018 00:24:43 +0700 Subject: [PATCH] Fix incorrect moduledoc for :extras --- lib/mix/tasks/docs.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"