TTD Doc8¶
Abstract
Doc8 is an opinionated style checker for rst (with basic support for plain text) styles of documentation.
Based on doc8.
Usage¶
Navigate to the directory containing your reStructuredText (.rst) or markdown (.md) files.
docker run -it -v `pwd`:/srv/data testthedocs/ttd-doc8
Checks¶
Invalid rst format -
D000Lines should not be longer than 180 characters -
D001RST exception: line with no whitespace except in the beginning
RST exception: lines with http or https urls
RST exception: literal blocks
RST exception: rst target directives
No trailing whitespace -
D002No tabulation for indentation -
D003No carriage returns (use unix newlines) -
D004No newline at end of file -
D005