Package: python-sqlkit-doc
Version: 0.9.5-1
User: [email protected]
Usertags: broken-sphinx-search

The search function[0] doesn't work at all. Error console in my Iceweasel shows me this error:

Error: invalid property id
Source File: file:///usr/share/doc/python-sqlkit-doc/html/_static/searchtools.js
Line: 122, Column: 21
Source Code:
    var stopwords = {{ search_language_stop_words }};

It's because sqlkit forces Mako templates, whereas Sphinx uses Jinja2 templates for its own purposes (for generating CSS and, recently, searchtools.js). I seem to recall that SQLAlchemy had a similar problem in the past; you may want to take a look at their builders.py to see how they fixed it.


[0] /usr/share/doc/python-sqlkit-doc/html/search.html

--
Jakub Wilk



--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to