Skip to content

Commit dcba3f5

Browse files
committed
update Documenter [skip ci]
1 parent 0b05e4a commit dcba3f5

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

.github/workflows/Documenter.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,5 @@ jobs:
2121
env:
2222
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # For authentication with GitHub Actions token
2323
DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }} # For authentication with SSH deploy key
24+
DOCUMENTER_DEBUG: 'true'
2425
run: julia --project=docs/ docs/make.jl

docs/Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
33

44
[compat]
5-
Documenter = "~0.20"
5+
Documenter = "~0.26"

docs/make.jl

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,12 @@ using Documenter, IterativeSolvers
22

33
makedocs(
44
modules = [IterativeSolvers],
5-
format = :html,
5+
format = Documenter.HTML(
6+
# Disable pretty URLs during manual testing
7+
prettyurls = get(ENV, "CI", nothing) == "true",
8+
# Set canonical URL to GitHub pages URL
9+
canonical = "https://juliamath.github.io/IterativeSolvers.jl/stable"
10+
),
611
doctest = false,
712
clean = true,
813
sitename = "IterativeSolvers.jl",

0 commit comments

Comments
 (0)