Skip to content

Commit 9116c07

Browse files
authored
Include the changelog in the docs (#15)
1 parent 188df65 commit 9116c07

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

mix.exs

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ defmodule DNSCluster.MixProject do
1414
deps: deps(),
1515
source_url: @scm_url,
1616
homepage_url: @scm_url,
17-
description: "Simple DNS clustering for distributed Elixir nodes"
17+
description: "Simple DNS clustering for distributed Elixir nodes",
18+
docs: docs()
1819
]
1920
end
2021

@@ -36,4 +37,12 @@ defmodule DNSCluster.MixProject do
3637
defp deps do
3738
[{:ex_doc, ">= 0.0.0", only: :docs}]
3839
end
40+
41+
defp docs do
42+
[
43+
source_ref: "v#{@version}",
44+
skip_undefined_reference_warnings_on: ["CHANGELOG.md"],
45+
extras: ["CHANGELOG.md"]
46+
]
47+
end
3948
end

0 commit comments

Comments
 (0)