Centeralized all "nbconvert sphinx block" logic (macros) Added more comments and header comments.
Centeralized all "nbconvert sphinx block" logic (macros)
Added more comments and header comments.

ipython/ipython,ipython/ipython