Skip to content

Commit 9d5566c

Browse files
committed
fix: explicit mkpath for subdir refs
1 parent 076755d commit 9d5566c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/MultiDocumenter.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,8 @@ function make_output_structure(docs::Vector{MultiDocRef}, prettyurls)
186186

187187
for doc in docs
188188
outpath = joinpath(dir, doc.path)
189+
190+
mkpath(dirname(outpath))
189191
cp(doc.upstream, outpath; force = true)
190192

191193
gitpath = joinpath(outpath, ".git")

0 commit comments

Comments
 (0)