docs: Added test sources to the snippet search paths.
README.md: Replaced the literal reference to the main `generateDocs` command with a snippet.
Snippets: added function `trimPrefixLine`.