From d01da735e17442c5b7992f192ec0c5f9110c70de Mon Sep 17 00:00:00 2001 From: badams-scos <34457752+badams-scos@users.noreply.github.com> Date: Thu, 16 May 2019 13:56:30 -0400 Subject: [PATCH] Properly display readme page in hex docs --- README.md | 2 +- mix.exs | 13 ++++++++++++- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 4a75d4f..9a8b092 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ The package can be installed by adding `divo_redis` to your list of dependencies def deps do [ {:divo, "~> 1.1"}, - {:divo_redis, "~> 0.1.1"} + {:divo_redis, "~> 0.1.2"} ] end ``` diff --git a/mix.exs b/mix.exs index 33d43e4..5452074 100644 --- a/mix.exs +++ b/mix.exs @@ -4,10 +4,11 @@ defmodule DivoRedis.MixProject do def project do [ app: :divo_redis, - version: "0.1.1", + version: "0.1.2", elixir: "~> 1.8", start_permanent: Mix.env() == :prod, deps: deps(), + docs: docs(), package: package(), description: description(), source_url: "https://github.com/smartcitiesdata/divo_redis" @@ -40,4 +41,14 @@ defmodule DivoRedis.MixProject do links: %{"GitHub" => "https://github.com/smartcitiesdata/divo_redis"} ] end + + defp docs do + [ + main: "readme", + source_url: "https://www.github.com/smartcitiesdata/divo_redis", + extras: [ + "README.md" + ] + ] + end end