From d5ed0302289db2a8b64ebd29ca1081dab364d1ee Mon Sep 17 00:00:00 2001 From: Luke Plant Date: Sat, 8 May 2010 20:31:59 +0000 Subject: [1.1.X] Added hyperlinks for builtin template tags and filters to code samples in docs. Implemented in javascript because doing it 'properly' is pretty much impossible with Sphinx and Pygments. Refs #12249 Backport of [13135] from trunk git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@13137 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- docs/_templates/layout.html | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) (limited to 'docs/_templates') diff --git a/docs/_templates/layout.html b/docs/_templates/layout.html index e0e69520ad..70e029c3ac 100644 --- a/docs/_templates/layout.html +++ b/docs/_templates/layout.html @@ -16,6 +16,43 @@ {%- endif %} {%- endmacro %} +{% block extrahead %} +{{ super() }} + + +{% endblock %} + {% block document %}
-- cgit v1.3