{ "info": { "author": "Tony Narlock", "author_email": "tony@git-pull.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 2 - Pre-Alpha", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Natural Language :: English", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6" ], "description": "|pypi| |docs| |build-status| |coverage| |license|\n\ndjango-docutils, docutils (reStructuredText) support for Django\n\nDocumentation\n-------------\n\nThe full documentation is at https://django-docutils.git-pull.com.\n\nQuickstart\n----------\n\nInstall django-docutils:\n\n.. code-block:: sh\n\n pip install django-docutils\n\nTemplate filter\n---------------\n\nIf you want to use the template filter, add it to your ``INSTALLED_APPS``\nin your settings file:\n\n.. code-block:: python\n\n INSTALLED_APPS = [ # ... your default apps,\n 'django_docutils'\n ]\n\nThen in your template:\n\n.. code-block:: django\n\n {% load django_docutils %}\n {% filter restructuredtext %}\n # hey\n # how's it going\n A. hows\n B. it\n\n C. going\n D. today\n\n **hi**\n *hi*\n {% endfilter %}\n\n\nTemplate engine (class-based view)\n----------------------------------\n\nYou can also use a class-based view to render restructuredtext.\n\nIf you want to use reStructuredText as a django template engine,\n``INSTALLED_APPS`` *isn't* required, instead you add this to your\n``TEMPLATES`` variable in your settings:\n\n.. code-block:: python\n\n TEMPLATES = [ # .. your default engines\n {\n 'NAME': 'docutils',\n 'BACKEND': 'django_docutils.engines.Docutils',\n 'DIRS': [],\n 'APP_DIRS': True,\n }]\n\nNow django will be able to scan for .rst files and process them. In your\nview:\n\n.. code-block:: python\n\n from django_docutils.views import DocutilsView\n\n class HomeView(DocutilsView):\n template_name = 'base.html'\n rst_name = 'home.rst'\n\n.. |pypi| image:: https://img.shields.io/pypi/v/django-docutils.svg\n :alt: Python Package\n :target: http://badge.fury.io/py/django-docutils\n\n.. |build-status| image:: https://img.shields.io/travis/tony/django-docutils.svg\n :alt: Build Status\n :target: https://travis-ci.org/tony/django-docutils\n\n.. |coverage| image:: https://codecov.io/gh/tony/django-docutils/branch/master/graph/badge.svg\n :alt: Code Coverage\n :target: https://codecov.io/gh/tony/django-docutils\n\n.. |license| image:: https://img.shields.io/github/license/tony/django-docutils.svg\n :alt: License \n\n.. |docs| image:: https://readthedocs.org/projects/django-docutils/badge/?version=latest\n :alt: Documentation Status\n :scale: 100%\n :target: https://readthedocs.org/projects/django-docutils/", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "", "keywords": "django,docutils,documentation utilities,reST,reStructuredText,rst", "license": "BSD", "maintainer": "", "maintainer_email": "", "name": "django-docutils", "package_url": "https://pypi.org/project/django-docutils/", "platform": "", "project_url": "https://pypi.org/project/django-docutils/", "project_urls": null, "release_url": "https://pypi.org/project/django-docutils/0.4.0/", "requires_dist": null, "requires_python": "", "summary": "Documentation Utilities (Docutils, reStructuredText) for django.", "version": "0.4.0" }, "last_serial": 2659479, "releases": { "0.2.0": [ { "comment_text": "", "digests": { "md5": "f0c95581a6300835e7b35c24b80cd8d2", "sha256": "047fa2f2791e71ffdbc1a6c433f0b009096e6b7221fdf206dc4b9d2ade8ace6b" }, "downloads": -1, "filename": "django-docutils-0.2.0.tar.gz", "has_sig": false, "md5_digest": "f0c95581a6300835e7b35c24b80cd8d2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7240, "upload_time": "2017-01-01T22:11:33", "url": "https://files.pythonhosted.org/packages/0b/c7/bbe85771ccce560759cc0743674e926fdaca1589700470d71a0e488bc0a5/django-docutils-0.2.0.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "269977eb107a25b397773d0c66314c1c", "sha256": "1dd8c3c896029ab380f56870288925bc3638a9df10e0f75e0b1e0d19c43d8f14" }, "downloads": -1, "filename": "django-docutils-0.3.0.tar.gz", "has_sig": false, "md5_digest": "269977eb107a25b397773d0c66314c1c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7497, "upload_time": "2017-02-12T16:31:21", "url": "https://files.pythonhosted.org/packages/55/fe/0903089fb625acae15ce825e0a9fda84b58440448d5cb2fc2fa33fd0f5fb/django-docutils-0.3.0.tar.gz" } ], "0.3.1": [ { "comment_text": "", "digests": { "md5": "1fe75914f4bedc797e6419ba7269eee7", "sha256": "83a3fa4622313186d019271d43f91f89a0d4fff6ac2493e7d862fda62b8df411" }, "downloads": -1, "filename": "django-docutils-0.3.1.tar.gz", "has_sig": false, "md5_digest": "1fe75914f4bedc797e6419ba7269eee7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7190, "upload_time": "2017-02-12T16:37:00", "url": "https://files.pythonhosted.org/packages/ab/47/cd1117d020d8693ca2f7dc68409992a2685919c8e53859546f8f9f0f0e75/django-docutils-0.3.1.tar.gz" } ], "0.3.2": [ { "comment_text": "", "digests": { "md5": "c79e0615324676226a91d4c41cb934be", "sha256": "85d9aa127312e4d876cc51a4552efc61c0843d8dcf27721d68800268768c8160" }, "downloads": -1, "filename": "django-docutils-0.3.2.tar.gz", "has_sig": false, "md5_digest": "c79e0615324676226a91d4c41cb934be", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7326, "upload_time": "2017-02-12T16:39:14", "url": "https://files.pythonhosted.org/packages/7f/cf/38f1b43bf3bc1cde8d35f49a2ae67f546bae4815b535431709aa1ca4724c/django-docutils-0.3.2.tar.gz" } ], "0.3.3": [ { "comment_text": "", "digests": { "md5": "7d62b5a5b305053db498d0d77ea0b49a", "sha256": "b33bc0d4f2281b17aea60c31359bd634947ad6fe6c8c6bd76dfe40d07edf0562" }, "downloads": -1, "filename": "django-docutils-0.3.3.tar.gz", "has_sig": false, "md5_digest": "7d62b5a5b305053db498d0d77ea0b49a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7471, "upload_time": "2017-02-12T16:41:42", "url": "https://files.pythonhosted.org/packages/16/cb/37ba647505ba5c42808085c95dea0f33c4e42c27b49a8ae8d142969a374d/django-docutils-0.3.3.tar.gz" } ], "0.3.4": [ { "comment_text": "", "digests": { "md5": "f3ad93aadebd81b75e74968a0dda4a0e", "sha256": "222528169be2ddae47a67103d8e0328aa96f098a34d1d270a99888ab6a9bf6ae" }, "downloads": -1, "filename": "django-docutils-0.3.4.tar.gz", "has_sig": false, "md5_digest": "f3ad93aadebd81b75e74968a0dda4a0e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7532, "upload_time": "2017-02-12T17:33:13", "url": "https://files.pythonhosted.org/packages/09/16/35ac63eac174cff693d72092f6610dd64a953329f00daf6690f7b9f1b5e6/django-docutils-0.3.4.tar.gz" } ], "0.4.0": [ { "comment_text": "", "digests": { "md5": "f6f4aed3cece4653bbb9b693fd8d163c", "sha256": "c704830ed49b09d169a4d6c179b7b0674c63752973bc6f4355a049e9b7b586d9" }, "downloads": -1, "filename": "django-docutils-0.4.0.tar.gz", "has_sig": false, "md5_digest": "f6f4aed3cece4653bbb9b693fd8d163c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8503, "upload_time": "2017-02-22T03:50:10", "url": "https://files.pythonhosted.org/packages/54/44/e44bcba852ef6b4f8fe9b68954031bf17a1d2b590038cbe6edde9fa71e5a/django-docutils-0.4.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "f6f4aed3cece4653bbb9b693fd8d163c", "sha256": "c704830ed49b09d169a4d6c179b7b0674c63752973bc6f4355a049e9b7b586d9" }, "downloads": -1, "filename": "django-docutils-0.4.0.tar.gz", "has_sig": false, "md5_digest": "f6f4aed3cece4653bbb9b693fd8d163c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8503, "upload_time": "2017-02-22T03:50:10", "url": "https://files.pythonhosted.org/packages/54/44/e44bcba852ef6b4f8fe9b68954031bf17a1d2b590038cbe6edde9fa71e5a/django-docutils-0.4.0.tar.gz" } ] }