Skip to content

Commit 6b25dcc

Browse files
committed
Fix versionadded in doc
1 parent 54be566 commit 6b25dcc

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

doc/functions/block.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
``block``
22
=========
33

4-
.. versionadded: 1.28
4+
.. versionadded:: 1.28
55
Using ``block`` with the ``defined`` test was added in Twig 1.28.
66

7-
.. versionadded: 1.28
7+
.. versionadded:: 1.28
88
Support for the template argument was added in Twig 1.28.
99

1010
When a template uses inheritance and if you want to print a block multiple

doc/functions/constant.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
``constant``
22
============
33

4-
.. versionadded: 1.12.1
4+
.. versionadded:: 1.12.1
55
constant now accepts object instances as the second argument.
66

7-
.. versionadded: 1.28
7+
.. versionadded:: 1.28
88
Using ``constant`` with the ``defined`` test was added in Twig 1.28.
99

1010
``constant`` returns the constant value for a given string:

doc/tests/constant.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
``constant``
22
============
33

4-
.. versionadded: 1.13.1
4+
.. versionadded:: 1.13.1
55
constant now accepts object instances as the second argument.
66

77
``constant`` checks if a variable has the exact same value as a constant. You

0 commit comments

Comments
 (0)