Skip to content
quarry Check-in [af13ea62ef]
Login

Check-in [af13ea62ef]

Overview
Comment: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.

Timelines: family | ancestors | descendants | both | doc-render
Files: files | file ages | folders
SHA3-256: af13ea62efd6b261900664a81c7c2bab68018990492cf1de3f5a9d02b312682e
User & Date: dmestas on 2026-08-23 00:50:04.053
Other Links: branch diff | manifest | tags
Context
2026-08-23
00:50
merge doc-render: embedded documentation renders check-in: 96245e37e1 user: dmestas tags: trunk
00:50
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. closed check-in: af13ea62ef user: dmestas tags: doc-render

00:43
merge file-version: symbolic file links resolve to their check-in check-in: f2106ce78c user: dmestas tags: trunk
Changes