TTD Trailing Spaces

Abstract

Check your rst based documentation for trailing spaces on line ends.

Installation

Dependencies

Usage

If ttd-ts can not find an _index.rst_ the test fails.

The following example mounts your current working directory into the container and runs the check:

docker run -t -v `pwd`:/build/docs testthedocs/ttd-ts

The script reports if it detects trailing spaces on line ends, and shows the name of the file and the number of issues.

_images/ttd-ts-screen.png _images/ttd-ts-ok.png

Source Code

The code of ttd-ts is located on GitHub.