Skip to content

Commit

Permalink
Fix Hexdocs GitHub Linking
Browse files Browse the repository at this point in the history
  • Loading branch information
maennchen committed Mar 31, 2022
1 parent 211a8bf commit 97a119b
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ defmodule Expo.MixProject do
use Mix.Project

@version "0.1.0-beta.1"
@url "https://github.com/jshmrtn/expo"
@source_url "https://github.com/jshmrtn/expo"

def project do
[
Expand All @@ -14,6 +14,7 @@ defmodule Expo.MixProject do
elixir: "~> 1.6",
start_permanent: Mix.env() == :prod,
deps: deps(),
docs: docs(),
test_coverage: [tool: ExCoveralls],
description: description(),
dialyzer:
Expand All @@ -39,7 +40,7 @@ defmodule Expo.MixProject do
%{
licenses: ["Apache-2.0"],
maintainers: ["Jonatan Männchen"],
links: %{"GitHub" => @url}
links: %{"GitHub" => @source_url}
}
end

Expand All @@ -56,6 +57,13 @@ defmodule Expo.MixProject do
]
end

defp docs do
[
source_url: @source_url,
source_ref: "v" <> @version
]
end

# Run "mix help deps" to learn about dependencies.
defp deps do
[
Expand Down

0 comments on commit 97a119b

Please sign in to comment.