Add Lychee Doc Links Check to Local and CI (#19742)
Co-authored-by: Zijie Xia <zijie_xia@icloud.com> Co-authored-by: Zijie Xia <zijiexia@users.noreply.github.com> Co-authored-by: zijiexia <37504505+zijiexia@users.noreply.github.com>
This commit is contained in:
co-authored by
Zijie Xia
Zijie Xia
zijiexia
parent
a32e0d57e7
commit
c4db64c16b
@@ -0,0 +1,18 @@
|
||||
# .github/linters/lychee.toml
|
||||
no_progress = true
|
||||
verbose = "warn"
|
||||
timeout = 20
|
||||
max_concurrency = 8
|
||||
|
||||
offline = true
|
||||
|
||||
# Ignore generated docs output; check source docs only.
|
||||
exclude_path = [
|
||||
"^(\\./)?docs[/\\\\]_build[/\\\\]",
|
||||
]
|
||||
|
||||
exclude = [
|
||||
"^https?://localhost(:[0-9]+)?(/|$)",
|
||||
"^http://127\\.0\\.0\\.1(:[0-9]+)?(/|$)",
|
||||
"^http://0\\.0\\.0\\.0(/|$)",
|
||||
]
|
||||
Reference in New Issue
Block a user