Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/linkcheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ jobs:
uses: lycheeverse/lychee-action@v2
with:
fail: false
args: --accept 403,503 **/*.html
# Configuration is now specified in lychee.toml file
args: **/*.html
- name: Create Issue From File
if: steps.lychee.outputs.exit_code != 0
uses: peter-evans/create-issue-from-file@v5
Expand Down
10 changes: 10 additions & 0 deletions lychee.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Lychee link checker configuration
# For more configuration options, see: https://github.com/lycheeverse/lychee

# Accept specific HTTP status codes that are normally treated as errors
accept = [403, 503]

# Exclude paths from checking
# This excludes the webpack-macros.html file which contains unprocessed Jinja2 template variables
# like {{ pathto() }} that cause false positives in link checking
exclude_path = ["_static/webpack-macros.html"]
Loading