Fix doc snippets paths and parsing errors