Skip to content

Commit

Permalink
Update Documenter Syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
Seelengrab committed Dec 8, 2024
1 parent 8059b3c commit 451fb73
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion docs/make.jl
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
import Pkg

cd(@__DIR__)
Pkg.activate(@__DIR__)
Pkg.develop(path="..")
Pkg.instantiate()

liveserver = "liveserver" in ARGS
if liveserver
using Revise
Expand All @@ -16,6 +23,7 @@ function builddocs(clear=false)
format = Documenter.HTML(
prettyurls = get(ENV, "CI", nothing) == true
),
repo=Remotes.GitHub("Seelengrab", "RequiredInterfaces.jl"),
pages = [
"Main Page" => "index.md",
"Examples" => [
Expand All @@ -35,4 +43,4 @@ builddocs()
repo = "github.com/Seelengrab/RequiredInterfaces.jl.git",
devbranch = "main",
push_preview = true
)
)

0 comments on commit 451fb73

Please sign in to comment.