Skip to content

Commit

Permalink
Minor Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
pedromxavier committed Apr 12, 2023
1 parent b6cbd0b commit a54ae13
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/multimake.jl
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ function buildmultidocs(path::AbstractString, docs)
index_versions=["stable"],
engine=MultiDocumenter.FlexSearch
),
rootpath="/QUBO.jl"
# rootpath="/QUBO.jl"
)

return nothing
Expand All @@ -57,6 +57,7 @@ function deploymultidocs(path::AbstractString; branch::String="gh-multi-pages",

if !success(`git checkout $branch`)
has_branch = false

if !success(`git checkout -b $branch`)
@error "Cannot create new orphaned branch $branch"
exit(1)
Expand All @@ -65,6 +66,7 @@ function deploymultidocs(path::AbstractString; branch::String="gh-multi-pages",

for file in readdir(root_path; join=true)
endswith(file, ".git") && continue

rm(file; force=true, recursive=true)
end

Expand Down

0 comments on commit a54ae13

Please sign in to comment.