Commit Graph

39 Commits

Author SHA1 Message Date
Fabien Potencier 7bf7f54e82 tweaked docs 2011-05-18 08:14:47 +02:00
Fabien Potencier 5fd8f1f2f9 Merge remote branch 'jpb0104/master'
* jpb0104/master:
  Added an example of escaped "at" in a date filter.
2011-05-18 08:05:56 +02:00
Jason Bouffard c0447ec6fe Added an example of escaped "at" in a date filter.
Relates to https://github.com/fabpot/Twig/issues/330
2011-05-17 14:28:44 -07:00
Fabien Potencier 3930ba0f4e added some tests for the use tag 2011-04-29 09:43:23 +02:00
Fabien Potencier 5ea7020aa0 added documentation for traits 2011-04-29 08:27:03 +02:00
Fabien Potencier 3a31463707 added PhpStorm as IDE that supports Twig out of the box 2011-04-22 09:53:49 +02:00
Fabien Potencier 58206d816b fixed typos in the doc 2011-04-14 10:03:43 +02:00
Fabien Potencier 91750f37e9 tweaked doc 2011-04-14 07:42:28 +02:00
Fabien Potencier ef55950c13 fixed typo in doc 2011-04-14 07:39:48 +02:00
Fabien Potencier 385dc39689 Merge remote branch 'markstory/whitespace'
* markstory/whitespace:
  Updating documentation for whitespace trim tags.
  Making trim tags consume all whitespace, both horizontal and vertical.
  Adding additional test suggested by nikic.
  Making a capturing group non capturing, as the group isn't used.
  Moving newline trimming into the regexp used to match end of tags.
  Applying changes suggested by nikic to simplify how end of comments are processed.
  Fixing some whitespace.
  Fixing typo.
  Adding a bit of documentation for whitespace trimming.
  Adding whitespace trimming support to other tag types (comments, variables) Refactoring how whitespace trimming is done, and moving it into a separate option that is combined with other tag types. Adding more tests. Refs #284
  Fixing use of non-existent method name.
  Adding a test case for mixing {%- and %} tags together.
  Adding a test that uses tabs. Added a test for trailing tabs and -%} Refs #284
  Implementing {%- which trims non-newline whitespace preceding it. Refs
2011-04-14 07:22:57 +02:00
Mark Story 485213a22b Updating documentation for whitespace trim tags. 2011-04-13 22:15:32 -04:00
Hugo Hamon 599a508d89 [doc] added the link to the Twig Netbeans plugin. 2011-04-07 00:31:51 +02:00
Mark Story 08959ab5da Fixing typo. 2011-03-31 21:24:00 -04:00
Mark Story 8f158bdda9 Adding a bit of documentation for whitespace trimming. 2011-03-30 21:55:15 -04:00
Fabien Potencier 79ab9babed Merge remote branch 'markstory/ticket-277'
* markstory/ticket-277:
  Updating documentation for blocks, mentioning that block names cannot contain -.  Fixes #277
2011-03-21 19:24:59 +01:00
Anomareh bec8839394 Added a link to the Twig TextMate bundle and fixed a typo. 2011-03-13 09:28:05 +01:00
Mark Story 92b0ec434f Updating documentation for blocks, mentioning that block names cannot contain -. Fixes #277 2011-03-10 22:35:36 -05:00
Fabien Potencier 1ac5075879 updated documentation and added a unit test 2011-02-18 16:25:30 +01:00
Fabien Potencier 80fec2dc88 removed obsolete note from the doc 2011-01-09 07:47:39 +01:00
Fabien Potencier 8837206e4e removed obsolete note in the doc 2011-01-08 14:38:14 +01:00
Fabien Potencier 3cbcc1f47b removed references to old Twig versions in the doc 2010-12-31 15:40:16 +01:00
Fabien Potencier 1f452f0aba added a caution about nested hashes in the docs 2010-12-30 11:40:02 +01:00
nikic 8bdf02ad7d update include doc to use hashes and the current Environment API 2010-12-30 11:26:15 +01:00
Fabien Potencier dee2656c9d changed autoescape first argument from on/off to the standard true/false 2010-12-30 11:20:20 +01:00
Fabien Potencier 98edcd0cb6 replaced {% display foo %} with {{ block('foo') }} 2010-12-30 11:20:20 +01:00
Fabien Potencier a958ada7d3 replaced {% parent %} with {{ parent() }} 2010-12-30 11:20:20 +01:00
Fabien Potencier 6302705a1f removed 'joined by' support for the 'for' tag as a tag should not output something directly 2010-12-30 11:20:19 +01:00
Fabien Potencier b1b173f167 converted the cycle filter to a function 2010-12-20 08:46:29 +01:00
Fabien Potencier 47a73476e0 converted the constant filter to a function 2010-12-20 08:43:27 +01:00
Fabien Potencier 8fe302bb3e converted the range filter to a function 2010-12-20 08:36:03 +01:00
Fabien Potencier 9d77cf2254 added from tag 2010-12-19 19:50:00 +01:00
Fabien Potencier e782d41963 fixed if tag documentation 2010-12-18 13:44:51 +01:00
Fabien Potencier 583718ee1a changed default filter to use the empty test 2010-12-18 12:56:44 +01:00
Fabien Potencier 4fbbad44f1 fixed markup in doc 2010-12-18 11:53:59 +01:00
Fabien Potencier 0d424bff0d added the empty test 2010-12-18 11:53:55 +01:00
nikic dfa0cb91dd some improvements to for tag compiler 2010-12-18 09:04:23 +01:00
Fabien Potencier 9a793744c6 tweaked merge filter 2010-12-16 09:44:10 +01:00
Fabien Potencier 78b104bfc3 added documentation for the merge filter 2010-12-16 09:07:55 +01:00
Fabien Potencier a855b1898a converted documentation to rst 2010-12-15 12:25:16 +01:00