Browse Source

fix av

pull/14/head
Fredrik Ekre 8 years ago
parent
commit
d2a204de3c
  1. 2
      src/Literate.jl

2
src/Literate.jl

@ -331,7 +331,7 @@ function markdown(inputfile, outputdir; preprocess = identity, postprocess = ide @@ -331,7 +331,7 @@ function markdown(inputfile, outputdir; preprocess = identity, postprocess = ide
if pkgsrc === nothing
path = ""
else
repo_root = first(split(pkgsrc, "src/" * pkg * ".jl"))
repo_root = first(split(pkgsrc, joinpath("src", pkg * ".jl")))
@show repo_root
path = relpath(inputfile, repo_root)
@show path

Loading…
Cancel
Save