Fix indentation in docs code examples

Fixes indentation mistakes I made when writing the docs the first time.