Skip to content
quarry Check-in [96245e37e1]
Login

Check-in [96245e37e1]

Overview
Comment:merge doc-render: embedded documentation renders
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 96245e37e130964f38b471434c81f457c58ddb0213b9fe99e35e7fa1dd38d60c
User & Date: dmestas on 2026-08-23 00:50:15.029
Other Links: manifest | tags
Context
2026-08-23
01:03
doc: relative links between documents, and their images

Fossil's docs link each other as Quick Start and those stayed literal text, so a rendered doc was a dead end. Relative targets now resolve for tree documents only — a wiki artifact sits at no path and must not emit links relative to one — and the href is left relative so the browser resolves it against the doc's own URL. Images are served as bytes under the same route the markup already points at.

Also stops double-escaping a character reference the author wrote: fossil's own index rendered "Tips & Hints". closed check-in: 44ba7c78f8 user: dmestas tags: doc-links

00:53
merge dashboard list styling with trunk check-in: fe0dc4358f user: dmestas tags: trunk
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