Skip to content

Commit

Permalink
Fix problem
Browse files Browse the repository at this point in the history
  • Loading branch information
pedromxavier committed Apr 12, 2023
1 parent 356feca commit b6cbd0b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/multimake.jl
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@ function deploymultidocs(path::AbstractString; branch::String="gh-multi-pages",
rm(file; force=true, recursive=true)
end

mkpath(path) # creates if not exists

for file in readdir(path)
cp(joinpath(path, file), joinpath(root_path, file))
end
Expand All @@ -91,8 +93,7 @@ function deploymultidocs(path::AbstractString; branch::String="gh-multi-pages",
return nothing
end

# creates if not exists
build_path = mkpath(joinpath(@__DIR__, "build_path"))
build_path = joinpath(@__DIR__, "build")

buildmultidocs(build_path, docs)

Expand Down

0 comments on commit b6cbd0b

Please sign in to comment.