Skip to content

Commit 32c72bd

Browse files
committed
[#7939] revert some changes (revert them for 3.2)
1 parent 8901ad2 commit 32c72bd

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

reference/twig_reference.rst

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -595,18 +595,14 @@ file_excerpt
595595

596596
.. code-block:: twig
597597
598-
{{ file|file_excerpt(line, srcContext = 3) }}
598+
{{ file|file_excerpt(line) }}
599599
600600
``file``
601601
**type**: ``string``
602602
``line``
603603
**type**: ``integer``
604-
``srcContext`` *(optional)*
605-
**type**: ``integer``
606604

607-
Generates an excerpt of a code file around the given ``line`` number. The
608-
``srcContext`` argument defines the total number of lines to display around the
609-
given line number (use ``-1`` to display the whole file).
605+
Generates an excerpt of a code file around the given ``line`` number.
610606

611607
format_file
612608
~~~~~~~~~~~

0 commit comments

Comments
 (0)