Commit d52bde3
committed
fix: copy lint rule .md files to _site so markdown links resolve
Lint rule pages are generated by lint_rule.page.tsx from source files
in lint/rules/, which are excluded from Lume's processing pipeline via
site.ignore(). This means the source .md files never made it into _site,
causing 125 broken links in the link checker for /lint/rules/*.md URLs.
The afterBuild hook now copies lint/rules/*.md directly into _site/lint/rules/
using Deno's file API, bypassing the ignore rules.1 parent 668859d commit d52bde3
1 file changed
+18
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
190 | 190 | | |
191 | 191 | | |
192 | 192 | | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
193 | 211 | | |
194 | 212 | | |
195 | 213 | | |
| |||
0 commit comments