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 83decfd commit 21c18e9
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions docs/make.jl
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,13 @@ using Plots
DocMeta.setdocmeta!(CTBase, :DocTestSetup, :(using CTBase); recursive = true)
DocMeta.setdocmeta!(CTDirect, :DocTestSetup, :(using CTDirect); recursive = true)

makedocs(
repo_url = "github.com/control-toolbox/CTDirect.jl"

makedocs(;
warnonly = [:cross_references, :autodocs_block],
sitename = "CTDirect.jl",
format = Documenter.HTML(
repolink = "https://"*repo_url,
prettyurls = false,
size_threshold_ignore = ["api-ctbase.md"],
assets = [
Expand All @@ -27,4 +30,6 @@ makedocs(
pages = ["Introduction" => "index.md", "API" => "api.md", "Developers" => "dev-api.md"],
)

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

0 comments on commit 21c18e9

Please sign in to comment.