Use python code blocks in documentation

@wesleykendall