[doc/enh] use the awesome ipython directive
[doc] migrate to the awesome ipython directive (let's hope it works on readthedocs)