add ex_docs

This commit is contained in:
keepcosmos 2016-04-23 12:52:52 +09:00
parent b131d7effa
commit c122c74735
3 changed files with 21 additions and 0 deletions

1
.gitignore vendored
View File

@ -1,6 +1,7 @@
/_build
/cover
/deps
/doc
erl_crash.dump
*.ez
.credo.exs

18
mix.exs
View File

@ -8,6 +8,8 @@ defmodule Readability.Mixfile do
[app: :readability,
version: "0.0.1",
elixir: "~> 1.2",
description: description,
package: package,
build_embedded: Mix.env == :prod,
start_permanent: Mix.env == :prod,
deps: deps]
@ -35,8 +37,24 @@ defmodule Readability.Mixfile do
defp deps do
[{:floki, "~> 0.8.0"},
{:httpoison, "~> 0.8.0"},
{:earmark, "~> 0.1", only: :dev},
{:ex_doc, "~> 0.11", only: :dev},
{:credo, "~> 0.3", only: [:dev, :test]},
{:dialyxir, "~> 0.3", only: [:dev]}
]
end
defp description do
"""
Readability to elixir. This project is heavily based on Arc90's project.
"""
end
defp package do
[files: ["lib", "mix.exs", "README*", "LICENSE*", "doc"],
maintainers: ["Jaehyun Shin"],
licenses: ["Apache 2.0"],
links: %{"GitHub" => "https://github.com/keepcosmos/readability",
"Docs" => "http://https://hexdocs.pm/readability"}]
end
end

View File

@ -2,6 +2,8 @@
"certifi": {:hex, :certifi, "0.4.0"},
"credo": {:hex, :credo, "0.3.12"},
"dialyxir": {:hex, :dialyxir, "0.3.3"},
"earmark": {:hex, :earmark, "0.2.1"},
"ex_doc": {:hex, :ex_doc, "0.11.4"},
"floki": {:hex, :floki, "0.8.0"},
"hackney": {:hex, :hackney, "1.6.0"},
"httpoison": {:hex, :httpoison, "0.8.3"},