summaryrefslogtreecommitdiff
path: root/docs/templates.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/templates.rst')
-rw-r--r--docs/templates.rst13
1 files changed, 11 insertions, 2 deletions
diff --git a/docs/templates.rst b/docs/templates.rst
index 00d998e..0762e4d 100644
--- a/docs/templates.rst
+++ b/docs/templates.rst
@@ -1,8 +1,9 @@
+.. py:currentmodule:: jinja2
+.. highlight:: html+jinja
+
Template Designer Documentation
===============================
-.. highlight:: html+jinja
-
This document describes the syntax and semantics of the template engine and
will be most useful as reference to those creating Jinja templates. As the
template engine is very flexible, the configuration from the application can
@@ -1484,6 +1485,8 @@ is a bit contrived in the context of rendering a template):
List of Builtin Filters
-----------------------
+.. py:currentmodule:: jinja-filters
+
.. jinja:filters:: jinja2.defaults.DEFAULT_FILTERS
@@ -1492,6 +1495,8 @@ List of Builtin Filters
List of Builtin Tests
---------------------
+.. py:currentmodule:: jinja-tests
+
.. jinja:tests:: jinja2.defaults.DEFAULT_TESTS
@@ -1502,6 +1507,8 @@ List of Global Functions
The following functions are available in the global scope by default:
+.. py:currentmodule:: jinja-globals
+
.. function:: range([start,] stop[, step])
Return a list containing an arithmetic progression of integers.
@@ -1625,6 +1632,8 @@ The following functions are available in the global scope by default:
Extensions
----------
+.. py:currentmodule:: jinja2
+
The following sections cover the built-in Jinja extensions that may be
enabled by an application. An application could also provide further
extensions not covered by this documentation; in which case there should