Javier Eguiluz
e23852c8c6
[Doc] Update the Twig version where spaceless filter was added
2021-02-22 12:47:30 +01:00
Fabien Potencier
5a60e72afa
Merge branch '1.x' into 2.x
...
* 1.x:
Add some return types
remove the C extension
Fix length filter doc
2021-02-02 16:25:09 +01:00
Émile Perron
0fd67941be
Add slug filter (follow-up to PR #3386 )
2021-01-29 15:39:04 +01:00
Vincent Langlet
473f73ef2e
Fix length filter doc
2021-01-15 12:57:47 +01:00
Fabien Potencier
1a0162a612
Merge branch '1.x' into 2.x
...
* 1.x:
Adding link to the SymfonyCasts Twig tutorial
2021-01-14 08:57:35 +01:00
Ryan Weaver
500a7da999
Adding link to the SymfonyCasts Twig tutorial
2021-01-13 13:07:49 -05:00
Fabien Potencier
39991a167c
Remove some PHP in docs
2020-12-30 09:23:51 +01:00
Fabien Potencier
c5379903e5
Merge branch '1.x' into 2.x
...
* 1.x:
Fix typo
Typo
2020-11-27 14:05:37 +01:00
Fabien Potencier
2f0947e1af
Fix typo
2020-11-27 14:05:10 +01:00
Olaf van der Spek
43f382ba1b
Typo
2020-11-27 14:04:41 +01:00
tkm
752bcc7be6
Fix include documentation - change filter tag to apply
2020-11-09 15:08:48 +02:00
Oskar Stark
965ba57d76
Fix: Add missing versionadded directive
...
mentioned by @stof in https://github.com/twigphp/Twig/pull/3434/files/5ceda707edeabd9e1462c43f199aa61606a29ff9#diff-cb39a2af448a7ea26e78809ebffa995c051f742afdb1f6d3e68ab85b09b801b8
2020-11-05 20:10:12 +01:00
Fabien Potencier
4afea9870d
Merge branch '1.x' into 2.x
...
* 1.x:
Enhancement: Use no_explicit_use_of_code_block_php rule
2020-11-05 18:30:36 +01:00
Fabien Potencier
311e8ce4ac
minor #3432 Enhancement: Use no_explicit_use_of_code_block_php rule (OskarStark)
...
This PR was merged into the 1.x branch.
Discussion
----------
Enhancement: Use no_explicit_use_of_code_block_php rule
Commits
-------
87eb1396 Enhancement: Use no_explicit_use_of_code_block_php rule
2020-11-05 18:27:08 +01:00
Fabien Potencier
5c5d23d229
minor #3435 Fix small typo in docs (apfelbox)
...
This PR was merged into the 2.x branch.
Discussion
----------
Fix small typo in docs
Commits
-------
7139e71c Fix small typo
2020-11-05 18:26:36 +01:00
Jannik
7139e71c99
Fix small typo
2020-11-05 14:29:41 +01:00
Oskar Stark
814aa6c6b0
Fix: Typo
2020-11-05 14:19:53 +01:00
Oskar Stark
5ceda707ed
Fix: DOCtor-RST build
2020-11-05 13:57:55 +01:00
Oskar Stark
87eb1396ba
Enhancement: Use no_explicit_use_of_code_block_php rule
2020-11-05 13:36:29 +01:00
Fabien Potencier
7a6f3eb534
Merge branch '1.x' into 2.x
...
* 1.x:
Fix: Highlighting
2020-11-05 13:36:28 +01:00
Fabien Potencier
c2a264a91d
Merge branch '1.x' into 2.x
...
* 1.x:
Enhancement: Introduce DOCtor-RST config + Sphinx build + GithubActions
Enhancement: Use GithubActions instead of Travis for tests
Fix `odd` not working for negative numbers
Bump version to 1.44.2-DEV
Prepare the 1.44.1 release
2020-11-05 13:31:01 +01:00
Oskar Stark
0df7ddcf4f
Fix: Highlighting
2020-11-05 13:18:52 +01:00
Fabien Potencier
960e3e1fa3
minor #3430 Enhancement: Introduce DOCtor-RST config + Sphinx build + GithubActions (OskarStark)
...
This PR was squashed before being merged into the 1.x branch.
Discussion
----------
Enhancement: Introduce DOCtor-RST config + Sphinx build + GithubActions
Commits
-------
c9328ad6 Enhancement: Introduce DOCtor-RST config + Sphinx build + GithubActions
2020-11-05 13:09:12 +01:00
Oskar Stark
c9328ad613
Enhancement: Introduce DOCtor-RST config + Sphinx build + GithubActions
2020-11-05 13:09:07 +01:00
Harry Bournis
53a3ccd2d2
Fix odd not working for negative numbers
2020-11-05 11:55:45 +01:00
Thomas Landauer
51366923cc
Update format_time.rst
...
Adding link to format_datetime - same as https://github.com/twigphp/Twig/pull/3414
2020-10-27 14:26:10 +01:00
Thomas Landauer
ce747dc4c6
Update format_date.rst
...
Adding link to `format_datetime` - I hope the link syntax is correct :-)
2020-10-27 13:59:07 +01:00
Fabien Potencier
53650c55c1
Merge branch '1.x' into 2.x
...
* 1.x:
Fix PHP 8 support
2020-10-21 14:27:01 +02:00
Fabien Potencier
b1c9faa33e
Fix PHP 8 support
2020-10-21 14:08:16 +02:00
Fabien Potencier
2ffab581fe
Merge branch '1.x' into 2.x
...
* 1.x:
Fix PHP 8 support
2020-10-21 13:43:35 +02:00
Fabien Potencier
d46aeb0724
Fix PHP 8 support
2020-10-21 13:43:26 +02:00
Fabien Potencier
dbc45e2421
Merge branch '1.x' into 2.x
...
* 1.x:
Drop support for PHP 7.1
Update CHANGELOG
Emphase the fact that the include tag outputs data
Update ChANGELOG
2020-10-21 12:24:53 +02:00
Fabien Potencier
83d8e43136
Drop support for PHP 7.1
2020-10-21 12:11:02 +02:00
Fabien Potencier
fa2f1ccdb4
Tweak docs
2020-10-14 08:37:57 +02:00
cavemon
cc017decd1
Improving truncate documentation
...
Adding description and example of third parameter for `truncate` method to preserve whole words. This seems like a common use case and extremely useful addition that should be documented.
2020-10-14 08:37:11 +02:00
Fabien Potencier
af6f99f7f6
Tweak docs
2020-10-14 08:35:38 +02:00
Simon Rolland
90a2278d60
[doc] Quick access to ICU user guide
2020-10-14 08:34:35 +02:00
nstCactus
ef6debec55
Emphase the fact that the include tag outputs data
2020-10-07 10:01:43 +02:00
Oskar Stark
4584576c87
Add another paragraph about mentioning another needed library
2020-09-25 18:21:32 +02:00
Fabien Potencier
4d47f96470
Merge branch '1.x' into 2.x
...
* 1.x:
Backport #3397
Update block.rst
2020-09-14 15:18:06 +02:00
Laurent VOULLEMIER
6b9bc9a049
Update block.rst
2020-09-03 16:49:52 +02:00
Fabien Potencier
77dcff7186
Merge branch '1.x' into 2.x
...
* 1.x:
Bump version
Tweak docs
Update CHANGELOG
Support object init from variable
2020-08-23 14:01:18 +02:00
Fabien Potencier
244ef52df6
Tweak docs
2020-08-23 13:58:27 +02:00
Jérôme TAMARELLE
133edb3696
Support object init from variable
...
{a} is a shortcut for {a:a}
From ECMAScript 2015 syntax https://developer.mozilla.org/docs/Web/JavaScript/Reference/Operators/Object_initializer
2020-08-23 13:54:49 +02:00
Fabien Potencier
bf3cc60121
Fix typo
2020-07-29 08:07:51 +02:00
Jérôme Tamarelle
be291441ea
Update doc for macro with embed tags
2020-07-29 02:33:15 +02:00
Fabien Potencier
5e1c4a63be
Fix CS
2020-07-05 15:27:01 +02:00
Thomas Landauer
4b8e1891bd
Update html_to_markdown.rst
2020-07-05 15:26:05 +02:00
Fabien Potencier
f32950c872
Add version in the docs for search engine
2020-06-22 17:25:21 +02:00
Fabien Potencier
054e4c9e3d
Merge branch '1.x' into 2.x
...
* 1.x:
Add version in the docs to be more search engine friendly
2020-06-22 17:25:11 +02:00