-
Notifications
You must be signed in to change notification settings - Fork 0
/
mix.exs
54 lines (47 loc) · 943 Bytes
/
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
defmodule ExDocMkdocs.MixProject do
use Mix.Project
def project do
[
app: :ex_doc_mkdocs,
version: "0.1.1",
elixir: "~> 1.14",
start_permanent: Mix.env() == :prod,
deps: deps(),
docs: docs(),
mkdocs: mkdocs(),
modkit: modkit()
]
end
def application do
[
extra_applications: [:logger]
]
end
defp deps do
[
{:ex_doc, ">= 0.29.0", runtime: false},
{:jason, "~> 1.4", runtime: false},
# Dev
{:credo, "~> 1.7", only: [:dev], runtime: false}
]
end
def modkit do
[
mount: [
{ExDocMkdocs, "lib/ex_doc_mkdocs"},
{ExDoc, "lib/ex_doc"}
]
]
end
defp mkdocs do
[
site_name: "Mkdocs formatter for ex_doc",
repo_url: "https://github.com/lud-wj/ex_doc_mkdocs/"
]
end
defp docs do
[
nest_modules_by_prefix: [ExDoc, ExDoc.Formatter, ExDocMkdocs]
]
end
end