Trims the lines for the docs.