Skip to content

Commit

Permalink
Add README.md and CHANGELOG.md to the docs (#168)
Browse files Browse the repository at this point in the history
README.md is now the entry point of the docs instead of "API Reference".
  • Loading branch information
smaximov authored Aug 27, 2024
1 parent e9160bd commit a685ccf
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,7 @@ defmodule PhoenixLiveReload.Mixfile do

# Docs
name: "Phoenix Live-Reload",
docs: [
source_ref: "v#{@version}",
source_url: "https://github.com/phoenixframework/phoenix_live_reload"
]
docs: docs()
]
end

Expand Down Expand Up @@ -48,4 +45,16 @@ defmodule PhoenixLiveReload.Mixfile do
{:jason, "~> 1.0", only: :test}
]
end

defp docs do
[
main: "readme",
extras: [
"README.md",
"CHANGELOG.md"
],
source_ref: "v#{@version}",
source_url: "https://github.com/phoenixframework/phoenix_live_reload"
]
end
end

0 comments on commit a685ccf

Please sign in to comment.