feat(docs): an HTML target, so one source feeds the ODT and the artifact pages #124
No reviewers
Labels
No labels
priority
P1
priority
P2
priority
P3
priority
P4
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
Toilville/toilville-design!124
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/udg-odf-document-product"
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?
Adds an HTML target to
tools/doc_build.py, so one markdown source feeds the ODT and the artifact pages. Follows #121, which added the ODF writer and the document lint.Scope
tools/doc_build.py --to html— a self-contained artifact page fragment:dist/<product>/skin.cssinlined betweenUDG:BEGIN/UDG:END, token-only CSS sojust doc-lintgates it, light and dark themes, tables in scroll containers, images as data URIs.--only(repeatable) keeps whole top-level sections, so one source splits into several pages with nothing to drift apart;--title,--headingand--navset each page's name, visible heading and sibling links.justfile—just doc-html <src.md>for whole documents. Split pages calldoc_build.pydirectly, because just's variadic arguments drop the quoting that--only "Part One"needs.Testing
just checkexit 0;pytest291 passed.content.xmlandstyles.xml.doc-lintexit 0, both figures inlined. Rendered in light and dark, including a figure with coloured arrows under dark-mode inversion. No sideways overflow at 500px (headless Chrome's minimum width).Impact Statement
dist/.