DOC/BLD: ipython_directive cleanups