doc: fix indentation, remove hard tabs and trailing whitespace