{ "info": { "author": "Ruslan Korniichuk", "author_email": "ruslan.korniichuk@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Console", "Framework :: Sphinx", "Framework :: Sphinx :: Extension", "Intended Audience :: Developers", "Intended Audience :: Information Technology", "Intended Audience :: Science/Research", "License :: Public Domain", "Operating System :: POSIX :: Linux", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 2 :: Only", "Topic :: Documentation", "Topic :: Documentation :: Sphinx", "Topic :: Scientific/Engineering" ], "description": ".. contents:: Table of contents\n :depth: 3\n\nInstallation\n============\nInstall the sphinx-sagecell-ext from PyPI\n-----------------------------------------\n::\n\n $ sudo pip install sphinx-sagecell-ext\n\nInstall the sphinx-sagecell-ext from GitHub\n-------------------------------------------\n::\n\n $ sudo pip install git+git://github.com/korniichuk/sphinx-sagecell-ext#egg=sphinx-sagecell-ext\n\nUpgrade the sphinx-sagecell-ext from PyPI\n-----------------------------------------\n::\n\n $ sudo pip install -U sphinx-sagecell-ext\n\nor::\n\n $ sudo pip install --upgrade sphinx-sagecell-ext\n\nUninstall the sphinx-sagecell-ext\n---------------------------------\n::\n\n $ sudo pip uninstall sphinx-sagecell-ext\n\nDevelopment installation\n========================\n::\n\n $ git clone git://github.com/korniichuk/sphinx-sagecell-ext.git\n $ cd sphinx-sagecell-ext\n $ sudo pip install .\n\nQuickstart\n==========\n**First**, add ``sphinx-sagecell-ext.sagecell`` extension to ``conf.py`` documentation file:::\n\n extensions = [\n 'sphinx-sagecell-ext.sagecell'\n ]\n\n**Second**, copy ``layout.html`` file to ``_templates`` documentation directory::\n\n $ wget -P DEST https://raw.githubusercontent.com/korniichuk/sphinx-sagecell-ext/master/layout.html\n\nWhere:\n\n* ``DEST`` -- a path to ``_templates`` documentation directory.\n\nExample::\n\n $ wget -P ~/sphinx-sagecell-ext/source/_templates https://raw.githubusercontent.com/korniichuk/sphinx-sagecell-ext/master/layout.html\n\nUsage\n=====\nThe following is some example usage::\n\n .. sagecellserver::\n\n sphere()\n\nOptions\n=======\nThe key/value pairs serve as the configuration of the created Sage Cell instance. The following options can be set when embedding:\n\nLinked cells\n------------\nWhen multiple input locations are given, this sets whether the code from these cells is to be executed from the same kernel, so that code executed in one will affect the execution of code from another cell::\n\n .. sagecellserver::\n :linked: true\n\n .. sagecellserver::\n :linked: false\n\n.. note:: This option is true by default.\n\nFor changing the default value. First, open the ``/usr/local/lib/python2.7/dist-packages/sphinx-sagecell-ext/sagecell.py`` file::\n\n $ sudo gedit /usr/local/lib/python2.7/dist-packages/sphinx-sagecell-ext/sagecell.py\n\nSecond, change the next code from::\n\n linked = True\n\nto::\n\n linked = False\n\nExample\n^^^^^^^\n::\n\n .. sagecellserver::\n :linked: true\n\n x = \"first cell\"\n\n .. sagecellserver::\n :linked: false\n\n x = \"second cell\"\n\n .. sagecellserver::\n :linked: true\n\n x\n\n.. image:: ./img/options-_linked_cells_0001_728px.png\n :alt: options: linked_cells [prtscn]", "description_content_type": null, "docs_url": null, "download_url": "https://github.com/korniichuk/sphinx-sagecell-ext/archive/0.1.zip", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/korniichuk/sphinx-sagecell-ext", "keywords": "extension,python2,sagecell,sphinx,sphinx-sagecell-ext", "license": "Public Domain", "maintainer": null, "maintainer_email": null, "name": "sphinx-sagecell-ext", "package_url": "https://pypi.org/project/sphinx-sagecell-ext/", "platform": "Linux", "project_url": "https://pypi.org/project/sphinx-sagecell-ext/", "project_urls": { "Download": "https://github.com/korniichuk/sphinx-sagecell-ext/archive/0.1.zip", "Homepage": "https://github.com/korniichuk/sphinx-sagecell-ext" }, "release_url": "https://pypi.org/project/sphinx-sagecell-ext/0.1rc4/", "requires_dist": null, "requires_python": null, "summary": "The Sphinx extension embedding a Sage cell into a webpage", "version": "0.1rc4" }, "last_serial": 2914711, "releases": { "0.1rc4": [ { "comment_text": "", "digests": { "md5": "6be00e404ecba9e405f656f7be962525", "sha256": "88d90bc1ce9dd62f7ef0b27dc0ee0494b20837b060778e7312eb92c34d2dfbee" }, "downloads": -1, "filename": "sphinx-sagecell-ext-0.1rc4.tar.gz", "has_sig": false, "md5_digest": "6be00e404ecba9e405f656f7be962525", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 41090, "upload_time": "2015-12-04T13:12:11", "url": "https://files.pythonhosted.org/packages/94/24/2107eaade558b70f48be007b2a50180a3779728b3f4c6aa81bba862bc793/sphinx-sagecell-ext-0.1rc4.tar.gz" }, { "comment_text": "", "digests": { "md5": "0747eb2774f7e5769ba95bb4cd82fd80", "sha256": "ba47acc94191f600654f58c4d910652f47d346516a8d18b7c8370d373a2769f2" }, "downloads": -1, "filename": "sphinx-sagecell-ext-0.1rc4.zip", "has_sig": false, "md5_digest": "0747eb2774f7e5769ba95bb4cd82fd80", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 43836, "upload_time": "2015-12-04T13:11:58", "url": "https://files.pythonhosted.org/packages/79/1e/32bf9489c3069472ed3851740806a8dd73ae5c5498c28e62ff644a4d0fa0/sphinx-sagecell-ext-0.1rc4.zip" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "6be00e404ecba9e405f656f7be962525", "sha256": "88d90bc1ce9dd62f7ef0b27dc0ee0494b20837b060778e7312eb92c34d2dfbee" }, "downloads": -1, "filename": "sphinx-sagecell-ext-0.1rc4.tar.gz", "has_sig": false, "md5_digest": "6be00e404ecba9e405f656f7be962525", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 41090, "upload_time": "2015-12-04T13:12:11", "url": "https://files.pythonhosted.org/packages/94/24/2107eaade558b70f48be007b2a50180a3779728b3f4c6aa81bba862bc793/sphinx-sagecell-ext-0.1rc4.tar.gz" }, { "comment_text": "", "digests": { "md5": "0747eb2774f7e5769ba95bb4cd82fd80", "sha256": "ba47acc94191f600654f58c4d910652f47d346516a8d18b7c8370d373a2769f2" }, "downloads": -1, "filename": "sphinx-sagecell-ext-0.1rc4.zip", "has_sig": false, "md5_digest": "0747eb2774f7e5769ba95bb4cd82fd80", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 43836, "upload_time": "2015-12-04T13:11:58", "url": "https://files.pythonhosted.org/packages/79/1e/32bf9489c3069472ed3851740806a8dd73ae5c5498c28e62ff644a4d0fa0/sphinx-sagecell-ext-0.1rc4.zip" } ] }