fixes to api documentation

it was just a little broken indentation causing the code blocks to not render correctly.
seems to be working now.