feat(gen-docs): make logging configurable
fix(section tag-def): correctly calculate the section from the path
feat(examples): initial skeleton for extracting examples