Skip to content

Commit a685ccf

Browse files
authored
Add README.md and CHANGELOG.md to the docs (#168)
README.md is now the entry point of the docs instead of "API Reference".
1 parent e9160bd commit a685ccf

File tree

1 file changed

+13
-4
lines changed

1 file changed

+13
-4
lines changed

mix.exs

+13-4
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,7 @@ defmodule PhoenixLiveReload.Mixfile do
1616

1717
# Docs
1818
name: "Phoenix Live-Reload",
19-
docs: [
20-
source_ref: "v#{@version}",
21-
source_url: "https://github.com/phoenixframework/phoenix_live_reload"
22-
]
19+
docs: docs()
2320
]
2421
end
2522

@@ -48,4 +45,16 @@ defmodule PhoenixLiveReload.Mixfile do
4845
{:jason, "~> 1.0", only: :test}
4946
]
5047
end
48+
49+
defp docs do
50+
[
51+
main: "readme",
52+
extras: [
53+
"README.md",
54+
"CHANGELOG.md"
55+
],
56+
source_ref: "v#{@version}",
57+
source_url: "https://github.com/phoenixframework/phoenix_live_reload"
58+
]
59+
end
5160
end

0 commit comments

Comments
 (0)