File tree Expand file tree Collapse file tree 5 files changed +25
-4
lines changed
Expand file tree Collapse file tree 5 files changed +25
-4
lines changed Original file line number Diff line number Diff line change 2222
2323 - uses : lycheeverse/lychee-action@v2
2424 with :
25- args : --no-progress --root-dir _site '_site/**/*.html'
25+ args : --no-progress --config .lychee.toml -- root-dir _site '_site/**/*.html'
2626 fail : true
Original file line number Diff line number Diff line change 1+ # Lychee link checker configuration
2+ # https://lychee.cli.rs/configuration/
3+
4+ # Exclude URLs that are expected to return non-200 status codes
5+ exclude = [
6+ # The 404 page references its own URL which naturally returns 404
7+ " https://git.learning.dxscloud.fr/404.html"
8+ ]
Original file line number Diff line number Diff line change @@ -162,6 +162,12 @@ hostable
162162unintegrated
163163gamified
164164dxscloud
165+ Dxsk
166+
167+ # AI/SEO related terms
168+ llms
169+ Applebot
170+ Bytespider
165171
166172# Structure / Paths
167173quetes
Original file line number Diff line number Diff line change 4848 "filename" : " src/_includes/**" ,
4949 "language" : " en,fr-fr" ,
5050 "dictionaries" : [" project-words" ]
51+ },
52+ {
53+ "filename" : " src/*.njk" ,
54+ "language" : " en,fr-fr" ,
55+ "dictionaries" : [" project-words" ]
5156 }
5257 ],
5358 "patterns" : [
5863 { "name" : " css-classes" , "pattern" : " class=\" [^\" ]*\" " },
5964 { "name" : " code-blocks" , "pattern" : " <code>[^<]*</code>" },
6065 { "name" : " pre-blocks" , "pattern" : " <pre[^>]*>[\\ s\\ S]*?</pre>" },
61- { "name" : " html-entities" , "pattern" : " &\\ w+;" }
66+ { "name" : " html-entities" , "pattern" : " &\\ w+;" },
67+ { "name" : " markdown-link-urls" , "pattern" : " \\ ]\\ ([^)]+\\ )" }
6268 ],
6369 "ignoreRegExpList" : [
6470 " html-tags" ,
6874 " css-classes" ,
6975 " code-blocks" ,
7076 " pre-blocks" ,
71- " html-entities"
77+ " html-entities" ,
78+ " markdown-link-urls"
7279 ]
7380}
Original file line number Diff line number Diff line change 1111 "check" : " npm run check:i18n && npm run build && npm run check:links && npm run check:links:external && npm run check:a11y" ,
1212 "check:i18n" : " node scripts/pipeline/check-i18n-parity.js" ,
1313 "check:links" : " node scripts/pipeline/check-internal-links.js" ,
14- "check:links:external" : " lychee --no-progress --root-dir _site '_site/**/*.html'" ,
14+ "check:links:external" : " lychee --no-progress --config .lychee.toml -- root-dir _site '_site/**/*.html'" ,
1515 "check:a11y" : " node scripts/pipeline/check-accessibility.js" ,
1616 "prepare" : " husky"
1717 },
You can’t perform that action at this time.
0 commit comments