rql #113086 doc build fails [validation pending]

Exception occurred:
File "/usr/lib/python2.7/dist-packages/sphinx/cmdline.py", line 189, in main
app.build(force_all, filenames)
File "/usr/lib/python2.7/dist-packages/sphinx/application.py", line 204, in build
File "/usr/lib/python2.7/dist-packages/sphinx/builders/__init__.py", line 196, in build_update
'out of date' % len(to_build))
File "/usr/lib/python2.7/dist-packages/sphinx/builders/__init__.py", line 252, in build
self.write(docnames, list(updated_docnames), method)
File "/usr/lib/python2.7/dist-packages/sphinx/builders/__init__.py", line 292, in write
self.write_doc(docname, doctree)
File "/usr/lib/python2.7/dist-packages/sphinx/builders/html.py", line 426, in write_doc
self.handle_page(docname, ctx, event_arg=doctree)
File "/usr/lib/python2.7/dist-packages/sphinx/builders/html.py", line 728, in handle_page
output = self.templates.render(templatename, ctx)
File "/usr/lib/python2.7/dist-packages/sphinx/jinja2glue.py", line 128, in render
return self.environment.get_template(template).render(context)
File "/usr/lib/python2.7/dist-packages/jinja2/environment.py", line 894, in render
return self.environment.handle_exception(exc_info, True)
File "/tmp/buildd/rql-0.31.2/doc/.templates/layout.html", line 7, in template
{%- macro relbar %}
TemplateSyntaxError: expected token '(', got 'end of statement block'
The full traceback has been saved in /tmp/sphinx-err-3lnZop.log, if you want to report the issue to the developers.
Please also report this if it was a user error, so that a better error message can be provided next time.
Either send bugs to the mailing list at <http://groups.google.com/group/sphinx-dev/>,
or report them in the tracker at <http://bitbucket.org/birkenfeld/sphinx/issues/>. Thanks!
make[1]: *** [html] Error 1

appeared in<not specified>
done in0.31.4
load left0.000
closed by#49f26305dc3c doc: adjust layout.html template for compatibility with sphinx 0.6