Skip to content

Commit d1cd81b

Browse files
authored
[docs] skip some links in linkcheck (#2103)
1 parent 3e48ef2 commit d1cd81b

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

docs/make.jl

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,16 @@ end
131131
clean = true,
132132
strict = true,
133133
linkcheck = true,
134-
linkcheck_ignore = ["MathOptInterface.pdf"],
134+
linkcheck_ignore = [
135+
# Ignore the PDF link, because it hasn't been built yet.
136+
"MathOptInterface.pdf",
137+
# Ignore tags, because preping for a new release will otherwise cause it
138+
# to fail.
139+
r"https://github.com/jump-dev/MathOptInterface.jl/releases/tag/v([0-9]).([0-9]+).([0-9]+)",
140+
# Ignore issue and pull request links, because there are many of them,
141+
# and they sometimes time-out the linkcheck.
142+
r"https://github.com/jump-dev/MathOptInterface.jl/issues/([0-9]+)",
143+
],
135144
modules = [MathOptInterface],
136145
checkdocs = :exports,
137146
doctest = _FIX ? :fix : true,

0 commit comments

Comments
 (0)