Skip to content

Commit 33bba13

Browse files
authored
Update make.jl
1 parent 64b89ac commit 33bba13

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

docs/make.jl

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,13 @@ for Module ∈ Modules
1212
DocMeta.setdocmeta!(Module, :DocTestSetup, :(using $Module); recursive = true)
1313
end
1414

15-
#
15+
repo_url = "github.com/control-toolbox/OptimalControl.jl"
16+
1617
makedocs(
1718
warnonly = [:cross_references, :autodocs_block],
1819
sitename = "OptimalControl.jl",
19-
format = Documenter.HTML(
20+
format = Documenter.HTML(;
21+
repolink = "https://"*repo_url,
2022
prettyurls = false,
2123
size_threshold_ignore = ["api-ctbase/types.md", "tutorial-plot.md"],
2224
assets = [
@@ -62,5 +64,6 @@ makedocs(
6264
],
6365
)
6466

65-
#
66-
deploydocs(repo = "github.com/control-toolbox/OptimalControl.jl.git", devbranch = "main")
67+
deploydocs(;
68+
repo=repo_url*".git", devbranch="main"
69+
)

0 commit comments

Comments
 (0)