Browse Source

test some env vars

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

5
src/Literate.jl

@ -320,6 +320,11 @@ function markdown(inputfile, outputdir; preprocess = identity, postprocess = ide
if documenter if documenter
# change the Edit on GitHub link # change the Edit on GitHub link
repo = get(ENV, "TRAVIS_REPO_SLUG", nothing) repo = get(ENV, "TRAVIS_REPO_SLUG", nothing)
build_dir = get(ENV, "TRAVIS_BUILD_DIR", nothing)
@show build_dir
if build_dir !== nothing
@show relpath(inputfile, build_dir)
end
if repo === nothing if repo === nothing
println("repo === nothing") println("repo === nothing")
path = "" path = ""

Loading…
Cancel
Save