| 1 | # Writing documentation |
| 2 | |
| 3 | ## Sequence diagrams |
| 4 | |
| 5 | The sequence diagrams are generated with `seqdiag`: |
| 6 | http://blockdiag.com/en/seqdiag/index.html |
| 7 | |
| 8 | An easy way to work on them is to automatically update the generated |
| 9 | files with https://github.com/cespare/reflex : |
| 10 | |
| 11 | reflex -g 'doc/[^.]*.seq' -- seqdiag -T svg -o '{}.svg' '{}' & |
| 12 | |
| 13 | reflex -g 'doc/[^.]*.seq' -- seqdiag -T png -o '{}.png' '{}' & |
| 14 | |
| 15 | The markdown files refer to PNG images because of Github limitations, |
| 16 | but the SVG is generally more pleasant to view. |