Skip to content

Commit f504c20

Browse files
committed
Update to Documenter.jl v0.22
1 parent bd53a97 commit f504c20

File tree

2 files changed

+10
-6
lines changed

2 files changed

+10
-6
lines changed

docs/Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
33
Markdown = "d6f4376e-aef5-505a-96c1-9c027394607a"
44

55
[compat]
6-
Documenter = "~0.20"
6+
Documenter = "~0.22"

docs/make.jl

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Use
22
#
3-
# DOCUMENTER_DEBUG=true julia --color=yes make.jl local [fixdoctests]
3+
# DOCUMENTER_DEBUG=true julia --color=yes make.jl local [nonstrict] [fixdoctests]
44
#
55
# for local builds.
66

@@ -10,17 +10,21 @@ using ArraysOfArrays
1010
makedocs(
1111
sitename = "ArraysOfArrays",
1212
modules = [ArraysOfArrays],
13-
format = :html,
13+
format = Documenter.HTML(
14+
prettyurls = !("local" in ARGS),
15+
canonical = "https://oschulz.github.io/ArraysOfArrays.jl/stable/"
16+
),
1417
pages=[
1518
"Home" => "index.md",
1619
"API" => "api.md",
1720
"LICENSE" => "LICENSE.md",
1821
],
1922
doctest = ("fixdoctests" in ARGS) ? :fix : true,
20-
html_prettyurls = !("local" in ARGS),
21-
html_canonical = "https://oschulz.github.io/ArraysOfArrays.jl/stable/",
23+
linkcheck = ("linkcheck" in ARGS),
24+
strict = !("nonstrict" in ARGS),
2225
)
2326

2427
deploydocs(
25-
repo = "github.com/oschulz/ArraysOfArrays.jl.git"
28+
repo = "github.com/oschulz/ArraysOfArrays.jl.git",
29+
forcepush = true
2630
)

0 commit comments

Comments
 (0)