Commit Graph

500 Commits

Author SHA1 Message Date
Fabien Potencier 49bd3a39bd fixed typo 2011-11-21 09:41:49 +01:00
Fabien Potencier fc6819cec2 added support for twig C extension 2011-11-21 09:36:32 +01:00
Fabien Potencier c3eceb4826 adding more structure to the for doc 2011-11-20 10:26:23 +01:00
Fabien Potencier f0e751aed9 added a note about using the loop variable in a for condition 2011-11-20 10:21:02 +01:00
Fabien Potencier 65f09ac724 fixed typo 2011-11-10 12:53:56 +01:00
Christian Raue 98a859b424 fixed link name for extends tag 2011-11-07 22:04:12 +01:00
Fabien Potencier 24eea1615a fixed operator precedences in the doc 2011-11-07 14:46:38 +01:00
Fabien Potencier ace74cc6a0 fixed a typo in the doc 2011-11-05 08:07:20 +01:00
Benoît Merlet 36020a95c0 typo 2011-11-05 00:48:00 +01: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 dc15afabb8 merged branch nikic/updateExtensionDocs (PR #488)
Commits
-------

2ebc788 Update extension docs and interface

Discussion
----------

Update extension docs and interface

Followup to #484: Twig isn't using globals for functions anymore.
2011-10-29 14:38:23 +02:00
nikic 2ebc788abc Update extension docs and interface
Twig isn't using globals for functions anymore.
2011-10-29 14:05:14 +02:00
Fabien Potencier 2bd27cf661 fixed typo in doc 2011-10-28 17:23:01 +02:00
Fabien Potencier b318494cfe added more unit tests for defined and default 2011-10-27 18:35:23 +02:00
Fabien Potencier 96e72e408a fixed example in doc (closes #484) 2011-10-25 17:37:58 +02:00
Fabien Potencier 22ef32e5eb added some references to the doc 2011-10-25 16:33:42 +02:00
Fabien Potencier fc016bd281 Revert "added a tip for the block tag"
This reverts commit 1a2175fc49.
2011-10-25 14:14:55 +02:00
Fabien Potencier 1a2175fc49 added a tip for the block tag 2011-10-25 14:11:52 +02:00
Eugene Wolfson cf03a65e8b add another example
add another example to constant.rst
2011-10-22 09:27:23 -04:00
Fabien Potencier d3178d3406 fixed doc 2011-10-16 11:15:40 +02:00
Fabien Potencier c015e8184a added a convert_encoding filter 2011-10-16 11:12:06 +02:00
Fabien Potencier 3377d569da fixed download page in the docs 2011-10-14 11:46:15 +02:00
Benoît Merlet 0451cfdd16 typo 2011-10-12 15:45:28 +03:00
Fabien Potencier b096e21daa refactored documentation 2011-09-27 08:43:35 +02:00
Fabien Potencier d65366e772 simplified intro and added a not about the render() method in docs 2011-09-26 11:19:36 +02:00
Fabien Potencier d02d07d5ec fixed makup in doc 2011-09-26 10:32:52 +02:00
Fabien Potencier 620da47e7f tweaked docs 2011-09-23 07:36:42 +02:00
Fabien Potencier 256f57e55f tweaked previous merge 2011-09-22 22:08:10 +02:00
Fabien Potencier 0408f0afaf merged branch runfalk/master (PR #368)
Commits
-------

eb5c9fb Recipe code formatting fix. New recipe for improved APC bytecode support

Discussion
----------

APC recipe

A new recipe to support cache invalidation when using *APC* with *apc.stat* = 0 and compiled code caching turned on. One sometimes want to test things without restarting apache. This recipe overrides *writeCacheFile* in *Twig_Environment* and calls *apc_compile_file to refresh cache.
2011-09-22 22:04:27 +02:00
Fabien Potencier d101a05976 added traits support for the parent function 2011-09-22 14:06:20 +02:00
Fabien Potencier 543d18b27d fixed markup in the doc 2011-08-28 09:12:46 +02:00
Fabien Potencier 4402ee2c1d added support for an array of templates to the "extends" tag 2011-08-27 20:34:02 +02:00
Fabien Potencier c56dd32f57 added a way to ignore a missing template when using the "include" tag 2011-08-27 14:02:05 +02:00
Fabien Potencier 35a8a0d155 added support for an array of templates to the include tag 2011-08-27 13:58:36 +02:00
Fabien Potencier c609060f94 added the "attribute" function to allow getting dynamic attributes on variables 2011-08-27 09:46:06 +02:00
Alvaro Videla 0ef1cb0c85 Edited doc/templates.rst via GitHub 2011-08-16 16:27:40 +03:00
Fabien Potencier 46eccb9ab5 added documentation for previous merge 2011-08-06 08:44:04 +02:00
Fabien Potencier e6dde1d6df added GtkSourceView support in doc 2011-08-06 08:16:57 +02:00
Igor Wiedler 0580f192ca fix highlighting of snippet in recipes doc 2011-07-31 02:25:43 +02:00
Mark Story eaa899576c Grammatical fix. 2011-06-27 07:28:17 -04:00
Mark Story c178c2818e Making docs more explict as to what kind of object can be
used with Twig_Function_Method.
Fixes #308
2011-06-26 17:31:56 -04:00
Fabien Potencier 8a5f6bf63b added doc and fixed CS for previous merge 2011-06-24 10:41:55 +02:00
Fabien Potencier d03edac8ae added Sublime Text support in the doc 2011-06-24 10:37:02 +02:00
Fabien Potencier 46a8d8d124 reworded the section on IDEs and added an Eclipse plugin 2011-06-24 10:24:14 +02:00
Andreas Runfalk eb5c9fbcc7 Recipe code formatting fix. New recipe for improved APC bytecode support 2011-06-22 11:03:56 +02:00
Fabien Potencier 47818dd2a1 added an exception when the template passed to "use" is not a string 2011-06-16 09:57:17 +02:00
Brikou CARRE d90b2f7112 fixed constructor + cosmetic 2011-05-20 05:25:21 -07:00
Fabien Potencier 7bf7f54e82 tweaked docs 2011-05-18 08:14:47 +02:00