34 Commits

Author SHA1 Message Date
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 c9328ad613 Enhancement: Introduce DOCtor-RST config + Sphinx build + GithubActions 2020-11-05 13:09:07 +01:00
fancyweb 6b25dccf33 Fix versionadded in doc 2020-01-11 12:21:32 +01:00
Fabien Potencier e74a51ecb1 Merge branch '1.x' into 2.x
* 1.x:
  Update doc with new escaping behavior
  Remove obsolete page
  language typo
2019-12-28 08:09:20 +01:00
feldenla 8b8cfb0f4e language typo 2019-12-20 13:13:08 +01:00
Fabien Potencier 97167aab98 Merge branch '1.x' into 2.x
* 1.x:
  tweaked doc markup
  tweaked escape docs
2019-04-25 14:27:37 +02:00
Fabien Potencier fa836ddfea tweaked doc markup 2019-04-25 12:14:46 +02:00
Fabien Potencier f5596be101 Merge branch '1.x' into 2.x
* 1.x:
  updated CHANGELOG
  Call clearstatcache() before calling is_dir().
  bumped version to 1.33
  fixed CHANGELOG
  Make "length" filter and "empty" test consider __toString [Twig 1.x]
2017-03-22 08:12:17 -07:00
Matthias Pigulla f5193e92c5 Make "length" filter and "empty" test consider __toString [Twig 1.x] 2017-03-22 07:33:03 -07:00
Fabien Potencier 7187f2cf51 Merge branch '1.x'
* 1.x:
  fixed error message
  Improved the error message when a child template defines contents outside parent blocks
  adding missing dots to some exception messages
  fixed exception message that might end with a ?
  added a missing deprecation notice
  removed obsolete comment
  bumped version to 1.25.1-DEV
  prepared the 1.25.0 release
  fixed docs
  Expanded definition of empty
2016-09-24 12:03:36 -07:00
Fabien Potencier bba5e1a1b3 removed obsolete comment 2016-09-22 08:15:13 -07:00
Fabien Potencier 349b0885cd fixed docs 2016-09-21 13:27:56 -07:00
Nathan Perry 9c6b8cb3e4 Expanded definition of empty 2016-09-21 13:27:28 -07:00
violuke d2d7ec817b Update empty.rst
Correcting English.
2015-05-11 10:01:11 +01:00
Fabien Potencier 72cc7d8081 removed obsolete docs 2015-03-02 18:32:57 +01:00
Fabien Potencier bb30b98706 udpated the docs for 2.0 2015-03-02 17:40:20 +01:00
Adam Elsodaney e4b7db1705 Improve the description of the 'same as' test
This description of the 'same as' test is based on the description in the docblock for Twig_Node_Expression_Test_Sameas. It reads better than the one currently used in the docs.
2014-05-20 15:02:48 +01:00
Philipp Rieber a21df952ab [Docs] Some minor fixes: Typos, Notations 2013-11-23 21:51:26 +01:00
Fabien Potencier 52c952c1a6 allowed tests to be made of 1 or 2 words 2013-10-27 19:31:19 +01:00
Fabien Potencier 6939565867 added support for object instances as the second argument of the constant test (closes #1100) 2013-05-23 18:28:53 +02:00
Fabien Potencier 15336c154c ordered tags, filters, functions, and tests in doc indexes 2013-02-21 07:47:52 +01:00
Albert Casademont ee87848751 Little typo 2012-07-19 14:03:26 +03:00
Albert Casademont c31dd7bccb The empty test now also checks for empty arrays 2012-07-19 14:00:01 +03:00
Fabien Potencier 07a953e016 tweaked the iterable example in the docs 2012-04-21 15:46:26 +02:00
Fabien Potencier fa0b0985c3 tweaked the iterable example in the docs 2012-04-21 07:33:50 +02:00
Fabien Potencier efcd8c5f25 fixed doc 2012-04-20 20:14:01 +02:00
Fabien Potencier b20a74868b removed the array test and rename the traversable test to iterable 2012-04-20 20:12:41 +02:00
Jordi Boggiano d78ed667ad Add traversable test 2012-04-13 13:05:17 +02:00
Jordi Boggiano 5fd2f98720 Add docs 2012-04-13 12:58:41 +02:00
Fabien Potencier 88dd4ac579 added notes in the doc about how the defined test and the default filter work 2011-10-30 14:47:32 +01:00
Fabien Potencier b3f472e479 renamed none to null in doc 2011-10-29 14:56:00 +02:00
Fabien Potencier 8d00b42e56 changed the documentation to advertize null as begin the null value and none as an alias 2011-10-29 14:53:37 +02:00
Fabien Potencier b318494cfe added more unit tests for defined and default 2011-10-27 18:35:23 +02:00
Fabien Potencier b096e21daa refactored documentation 2011-09-27 08:43:35 +02:00