Skip to content

Commit

Permalink
setup for generating docs
Browse files Browse the repository at this point in the history
  • Loading branch information
sasa1977 committed Apr 8, 2016
1 parent 7b91306 commit 2e6e9d2
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -3,3 +3,4 @@
/deps
erl_crash.dump
*.ez
/doc/
1 change: 1 addition & 0 deletions config/docs.exs
@@ -0,0 +1 @@
use Mix.Config
9 changes: 7 additions & 2 deletions mix.exs
Expand Up @@ -9,7 +9,11 @@ defmodule Phoenix.GenSocketClient.Mixfile do
elixirc_paths: elixirc_paths(Mix.env),
build_embedded: Mix.env == :prod,
start_permanent: Mix.env == :prod,
deps: deps
deps: deps,
docs: [
main: "readme",
extras: ["README.md"]
]
]
end

Expand All @@ -21,7 +25,8 @@ defmodule Phoenix.GenSocketClient.Mixfile do
[
{:credo, "~> 0.3.0", only: [:dev, :test]},
{:dialyze, "~> 0.2.1", only: :dev},
{:websocket_client, github: "sanmiguel/websocket_client", tag: "1.1.0", only: [:dev, :test]},
{:websocket_client, github: "sanmiguel/websocket_client", tag: "1.1.0",
only: [:dev, :test, :docs]},
{:poison, "~> 1.5", only: :test},
{:phoenix, "~> 1.1.4", only: :test},
{:cowboy, "~> 1.0", only: :test},
Expand Down

0 comments on commit 2e6e9d2

Please sign in to comment.