Skip to content

Commit

Permalink
Update make.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
staticfloat authored Aug 2, 2024
1 parent 7260465 commit c342870
Showing 1 changed file with 2 additions and 17 deletions.
19 changes: 2 additions & 17 deletions docs/make.jl
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,7 @@ if !(dirname(@__DIR__) ∈ Base.LOAD_PATH)
insert!(Base.LOAD_PATH, 2, dirname(@__DIR__))
end

using Documenter, Base64

# Normalize the documenter key if it's not already base64-encoded
documenter_key = get(ENV, "DOCUMENTER_KEY", "")
try
base64decode(documenter_key)
catch e
if isa(e, ArgumentError)
if !endswith(documenter_key, "\n")
global documenter_key = string(documenter_key, "\n")
end
ENV["DOCUMENTER_KEY"] = base64encode(documenter_key)
else
rethrow(e)
end
end
using Documenter

@info("Running any `0_setup.jl` files in the `src/` tree...")
# Ensure that we've run any `0_setup.jl` files.
Expand Down Expand Up @@ -48,7 +33,7 @@ makedocs(;
)

deploydocs(
repo = "github.com/JuliaComputing/DAECompiler.jl.git",
repo = "github.com/CedarEDA/DAECompiler.jl.git",
branch = "docs",
target = "build",
)

0 comments on commit c342870

Please sign in to comment.