Include README.md in docs generation

Also switch docs generation to use Pandoc.
This commit is contained in:
Martin Frost 2016-01-10 13:06:38 +01:00
parent b8c6620c94
commit de2a96140d
2 changed files with 5 additions and 3 deletions

View File

@ -24,3 +24,5 @@ use Mix.Config
# here (which is why it is important to import them last).
#
# import_config "#{Mix.env}.exs"
config :ex_doc, :markdown_processor, ExDoc.Markdown.Pandoc

View File

@ -15,7 +15,8 @@ defmodule ISN.Mixfile do
# Docs
name: "ISN",
docs: [source_ref: "v#{@version}",
source_url: "https://github.com/Frost/isn"]
source_url: "https://github.com/Frost/isn",
extras: ["README.md"]]
]
end
@ -43,7 +44,6 @@ defmodule ISN.Mixfile do
[{:postgrex, ">= 0.9.1"},
{:ecto, "~> 1.0"},
{:credo, "~> 0.1", only: :dev},
{:ex_doc, "~> 0.10", only: :dev},
{:earmark, ">= 0.0.0", only: :dev}]
{:ex_doc, "~> 0.10", only: :dev}]
end
end