Artifact 11cdd2a63e04bbb20f3fd01531947f1ade11d4c43b4e152807d6595e47d0be8c:
- File
internal/web/web.go
-
2026-08-23 00:50:04
— part of check-in
[af13ea62ef]
on branch doc-render
— doc: render embedded documentation, chosen by extension
A repository's own docs live in its tree — fossil keeps all of www/ there, not as wiki artifacts — so until now they could only be read as source. /doc/<version>/<path> renders .wiki, .md, .html, .txt and .pikchr, mirroring fossil's dispatch, and anything else redirects to the source view rather than erroring. The URL mirrors the tree path, so a relative link between documents resolves by ordinary browser rules.
Embedded HTML goes through the sanitizer rather than out as written: fossil serves it near as-is and warns about CSP, but quarry serves other people's repositories.
Closes the shape of #6ff10002. (user: dmestas, size: 463163) [annotate] [blame] [check-ins using]
- 2026-08-23 00:50:15 — part of check-in [96245e37e1] on branch trunk — merge doc-render: embedded documentation renders (user: dmestas, size: 463163) [annotate] [blame] [check-ins using]
-
2026-08-23 00:50:04
— part of check-in
[af13ea62ef]
on branch doc-render
— doc: render embedded documentation, chosen by extension