forked from phoenixframework/phoenix_guides
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mix.exs
37 lines (32 loc) · 1.05 KB
/
mix.exs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
defmodule PhoenixGuides.Mixfile do
use Mix.Project
@version "1.3.0-dev"
def project do
[app: :phoenix_guides,
name: "Phoenix Guides",
version: @version,
elixir: "~> 1.3",
deps: deps(),
preferred_cli_env: ["docs.watch": :docs, docs: :docs],
docs: [source_ref: "v#{@version}",
main: "overview",
logo: "logo.png",
assets: "docs/assets",
extra_section: "GUIDES",
extras: extras(),
homepage_url: "http://www.phoenixframework.org",
description: """
Phoenix Guides - Preview - The guides are published from the phoenixframework/phoenix project, not separately, however this config exists to make it easier to preview changes to the guides without also building the framework source API docs.
"""]]
end
def application do
[]
end
defp deps do
[{:ex_doc, "~> 0.14", only: :docs},
{:fs, "~> 0.9.1", only: :docs}]
end
defp extras do
System.cwd() |> Path.join("docs/**/*.md") |> Path.wildcard()
end
end