cmockery icon indicating copy to clipboard operation
cmockery copied to clipboard

Automatically include sample code into user guide

Open mbrukman opened this issue 6 years ago • 0 comments

This change add scripts to generate user_guide.md automatically from special markers that are now visible in the source file user_guide.md.in. This allows us to easily keep the source code up-to-date in the docs without having to manually copy-paste the code, and to ensure that the code we test (in the example files) is exactly the code that ends up in the documentation.

Closes #54


Incidentally, this change also demonstrated that paths to sample files were broken since PR #59, and now that we automatically include them in, such a change would be an error.

mbrukman avatar May 26 '19 19:05 mbrukman