]> git.ipfire.org Git - thirdparty/jinja.git/commitdiff
Use proper `versionadded` annotation in docs
authorAdrian Moennich <adrian@planetcoding.net>
Sun, 26 Feb 2017 17:01:59 +0000 (18:01 +0100)
committerAdrian Moennich <adrian@planetcoding.net>
Sun, 26 Feb 2017 17:01:59 +0000 (18:01 +0100)
docs/templates.rst

index 236590f27621a155fe99a25635404c48b44df415..e9e363911f0176735eeb021e571077692d2675a8 100644 (file)
@@ -1345,7 +1345,7 @@ The following functions are available in the global scope by default:
 
         Returns the current item.
 
-    **new in Jinja 2.1**
+    .. versionadded:: 2.1
 
 .. class:: joiner(sep=', ')
 
@@ -1365,7 +1365,7 @@ The following functions are available in the global scope by default:
             <a href="?action=edit">Edit</a>
         {% endif %}
 
-    **new in Jinja 2.1**
+    .. versionadded:: 2.1
 
 
 Extensions