Repository navigation
docs: state the design decisions in DESIGN.md (#197) - #214
Merged
Merged
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #197
What
A short
DESIGN.mdat 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.mdthat existed in the root was the landing design system from the 25 October site. It moves tolanding/DESIGN.mdwith 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.