Make doc8 test for .rst files only.

@ashfall This should fix all those test failures you are seeing. Merge this and rebase your PRs against master. :)