Documentation
¶
Overview ¶
Package figure draws the figure the README opens with: the proxyfile a person writes beside the whole configuration proxyfile generates from it. Both panes are drawn from the two files' own text, so a test keeps the committed figure equal to what the program writes today.
The figure is plain SVG 1.1 that carries its text, colours and fonts as presentation attributes. A README shows it as an image, which runs no script and loads no other file, and the reader's browser draws its text with the fonts the reader's system has, so the figure names a list of common ones and never a font file.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Comparison ¶
Comparison returns an SVG document that shows every line of source, the file a person writes, in a readable pane beside every line of generated, the file proxyfile generates from it, in a wider pane whose text is too small to read: the figure shows how much is generated, not what. The names are the files' names shown in the titles.