Skip to content

Commit

Permalink
doc: set source_url
Browse files Browse the repository at this point in the history
  • Loading branch information
fahchen committed Jun 29, 2024
1 parent 516d39d commit 82e41e0
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions mix.exs
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
defmodule TypedStructor.MixProject do
use Mix.Project

@source_url "https://github.com/elixir-typed-structor/typed_structor"

def project do
[
app: :typed_structor,
Expand All @@ -11,10 +13,11 @@ defmodule TypedStructor.MixProject do
start_permanent: Mix.env() == :prod,
deps: deps(),
name: "TypedStructor",
source: "https://github.com/elixir-typed-structor/typed_structor",
homepage_url: "https://github.com/elixir-typed-structor/typed_structor",
source: @source_url,
homepage_url: @source_url,
docs: [
main: "TypedStructor",
source_url: @source_url,
extra_section: "Guides",
extras: [
"README.md",
Expand All @@ -26,7 +29,7 @@ defmodule TypedStructor.MixProject do
name: "typed_structor",
licenses: ["MIT"],
links: %{
"GitHub" => "https://github.com/elixir-typed-structor/typed_structor"
"GitHub" => @source_url
}
]
]
Expand Down

0 comments on commit 82e41e0

Please sign in to comment.