Skip to content

Commit

Permalink
Fix links to source code from documentation
Browse files Browse the repository at this point in the history
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).
  • Loading branch information
rhcarvalho committed May 3, 2024
1 parent 6071f18 commit d5fc3ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ defmodule Mongodb.Mixfile do
],
main: "readme",
source_url: @source_url,
source_ref: @version,
source_ref: "v#{@version}",
formatters: ["html"]
]
end
Expand Down

0 comments on commit d5fc3ed

Please sign in to comment.