generate documentation from source files, part of #125
make example code parsable to enable syntax highlighting, closes #125