md2html: navbar brand links to ../index.html and escapes the docs root (404) #17
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
When rendering top-level docs straight into the publish directory with
tp md2html --file index.md --dst docs, the generated navbar brand links one level too high:From
docs/index.htmlthat resolves to<repo>/index.html(and on a statichost deploy wheredocs/is the publish root, above the site root) — a 404. It appears on every rendered page (index, README, ROADMAP).The brand seems to assume pages live in
docs/<subdir>/with the landing one level up atdocs/index.html. When--dstis the docs root itself, the link should beindex.html(same directory), not../index.html.--no-breadcrumbsdoes not affect it.Repro
Suggestion: derive the brand href from the
--dstdepth, or add a flag to set the site root / home link.Migrated from Codeberg: originally #17, opened 2026-06-04.