DOC: Update after refactor. Use ipython directive.

I don't really care. I just figured if we're printing the summary, we should show it. I'll take it out but it should still at least be a code-block instead of a literal block.