From fc8cec8b7e1e11c5135da01381c2fc3c023f4312 Mon Sep 17 00:00:00 2001 From: Liru Date: Mon, 29 Apr 2019 01:11:00 -0400 Subject: [PATCH] Add detail to doc pages in mix.exs --- mix.exs | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/mix.exs b/mix.exs index 8b578db..f70861d 100644 --- a/mix.exs +++ b/mix.exs @@ -7,7 +7,18 @@ defmodule Aife.MixProject do version: "0.1.0", elixir: "~> 1.8", start_permanent: Mix.env() == :prod, - deps: deps() + deps: deps(), + + # Docs + name: "Aife", + source_url: "https://git.haigure.net/liru/aife", + homepage_url: "https://haigure.net", + docs: [ + # The main page in the docs + main: "Aife", + # logo: "path/to/logo.png", + extras: ["README.md"] + ] ] end @@ -23,7 +34,7 @@ defmodule Aife.MixProject do [ # {:dep_from_hexpm, "~> 0.3.0"}, # {:dep_from_git, git: "https://github.com/elixir-lang/my_dep.git", tag: "0.1.0"} - {:ex_doc, "~> 0.19", only: :dev, runtime: false}, + {:ex_doc, "~> 0.19", only: :dev, runtime: false} ] end end