Skip to content

Commit

Permalink
Back to git error
Browse files Browse the repository at this point in the history
  • Loading branch information
aurorarossi committed Nov 1, 2024
1 parent 06e8a8c commit 7d437ca
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/multidocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -152,4 +152,4 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # For authentication with GitHub Actions token
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }}
run: julia --project=docs/ docs/make-multi.jl deploy
run: julia --project=docs/ docs/make-multi.jl
18 changes: 10 additions & 8 deletions docs/make-multi.jl
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
using MultiDocumenter


clonedir = ("--temp" in ARGS) ? mktempdir() : joinpath(@__DIR__, "clones")
outpath = mktempdir()
@info """
Cloning packages into: $(clonedir)
Building aggregate site into: $(outpath)
"""

for (root, dirs, files) in walkdir(".")
for file in files
filepath = joinpath(root, file)
if islink(filepath)
linktarget = abspath(dirname(filepath), readlink(filepath))
rm(filepath)
cp(linktarget, filepath; force=true)
end
end
end

docs = [
MultiDocumenter.MultiDocRef(
Expand Down

0 comments on commit 7d437ca

Please sign in to comment.