fix docs: cache-control headers, Dockerfile copy order, broken links
Some checks failed
ci/woodpecker/push/infra-ci Pipeline was successful
ci/woodpecker/push/deploy Pipeline failed
coverage 99% coverage
ci/woodpecker/push/ci Pipeline was successful

- Add Cache-Control: no-cache on HTML responses so browser always gets
  fresh index.html (hashed asset filenames handle JS/CSS cache-busting)
- Fix Dockerfile: re-copy api/index.md after extract stage overwrites
- Revert onBrokenLinks to warn (category links unresolvable at build)
- Fix api/index.md links to use absolute /category/ paths
This commit is contained in:
kert
2026-03-21 15:48:06 -04:00
parent 2c4ee2fcbd
commit bff683b995

View File

@@ -7,6 +7,7 @@ server {
location / {
try_files $uri $uri/ /index.html;
add_header Cache-Control "no-cache, must-revalidate";
}
location ~* \.(js|css|png|jpg|jpeg|gif|svg|ico|woff2?)$ {