diff --git a/src/Documenter.jl b/src/Documenter.jl index a811de97306..732517cc4a0 100644 --- a/src/Documenter.jl +++ b/src/Documenter.jl @@ -521,7 +521,8 @@ function git_push( # symlink "latest" to devurl to preserve links (remove in some future release) if devurl != "latest" rm(joinpath(dirname, "latest"); recursive = true, force = true) - symlink(joinpath(dirname, devurl), joinpath(dirname, "latest")) + # cd(dirname) do; run(`ln -s $devurl latest`); end + cd(dirname) do; symlink(devurl, "latest"); end end else @assert occursin(Base.VERSION_REGEX, tag) # checked in deploydocs