Emily Shaffer <nasamuffin@xxxxxxxxxx> writes: > ... I do very much > like the idea of keeping the reference source in contrib/ as a set of > patches, maybe along with a script to apply them (or a readme with the > right `git am` invocation), and then checking that they still build. > Checking that against the contents of the document is trickier, > though, like you mentioned. Hm. An approach to avoid two things (i.e. sample source and the code snippet in the documentation) going out of sync is not to have two of them in the first place. If we give up readability of the MFOW document in its source form, you may be able to arrange the code snippet to be incorporated by the build test and documentation at the same time.