Skip to content

Commit

Permalink
[docs] Run linkchecks only on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
giordano committed Sep 6, 2024
1 parent ca172f2 commit f24961c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/make.jl
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,9 @@ makedocs(
],
"refindex.md",
],
linkcheck = true,
# Run linkcheck tests only on CI, to speed up building of documentation locally. If one
# wants to run the linkchecks locally they can set the environment variable `CI=true`.
linkcheck = get(ENV, "CI", "false") == "true",
linkcheck_useragent = nothing,
)

Expand Down

0 comments on commit f24961c

Please sign in to comment.