Skip to content
quarry Check-in [ff17aa2517]
Login

Check-in [ff17aa2517]

Overview
Comment:doc: a directory serves its index, and falls back to the tree

Fossil's own docs link directories with a trailing slash — index.wiki carries a variety of techniques — and those all 404'd: the doc route found no renderable extension, redirected to the file view, and the file view cannot serve a directory. A real page was sitting behind the error the whole time (www/caps/index.md).

A directory now serves its index document, preferring the formats that render into the page, found with one listing rather than a probe per candidate. A directory with no index goes to the TREE view; only an actual file falls back to source.

Timelines: family | ancestors | descendants | both | doc-dirs
Files: files | file ages | folders
SHA3-256: ff17aa2517384b257c7db6c87e3b0fbaf9dacc99ee05b7f90c4e4419d00c0ed3
User & Date: dmestas on 2026-08-23 02:25:11.075
Other Links: branch diff | manifest | tags
Context
2026-08-23
02:25
merge doc-dirs: directory documents resolve to their index check-in: 9848396ba4 user: dmestas tags: trunk
02:25
doc: a directory serves its index, and falls back to the tree

Fossil's own docs link directories with a trailing slash — index.wiki carries a variety of techniques — and those all 404'd: the doc route found no renderable extension, redirected to the file view, and the file view cannot serve a directory. A real page was sitting behind the error the whole time (www/caps/index.md).

A directory now serves its index document, preferring the formats that render into the page, found with one listing rather than a probe per candidate. A directory with no index goes to the TREE view; only an actual file falls back to source. closed check-in: ff17aa2517 user: dmestas tags: doc-dirs

02:17
merge doc-measure: prose at the measure, wide content at the column check-in: 9426c24e62 user: dmestas tags: trunk
Changes