{ "info": { "author": "Hartmut Goebel", "author_email": "h.goebel@crazy-compilers.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Console", "Intended Audience :: Developers", "Intended Audience :: System Administrators", "License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python :: 2 :: Only", "Topic :: Software Development :: Documentation" ], "description": "==========================\njinja2rst\n==========================\n--------------------------------------------------------------------------\nA Simple Tool and Python-Module for Documenting Jinja2 Template-Files\n--------------------------------------------------------------------------\n\n:Author: Hartmut Goebel \n:Copyright: 2015 by Hartmut Goebel\n:Licence: GNU General Public Licence v3 or later (GPLv3+)\n\n\nThis tool allows you writing documentation directly into jinja2\ntemplate-files as comments. These comments will then be converted to\ntext and the template-code goes into literal blocks.\n\nThis is some kind of `literate programming`, except that you do not\nwrite code into your text, but text into your code. This difference\nallows to use the template-file directly without any pre-processing.\n\n\nUsage::\n\n jinja2rst [-h] infile outfile\n\n positional arguments:\n infile jinja2-template-file to read (`-` for stdin)\n outfile rst-file to write (`-` for stdout)\n\n optional arguments:\n -h, --help show this help message and exit\n\n\nHow it works\n----------------\n\nThis script takes all lines beginning with :literal:`#\\ ` (and lines\nconsisting of only a ``#``) as text-lines. Everything else will be\ntreated as \"code\". The text-lines will get the :literal:`#\\ ` removed\nand the \"code\" will get spaces prepended.\n\nAdditionally at the start and at the end of a \"code\"-block, lines are\nadded as required by reStructuredText. Also at the begin of a\n\"code\"-block, a ``::`` is added if required.\n\n\nExamples\n-------------\n\nYou can find example jinja2-input, rst-output and generated html in the\nexamples directory. You may also view the generated html online at\nhttps://rawgit.com/htgoebel/jinja2rst/develop/examples/main.html.\n\n..\n Local Variables:\n mode: rst\n ispell-local-dictionary: \"american\"\n End:", "description_content_type": null, "docs_url": null, "download_url": "https://github.com/htgoebel/jinja2rst/releases", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/htgoebel/jinja2rst", "keywords": "jinja2,rst,reStructuresText,literate programming", "license": "GPLv3+", "maintainer": null, "maintainer_email": null, "name": "jinja2rst", "package_url": "https://pypi.org/project/jinja2rst/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/jinja2rst/", "project_urls": { "Download": "https://github.com/htgoebel/jinja2rst/releases", "Homepage": "https://github.com/htgoebel/jinja2rst" }, "release_url": "https://pypi.org/project/jinja2rst/0.1/", "requires_dist": null, "requires_python": null, "summary": "A Simple Tool for Documenting Jinja2 Template-Files", "version": "0.1" }, "last_serial": 1573643, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "cdac83535d59b2d8bc5f6194c8e29148", "sha256": "f3e2927c1816aa7099c14dbc6aae97a5bcdc49649c30e0223b8b8ee1d8b67983" }, "downloads": -1, "filename": "jinja2rst-0.1.tar.gz", "has_sig": false, "md5_digest": "cdac83535d59b2d8bc5f6194c8e29148", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 20995, "upload_time": "2015-06-01T17:20:18", "url": "https://files.pythonhosted.org/packages/93/10/e7790e6a28cd8d81fc2341ca37066791a9e7c84cfd0330c238da0b468c5d/jinja2rst-0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "cdac83535d59b2d8bc5f6194c8e29148", "sha256": "f3e2927c1816aa7099c14dbc6aae97a5bcdc49649c30e0223b8b8ee1d8b67983" }, "downloads": -1, "filename": "jinja2rst-0.1.tar.gz", "has_sig": false, "md5_digest": "cdac83535d59b2d8bc5f6194c8e29148", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 20995, "upload_time": "2015-06-01T17:20:18", "url": "https://files.pythonhosted.org/packages/93/10/e7790e6a28cd8d81fc2341ca37066791a9e7c84cfd0330c238da0b468c5d/jinja2rst-0.1.tar.gz" } ] }