- 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. You can merge this Pull Request by running: git pull https://github.com/lidavidm/sympy live_sphinx_extension Or you can view, comment on it, or merge it online at: https://github.com/sympy/sympy/pull/1465 -- Commit Summary -- * Add SymPy Live Sphinx extension * Update the SymPy Live URL -- File Changes -- A doc/ext/sympylive.py (36) M doc/src/conf.py (2) -- Patch Links -- https://github.com/sympy/sympy/pull/1465.patch https://github.com/sympy/sympy/pull/1465.diff --- Reply to this email directly or view it on GitHub: https://github.com/sympy/sympy/pull/1465 -- You received this message because you are subscribed to the Google Groups "sympy-patches" group. To post to this group, send email to sympy-patches@googlegroups.com. To unsubscribe from this group, send email to sympy-patches+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.