Skip to content

Commit

Permalink
Merge pull request #151 from matt-mazzucato/doc-fixes
Browse files Browse the repository at this point in the history
Update links for Flow in documentation pages
  • Loading branch information
rbino authored May 15, 2023
2 parents 07aadbe + 4f9fef7 commit f1c56e9
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@
defmodule Astarte.Flow.MixProject do
use Mix.Project

@source_ref "master"
@source_version String.replace_prefix(@source_ref, "release-", "")
|> String.replace("master", "snapshot")

def project do
[
app: :astarte_flow,
Expand All @@ -36,6 +40,8 @@ defmodule Astarte.Flow.MixProject do
"coveralls.post": :test,
"coveralls.html": :test
],
homepage_url: "https://docs.astarte-platform.org/flow/#{@source_version}/",
source_url: "https://github.com/astarte-platform/astarte_flow",
docs: docs()
]
end
Expand Down Expand Up @@ -107,6 +113,7 @@ defmodule Astarte.Flow.MixProject do
extra_section: "Guides",
assets: "guides/assets",
logo: "guides/assets/images/mascot.png",
source_ref: "#{@source_ref}",
extras: Path.wildcard("guides/*/*.md"),
groups_for_extras: [
"Core Concepts": ~r"/core_concepts/",
Expand Down

0 comments on commit f1c56e9

Please sign in to comment.