Package: python-django
Severity: wishlist

It would be nice to include HTML documentation locally.

Steps to reproduce:
1. Look for local HTML documentation

Expected behavior:
HTML documentation found somewhere under /usr/share/doc/

Buggy behavior:
TXT documentation was found, but ReST is not as hypermedia as HTML.

I included a (rough) debdiff against python-django_1.0~beta1-1 (in
experimental) that works for me.

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.25-2-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
diff -u python-django-1.0~beta1/debian/docs python-django-1.0~beta1/debian/docs
--- python-django-1.0~beta1/debian/docs
+++ python-django-1.0~beta1/debian/docs
@@ -3,0 +4 @@
+docs/_build/html/
diff -u python-django-1.0~beta1/debian/changelog python-django-1.0~beta1/debian/changelog
--- python-django-1.0~beta1/debian/changelog
+++ python-django-1.0~beta1/debian/changelog
@@ -1,3 +1,9 @@
+python-django (1.0~beta1-2) experimental; urgency=low
+
+  * docs
+
+ -- Eddy Mulyono <[EMAIL PROTECTED]>  Mon, 18 Aug 2008 18:24:25 -0700
+
 python-django (1.0~beta1-1) experimental; urgency=low
 
   [ David Spreen ]
diff -u python-django-1.0~beta1/debian/control python-django-1.0~beta1/debian/control
--- python-django-1.0~beta1/debian/control
+++ python-django-1.0~beta1/debian/control
@@ -4,7 +4,7 @@
 Maintainer: Brett Parker <[EMAIL PROTECTED]>
 Uploaders: Raphael Hertzog <[EMAIL PROTECTED]>, Gustavo Noronha Silva <[EMAIL PROTECTED]>, David Spreen <[EMAIL PROTECTED]>, Debian Python Modules Team <[EMAIL PROTECTED]>
 Standards-Version: 3.7.3
-Build-Depends: debhelper (>= 5.0.37.2), python-dev, cdbs (>= 0.4.42), python-setuptools (>= 0.6b3), python-support (>= 0.3)
+Build-Depends: debhelper (>= 5.0.37.2), python-dev, cdbs (>= 0.4.42), python-setuptools (>= 0.6b3), python-support (>= 0.3), python-sphinx
 Homepage: http://www.djangoproject.com/
 Vcs-Svn: svn://svn.debian.org/python-modules/packages/python-django/trunk/
 Vcs-Browser: http://svn.debian.org/wsvn/python-modules/packages/python-django/trunk/?op=log
diff -u python-django-1.0~beta1/debian/rules python-django-1.0~beta1/debian/rules
--- python-django-1.0~beta1/debian/rules
+++ python-django-1.0~beta1/debian/rules
@@ -7,6 +7,11 @@
 include /usr/share/cdbs/1/class/python-distutils.mk
 include /usr/share/cdbs/1/rules/simple-patchsys.mk
 
+build/python-django::
+	# build docs
+	make -C docs/ html
+	rm -rf docs/_build/html/_sources/
+
 binary-post-install/python-django::
 	# Use default python shebang
 	perl -pi -e 's|^#!/usr/bin/env python.*$$|#!/usr/bin/python|' debian/python-django/usr/share/python-support/python-django/django/conf/project_template/manage.py

Reply via email to