File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change 1919defmodule Astarte.Flow.MixProject do
2020 use Mix.Project
2121
22+ @ source_ref "master"
23+ @ source_version String . replace_prefix ( @ source_ref , "release-" , "" )
24+ |> String . replace ( "master" , "snapshot" )
25+
2226 def project do
2327 [
2428 app: :astarte_flow ,
@@ -36,6 +40,8 @@ defmodule Astarte.Flow.MixProject do
3640 "coveralls.post": :test ,
3741 "coveralls.html": :test
3842 ] ,
43+ homepage_url: "https://docs.astarte-platform.org/flow/#{ @ source_version } /" ,
44+ source_url: "https://github.com/astarte-platform/astarte_flow" ,
3945 docs: docs ( )
4046 ]
4147 end
@@ -107,6 +113,7 @@ defmodule Astarte.Flow.MixProject do
107113 extra_section: "Guides" ,
108114 assets: "guides/assets" ,
109115 logo: "guides/assets/images/mascot.png" ,
116+ source_ref: "#{ @ source_ref } " ,
110117 extras: Path . wildcard ( "guides/*/*.md" ) ,
111118 groups_for_extras: [
112119 "Core Concepts": ~r" /core_concepts/" ,
You can’t perform that action at this time.
0 commit comments