ExDoc in mix

This commit is contained in:
Danil Negrienko 2019-06-30 23:38:43 +03:00
parent e903b83f38
commit 34a3524dbc

View File

@ -1,9 +1,11 @@
defmodule YandexTranslate.MixProject do
use Mix.Project
@name "YandexTranslate"
@version "0.3.0"
# @repo_url "https://github.com/negrienko/yandex_translate"
@repo_url "https://gl.negrienko.com/negrienko/yandex_translate"
@homepage_url "https://negrienko.com/yandex_translate"
@description """
Translate word and phrases using the Yandex Translate API. See README.md for information.
"""
@ -18,10 +20,13 @@ defmodule YandexTranslate.MixProject do
start_permanent: Mix.env() == :prod,
package: package(),
deps: deps(),
# source_url: @repo_url,
# Docs
name: @name,
source_url: @repo_url,
homepage_url: @homepage_url,
docs: [
logo: "assets/yandex_translate.svg",
main: "YandexTranslate",
main: @name,
source_ref: @version,
source_url: @repo_url
]