Skip to content

Commit

Permalink
Add ex_doc
Browse files Browse the repository at this point in the history
  • Loading branch information
Arjan Scherpenisse committed Aug 21, 2019
1 parent 4fcb37b commit 419566f
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 1,4 @@
/doc
/_build
/cover
/deps
Expand Down
15 changes: 14 additions & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 13,7 @@ defmodule Decorator.Mixfile do
homepage_url: "https://github.com/arjan/decorator",
build_embedded: Mix.env() == :prod,
start_permanent: Mix.env() == :prod,
docs: docs(),
deps: deps()
]
end
Expand All @@ -34,7 35,19 @@ defmodule Decorator.Mixfile do
[applications: [:logger]]
end

defp docs do
[
main: "readme",
formatter_opts: [gfm: true],
extras: [
"README.md"
]
]
end

defp deps do
[]
[
{:ex_doc, ">= 0.0.0", only: :dev}
]
end
end
7 changes: 7 additions & 0 deletions mix.lock
Original file line number Diff line number Diff line change
@@ -0,0 1,7 @@
%{
"earmark": {:hex, :earmark, "1.3.1", "73812f447f7a42358d3ba79283cfa3075a7580a3a2ed457616d6517ac3738cb9", [:mix], [], "hexpm"},
"ex_doc": {:hex, :ex_doc, "0.19.2", "6f4081ccd9ed081b6dc0bd5af97a41e87f5554de469e7d76025fba535180565f", [:mix], [{:earmark, "~> 1.2", [hex: :earmark, repo: "hexpm", optional: false]}, {:makeup_elixir, "~> 0.10", [hex: :makeup_elixir, repo: "hexpm", optional: false]}], "hexpm"},
"makeup": {:hex, :makeup, "0.8.0", "9cf32aea71c7fe0a4b2e9246c2c4978f9070257e5c9ce6d4a28ec450a839b55f", [:mix], [{:nimble_parsec, "~> 0.5.0", [hex: :nimble_parsec, repo: "hexpm", optional: false]}], "hexpm"},
"makeup_elixir": {:hex, :makeup_elixir, "0.13.0", "be7a477997dcac2e48a9d695ec730b2d22418292675c75aa2d34ba0909dcdeda", [:mix], [{:makeup, "~> 0.8", [hex: :makeup, repo: "hexpm", optional: false]}], "hexpm"},
"nimble_parsec": {:hex, :nimble_parsec, "0.5.0", "90e2eca3d0266e5c53f8fbe0079694740b9c91b6747f2b7e3c5d21966bba8300", [:mix], [], "hexpm"},
}

0 comments on commit 419566f

Please sign in to comment.