{ "info": { "author": "Kirill Simonov (Prometheus Research, LLC)", "author_email": "xi@resolvent.net", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Documentation", "Topic :: Text Processing" ], "description": "*************************************************************************\n ``sphinxcontrib-jsdemo`` -- HTML/Javascript Demo extension for Sphinx\n*************************************************************************\n\nOverview\n========\n\n``sphinxcontrib-jsdemo`` is an extension for embedding HTML/Javascript\ndemo snippets into Sphinx_ documents.\n\nYou can see this extension in action at\nhttp://htsql.org/htraf/index.html. For more examples, see ``demo``\ndirectory in the source distribution.\n\nThis software is written by Kirill Simonov (`Prometheus Research, LLC`_)\nand released under BSD license.\n\n\nUsage\n=====\n\nTo enable this extension, add the following line to ``conf.py``::\n\n extensions.append('sphinxcontrib.jsdemo')\n\nNow you can include a snippet of HTML/Javascript code to a Sphinx\ndocument using ``demo`` directive. For example::\n\n .. demo::\n\n \n\nThe directive renders its content twice: as a raw HTML block (demo) and\nas a literal block (source). Clicking on the *Demo* and *Source* headers\ntoggles visibility of the blocks.\n\nOption ``layout`` allows you to control the relative order of the blocks.\nFor example, the following directive renders the source block before the\ndemo block with the content of the demo block initially hidden::\n\n .. demo::\n :layout: +source, -demo\n\n \n\n\nReference\n=========\n\nDirectives\n----------\n\n``demo``\n Inserts a demo widget.\n\n The directive is rendered as a composite node with two blocks:\n\n * A *demo* block containing raw HTML content.\n\n * A *source* block with the same content in literal form.\n\n Clicking on a block header toggles the block's visibility.\n\n Options:\n\n ``layout``\n This option controls the order of the blocks and their initial\n visibility. It must contain comma-separated list of blocks with\n optional ``+`` or ``-`` indicators specifying the initial\n visibility. Examples:\n\n ``demo, source``\n Render the *demo* block before the *source* block.\n This is the default value of the option.\n\n ``+source, -demo``\n Render the *source* block before the *demo* block.\n The content of the *demo* block is hidden.\n\n ``-demo``\n Render the *demo* block only; hidden.\n\nConfiguration parameters\n------------------------\n\n``demo_layout``\n The layout for ``demo`` directives with no ``layout`` option.\n By default, ``+demo, +source``.\n\nCSS classes\n-----------\n\n``demo-wrapper``\n Wraps the demo directive.\n\n``demo-header``\n Wraps a block header.\n\n``demo-hide``\n If set on a block header, indicates that the content of the block\n is hidden.\n\n``demo-area``\n Wraps the demo block.\n\n``demo-source``\n Wraps the source block.\n\n\n.. _Sphinx: http://sphinx-doc.org/\n.. _Prometheus Research, LLC: http://prometheusresearch.com/\n\n\n.. vim: set spell spelllang=en textwidth=72:", "description_content_type": null, "docs_url": null, "download_url": "http://pypi.python.org/pypi/sphinxcontrib-jsdemo", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://bitbucket.org/prometheus/sphinxcontrib-jsdemo", "keywords": null, "license": "BSD", "maintainer": null, "maintainer_email": null, "name": "sphinxcontrib-jsdemo", "package_url": "https://pypi.org/project/sphinxcontrib-jsdemo/", "platform": "any", "project_url": "https://pypi.org/project/sphinxcontrib-jsdemo/", "project_urls": { "Download": "http://pypi.python.org/pypi/sphinxcontrib-jsdemo", "Homepage": "http://bitbucket.org/prometheus/sphinxcontrib-jsdemo" }, "release_url": "https://pypi.org/project/sphinxcontrib-jsdemo/0.1.4/", "requires_dist": null, "requires_python": null, "summary": "HTML/Javascript Demo extension for Sphinx", "version": "0.1.4" }, "last_serial": 1429245, "releases": { "0.1.1": [ { "comment_text": "", "digests": { "md5": "45ef727eba96743494bd49af695a6f27", "sha256": "529782509b1d854a8f77c16f14eb686a2f4f8c8831fdbbb801c076729345afd8" }, "downloads": -1, "filename": "sphinxcontrib-jsdemo-0.1.1.tar.gz", "has_sig": false, "md5_digest": "45ef727eba96743494bd49af695a6f27", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5682, "upload_time": "2013-03-01T00:46:24", "url": "https://files.pythonhosted.org/packages/ab/a6/b54f77022654b302db43d6147c676f26774979795e2cf85b8572ee89fdeb/sphinxcontrib-jsdemo-0.1.1.tar.gz" } ], "0.1.4": [ { "comment_text": "", "digests": { "md5": "5985142120cec03a763d897e4621984e", "sha256": "b9aa9f109cd1ffe517c7ef2edb7d60a634a5d814cd18cd58cb1fb966c79548cf" }, "downloads": -1, "filename": "sphinxcontrib_jsdemo-0.1.4-py2-none-any.whl", "has_sig": false, "md5_digest": "5985142120cec03a763d897e4621984e", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 6940, "upload_time": "2015-02-18T23:52:35", "url": "https://files.pythonhosted.org/packages/40/98/165419b88ba45fef65010fa0072f1e39ab4a11e1853427dcbf1add2a6f47/sphinxcontrib_jsdemo-0.1.4-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e3fd7c99902d27ba61f2ae439f714481", "sha256": "3d03b6af0dfed69413039ee8a5e6b62846353e942afb56fecf0fd3b067dc1447" }, "downloads": -1, "filename": "sphinxcontrib-jsdemo-0.1.4.tar.gz", "has_sig": false, "md5_digest": "e3fd7c99902d27ba61f2ae439f714481", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7167, "upload_time": "2015-02-18T23:52:32", "url": "https://files.pythonhosted.org/packages/89/12/2224b833a3b9e0bbb9e47a4ed38dbedf422af2d722a4b8d9d1cbbc17ec32/sphinxcontrib-jsdemo-0.1.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "5985142120cec03a763d897e4621984e", "sha256": "b9aa9f109cd1ffe517c7ef2edb7d60a634a5d814cd18cd58cb1fb966c79548cf" }, "downloads": -1, "filename": "sphinxcontrib_jsdemo-0.1.4-py2-none-any.whl", "has_sig": false, "md5_digest": "5985142120cec03a763d897e4621984e", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 6940, "upload_time": "2015-02-18T23:52:35", "url": "https://files.pythonhosted.org/packages/40/98/165419b88ba45fef65010fa0072f1e39ab4a11e1853427dcbf1add2a6f47/sphinxcontrib_jsdemo-0.1.4-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e3fd7c99902d27ba61f2ae439f714481", "sha256": "3d03b6af0dfed69413039ee8a5e6b62846353e942afb56fecf0fd3b067dc1447" }, "downloads": -1, "filename": "sphinxcontrib-jsdemo-0.1.4.tar.gz", "has_sig": false, "md5_digest": "e3fd7c99902d27ba61f2ae439f714481", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7167, "upload_time": "2015-02-18T23:52:32", "url": "https://files.pythonhosted.org/packages/89/12/2224b833a3b9e0bbb9e47a4ed38dbedf422af2d722a4b8d9d1cbbc17ec32/sphinxcontrib-jsdemo-0.1.4.tar.gz" } ] }