Docs: make indentation to be consistent at 4 spaces
Docs: add more specific cases for function spaces rules

Closes #724