Skip to content

docs: state the design decisions in DESIGN.md (#197) - #214

Merged
gnacho merged 1 commit into
masterfrom
docs/197-design-md
Nov 21, 2026
Merged

gnacho merged 1 commit into
masterfrom
docs/197-design-md

Conversation

@gnacho

@gnacho gnacho commented Nov 21, 2026

Copy link
Copy Markdown
Owner

Closes #197

What

A short DESIGN.md at the root that states the deliberate decisions behind Scribe and the reason for each one: plain Markdown in the buffer with decoration on top, shrunk instead of hidden marks (GNOME/gtk#8346), GtkSourceView highlighting off on purpose, images linked relatively, image size and alignment in the alt text, the PDF from GTK and cairo, the table of contents as a printed page and not bookmarks, Ctrl+click only for http, https and mailto, a leading BOM preserved, and a non-goals list.

Why

Several of these were only explained in code comments and old changelog entries, so the same requests came back with new issue numbers: syntax highlighting inside fences, LaTeX, callouts and math rendering. With this file an issue can be answered with a link, and if a decision changes the paragraph changes in the same commit as the code.

Note on the old DESIGN.md

The DESIGN.md that existed in the root was the landing design system from the 25 October site. It moves to landing/DESIGN.md with a note at the top saying that the site was redesigned on 26 October and the code wins until the document is updated. Nothing linked to the old file.

The page templates, the PDF pipeline, the hidden marks and the link policy were only explained in code comments and old changelog entries, so the same requests came back with new numbers. DESIGN.md states each decision with its reason and a short non-goals list.

The existing DESIGN.md was the landing design system from the 25 October site, so it moves to landing/DESIGN.md with a note that the code wins until it is updated.
@gnacho
gnacho merged commit 9fdd11f into master Nov 21, 2026
3 checks passed
@gnacho
gnacho deleted the docs/197-design-md branch November 21, 2026 21:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add DESIGN.md with the decisions already taken

1 participant