Remove trailing spaces from docs