Skip to content

Commit

Permalink
Updates some docs configuration to fix the docs on hex
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Neighman committed Dec 28, 2015
1 parent ba5b3d0 commit 9d055a7
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -493,7 +493,6 @@ feedback to get up and running.
- [x] Integration with Plug
- [x] Basic integrations like raw TCP
- [x] Sevice2Service credentials. That is, pass the authentication results through many downstream requests.
- [ ] Create a "csrf" token type that ensures that CSRF protection is included
- [x] Integration with Phoenix channels
- [x] Integrated permission sets
- [x] Hooks into the authentication cycle
Expand Down
12 changes: 11 additions & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,18 @@ defmodule Guardian.Mixfile do

def project do
[
name: "Guardian",
app: :guardian,
version: @version,
elixir: "~> 1.1",
package: package,
source_url: @url,
build_embedded: Mix.env == :prod,
start_permanent: Mix.env == :prod,
maintainers: @maintainers,
description: "Elixir Authentication framework",
homepage_url: @url,
docs: [source_ref: "v#{@version}", main: "overview"],
docs: docs,
deps: deps
]
end
Expand All @@ -25,6 +27,14 @@ defmodule Guardian.Mixfile do
[applications: [:logger, :poison, :jose, :uuid]]
end

def docs do
[
extras: ["README.md", "CHANGELOG.md"],
source_ref: "v#{@version}",
main: "extra-readme"
]
end

defp deps do
[{:jose, "~> 1.4"},
{:poison, "~> 1.5"},
Expand Down

0 comments on commit 9d055a7

Please sign in to comment.