added missing doc for the do tag

This commit is contained in:
Fabien Potencier
2011-12-26 11:21:22 +01:00
parent a9aeea41d2
commit 4b8a0e5e7a
+12
View File
@@ -0,0 +1,12 @@
``do``
======
.. versionadded:: 1.5
The do tag was added in Twig 1.5.
The ``do`` tag works exactly like the regular variable expression (``{{ ...
}}``) just that it doesn't print anything:
.. code-block:: jinja
{% do 1 + 2 %}