sympy/sympy — pull request #1465 by lidavidm (2012-08-04 22:05:42+00:00)
Title: SymPy Live Sphinx extension

- Adds a "Show/Hide SymPy Live Shell" button to the bottom-right corner of the docs.
- Clicking it shows a shell that takes up about 600x500px of space.
- The "Fullscreen" button normally in SymPy Live now redirects to SymPy Live.
- Settings are in a dropdown under the shell.
- Hovering over Python code blocks reveals a "run code in SymPy Live" link in the top-right corner.

This code requires SymPy Live to be updated first. It is based somewhat off of the implementation at https://github.com/mattpap/scipy-2011-tutorial which does not work anymore due to changes in SymPy Live.

Fixes [Google Code issue #2871](http://code.google.com/p/sympy/issues/detail?id=2871)

To test locally,

#. Set `sympylive_url` in doc/ext/sympylive.py to `http://localhost:8080`
#. Get the Google App Engine SDK and extract it.
#. Check out [sympy-live:59](https://github.com/sympy/sympy-live/pull/59) into a subdirectory of the SDK.
#. Run `./dev_appserver.py sympy-live/`
#. Build the docs. The extension should add all the necessary files.