diff --git a/src/Examples.jl b/src/Examples.jl index b9a3568..cf2483d 100644 --- a/src/Examples.jl +++ b/src/Examples.jl @@ -217,7 +217,8 @@ function markdown(inputfile, outputdir; preprocess = identity, postprocess = ide # run some Documenter specific things if documenter # change the Edit on GitHub link - pkg = "Examples" + repo = get(ENV, "TRAVIS_REPO_SLUG", "") + pkg = first(split(last(split(repo, '/')), '.')) content = """ #' ```@meta #' EditURL = "@__REPO_ROOT_URL__$(relpath(inputfile, Pkg.dir(pkg)))"