Skip to content

Commit

Permalink
Update make.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
ocots authored Sep 10, 2024
1 parent 64b89ac commit 33bba13
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions docs/make.jl
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,13 @@ for Module ∈ Modules
DocMeta.setdocmeta!(Module, :DocTestSetup, :(using $Module); recursive = true)
end

#
repo_url = "github.com/control-toolbox/OptimalControl.jl"

makedocs(
warnonly = [:cross_references, :autodocs_block],
sitename = "OptimalControl.jl",
format = Documenter.HTML(
format = Documenter.HTML(;
repolink = "https://"*repo_url,
prettyurls = false,
size_threshold_ignore = ["api-ctbase/types.md", "tutorial-plot.md"],
assets = [
Expand Down Expand Up @@ -62,5 +64,6 @@ makedocs(
],
)

#
deploydocs(repo = "github.com/control-toolbox/OptimalControl.jl.git", devbranch = "main")
deploydocs(;
repo=repo_url*".git", devbranch="main"
)

0 comments on commit 33bba13

Please sign in to comment.