[#234] [Docs] Fix codox source-uri to play better with cljx files (@nberger)

cljx files are taken from the compiled file in target/classes for codox, but
the 'view source' links to those files should point to the original cljx file
in the src dir
This commit is contained in:
Nicolas Berger 2017-06-30 07:36:22 +02:00 committed by Peter Taoussanis
parent 22603b5134
commit 67f68c8e47
1 changed files with 3 additions and 1 deletions

View File

@ -81,7 +81,9 @@
:codox
{:language :clojure
:source-uri "https://github.com/ptaoussanis/timbre/blob/master/{filepath}#L{line}"}
:source-uri
{#"target/classes" "https://github.com/ptaoussanis/timbre/blob/v{version}/src/{classpath}x#L{line}"
#".*" "https://github.com/ptaoussanis/timbre/blob/v{version}/{filepath}#L{line}"}}
:aliases
{"test-all" ["do" "clean," "cljx" "once,"