DOC: Improve reshaping.rst
* Add more sphinx references
* Links function docs back to `reshaping.rst`
* Convert `code-block` to `ipython`

thanks @mroeschke 

@simonjayhawkins has been backporting these doc changes so ok in the future @meeseeksdev backport 1.4.x Something went wrong ... Please have a look at my logs.