From d5fc3ed1a537984fa5f31b08b1d58f9ebbddc69c Mon Sep 17 00:00:00 2001 From: Rodolfo Carvalho Date: Fri, 3 May 2024 15:17:21 +0200 Subject: [PATCH] Fix links to source code from documentation The project uses GitHub tags like v1.4.1 for @version 1.4.1, so correcting the `source_ref` makes for working links. The `v#{@version}` pattern seems to be used by many projects (from a biased sample of what I happen to have in my disk at the moment). --- mix.exs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mix.exs b/mix.exs index c3ef0fc3..8df6ee7d 100644 --- a/mix.exs +++ b/mix.exs @@ -50,7 +50,7 @@ defmodule Mongodb.Mixfile do ], main: "readme", source_url: @source_url, - source_ref: @version, + source_ref: "v#{@version}", formatters: ["html"] ] end