From 704bb44914a027d1e9cfa00559b1a5e548d6950e Mon Sep 17 00:00:00 2001 From: Liru Date: Mon, 29 Apr 2019 01:45:04 -0400 Subject: [PATCH] Add linking directly to source code in API docs --- mix.exs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mix.exs b/mix.exs index 998df5f..0d62eb9 100644 --- a/mix.exs +++ b/mix.exs @@ -17,7 +17,8 @@ defmodule Aife.MixProject do # The main page in the docs main: "readme", # logo: "path/to/logo.png", - extras: ["README.md"] + extras: ["README.md"], + source_url_pattern: "https://git.haigure.net/liru/aife/src/branch/master/%{path}#L%{line}" ] ] end