Include README.md in docs generation
Also switch docs generation to use Pandoc.
This commit is contained in:
parent
b8c6620c94
commit
de2a96140d
|
|
@ -24,3 +24,5 @@ use Mix.Config
|
||||||
# here (which is why it is important to import them last).
|
# here (which is why it is important to import them last).
|
||||||
#
|
#
|
||||||
# import_config "#{Mix.env}.exs"
|
# import_config "#{Mix.env}.exs"
|
||||||
|
|
||||||
|
config :ex_doc, :markdown_processor, ExDoc.Markdown.Pandoc
|
||||||
|
|
|
||||||
6
mix.exs
6
mix.exs
|
|
@ -15,7 +15,8 @@ defmodule ISN.Mixfile do
|
||||||
# Docs
|
# Docs
|
||||||
name: "ISN",
|
name: "ISN",
|
||||||
docs: [source_ref: "v#{@version}",
|
docs: [source_ref: "v#{@version}",
|
||||||
source_url: "https://github.com/Frost/isn"]
|
source_url: "https://github.com/Frost/isn",
|
||||||
|
extras: ["README.md"]]
|
||||||
]
|
]
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
@ -43,7 +44,6 @@ defmodule ISN.Mixfile do
|
||||||
[{:postgrex, ">= 0.9.1"},
|
[{:postgrex, ">= 0.9.1"},
|
||||||
{:ecto, "~> 1.0"},
|
{:ecto, "~> 1.0"},
|
||||||
{:credo, "~> 0.1", only: :dev},
|
{:credo, "~> 0.1", only: :dev},
|
||||||
{:ex_doc, "~> 0.10", only: :dev},
|
{:ex_doc, "~> 0.10", only: :dev}]
|
||||||
{:earmark, ">= 0.0.0", only: :dev}]
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue