Commit 92c56495 authored by Michael Fladischer's avatar Michael Fladischer

Move documentation to a separate package.

parent 85899233
......@@ -23,8 +23,8 @@ Package: python-django-crispy-forms
Architecture: all
Depends: python-django,
${misc:Depends},
${python:Depends},
${sphinxdoc:Depends}
${python:Depends}
Suggests: python-django-crispy-forms-doc
Description: app for Django providing elegant form rendering
django-crispy-forms provides you with a |crispy filter and {% crispy %} tag
that will let you control the rendering behavior of your Django forms in a
......@@ -42,8 +42,8 @@ Package: python3-django-crispy-forms
Architecture: all
Depends: python3-django,
${misc:Depends},
${python3:Depends},
${sphinxdoc:Depends}
${python3:Depends}
Suggests: python-django-crispy-forms-doc
Description: app for Django providing elegant form rendering (Python3 version)
django-crispy-forms provides you with a |crispy filter and {% crispy %} tag
that will let you control the rendering behavior of your Django forms in a
......@@ -58,3 +58,23 @@ Description: app for Django providing elegant form rendering (Python3 version)
setting variable.
.
This package contains the Python 3 version of the library.
Package: python-django-crispy-forms-doc
Architecture: all
Section: doc
Depends: ${misc:Depends},
${sphinxdoc:Depends}
Description: app for Django providing elegant form rendering (Documentation)
django-crispy-forms provides you with a |crispy filter and {% crispy %} tag
that will let you control the rendering behavior of your Django forms in a
very elegant and DRY way. Have full control without writing custom form
templates. All this without breaking the standard way of doing things in
Django, so it plays nice with any other form application.
.
Django-crispy-forms supports several frontend frameworks, such as Twitter
Bootstrap (versions 2 and 3), Uni-form and Foundation. You can also easily
adapt your custom company's one, creating your own, see the docs for more
information. You can easily switch among them using CRISPY_TEMPLATE_PACK
setting variable.
.
This package contains the documentation.
Document: django-crispy-forms
Document: python-django-crispy-forms-doc
Title: Django Crispy Forms Documentation
Abstract: This is the documentation of Django Crispy Forms, a Django app
providing elegant form rendering.
Section: Programming/Python
Format: HTML
Index: /usr/share/doc/python-django-crispy-forms/html/index.html
Files: /usr/share/doc/python-django-crispy-forms/html/*.html
Index: /usr/share/doc/python-django-crispy-forms-doc/html/index.html
Files: /usr/share/doc/python-django-crispy-forms-doc/html/*.html
......@@ -8,11 +8,11 @@ export PYBUILD_NAME=django-crispy-forms
export PYBUILD_DISABLE=test
override_dh_auto_clean:
rm -rf docs/_build *.egg-info/
rm -rf docs/.build
dh_auto_clean
override_dh_auto_build:
cd docs && $(MAKE) html
PYTHONPATH=. sphinx-build -b html -d docs/.build/.doctrees -N docs docs/.build/html
dh_auto_build
override_dh_install_changelogs:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment