only run doc8 over things with a rst extension
Merge pull request #1309 from alex/doc8-extension

only run doc8 over things with a rst extension