﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
14950	Javascript errors when building CHM file from django docs using Sphinx	Aryeh Leib Taurog <vim@…>	nobody	"Sphinx 1.0.3[[BR]]
Python 2.5.2[[BR]]
Django 1.2.3 and 1.2.4

I tried generating a chm of the django documentation, but when I opened it, I got a js error 'jQuery' is undefined.
I can see that the only script referenced in the html is templatebuiltins.js, (it seems that is generated by a django extension which isn't used for htmlhelp).

I tried changing the link in the html files to point to a js bundle with the contents of the following files (in order):
{{{
_static/jquery.js
_static/underscore.js
_static/doctools.js
_static/searchtools.js
}}}
I also threw in a declaration of `django_template_builtins`, but I'm still getting other errors.  My guess is that most of the javascript isn't really necessary in the chm, which is very easy to navigate and search as is.

Ultimately, I just removed all the script tags from the html files and recompiled the chm.

I think it would be nice to be able to generate an error-free chm without so much effort."	Bug	closed	Documentation	1.2	Normal	duplicate	chm javascript	vim@…	Accepted	0	0	0	0	0	0
