BLD/DOC: report context on warnings and add :okwarning: to ipython_directive
Merge pull request #6082 from y-p/PR_ipython_directive

BLD/DOC: report context on warnings and add :okwarning: to ipython_directive