Skip to content

Commit

Permalink
Fix links to source code from documentation (#241)
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 authored Jun 4, 2024
1 parent 1f5ee7d commit bed10e2
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 bed10e2

Please sign in to comment.