Commit Graph

42 Commits

Author SHA1 Message Date
Fabien Schurter 882f44b0d3 Correct base template name
The base template name used in $loader1 and $loader2 is actually
"base.html", not "base.twig".
2014-10-16 09:32:46 +02:00
Fabien Potencier d12f7afbbe made it clear that Twig_Loader_String must not be used by end users 2014-10-11 22:30:59 +02:00
Philipp Rieber a21df952ab [Docs] Some minor fixes: Typos, Notations 2013-11-23 21:51:26 +01:00
Fabien Potencier fd9643071c fixed doc markup (closes #1106) 2013-05-27 08:04:18 +02:00
Bilal Amarni 12a5d026ed [doc] switched a BC call 2013-05-13 13:14:39 +02:00
Fabien Potencier 81af6a1fd1 removed list of built-in items in the docs in favor of a link (easier to maintain and better for discoverability) 2013-01-31 11:19:12 +01:00
Javier Eguiluz aac6cb613c Fixes and minor additions to the docs. 2013-01-31 09:30:58 +01:00
Fabien Potencier cd4ab0fde6 renamed the raw tag to verbatim to avoid confusion with the raw filter 2013-01-05 08:57:34 +01:00
Fabien Potencier 0a7b37b8cc changed the way extension filters/tests/functions/node visitors/globals/token parsers are registered (they were loaded as late as possible, they are now loaded as early as possible) 2012-11-18 10:39:05 +01:00
Fabien Potencier 1881045806 added a note about double-escaping when using a variable for the strategy (closes #868) 2012-10-30 10:27:26 +01:00
Fabien Potencier d59642c949 added missing documentation about Twig_Loader_Chain 2012-10-28 15:19:48 +01:00
Fabien Potencier 244eaf53b3 updated the docs for the new Twig_ExistsLoaderInterface interface 2012-10-19 14:36:16 +02:00
Fabien Potencier 82334f876f merged branch Adel-E/update-api-docs (PR #858)
This PR was merged into the master branch.

Commits
-------

bee4cd1 Update doc to correspond to the following: http://twig.sensiolabs.org/documentation http://twig.sensiolabs.org/doc/filters/escape.html

Discussion
----------

Update api docs

Update doc to correspond to the following:
http://twig.sensiolabs.org/documentation
http://twig.sensiolabs.org/doc/filters/escape.html
2012-10-13 21:01:24 +02:00
eadel bee4cd12db Update doc to correspond to the following:
http://twig.sensiolabs.org/documentation
http://twig.sensiolabs.org/doc/filters/escape.html
2012-10-12 21:51:42 +00:00
Fabien Potencier c38e06ff41 added missing information in the doc 2012-09-16 16:38:44 +02:00
Fabien Potencier 942607245c tweaked documentation 2012-07-22 13:52:31 +02:00
Fabien Potencier c34541dfb3 changed notation of namespaced templates to @namespace/template_path 2012-07-22 13:52:31 +02:00
Fabien Potencier 0eb4d01d92 added namespaced templates support in Twig_Loader_Filesystem 2012-07-22 13:52:31 +02:00
Fabien Potencier c24ea1bcc1 added Twig_Loader_Filesystem::prependPath() 2012-07-22 13:52:09 +02:00
Fabien Potencier 17e2c36a58 refactored the loader documentation 2012-07-14 16:10:03 +02:00
Fabien Potencier e862905708 clarified usage of the string and array loaders 2012-07-13 08:31:08 +02:00
Fabien Potencier 7657c01e65 added support for more escaping strategies (url, css, and html_attr) 2012-06-27 09:26:36 +02:00
Fabien Potencier 0d5dbedef5 fixed escaping when a project defines a function named html or js (closes #724) 2012-06-14 17:00:45 +02:00
Fabien Potencier 5923f0cbad fixed markup in the doc 2012-04-27 17:50:30 +02:00
Fabien Potencier 2a2aeee8e0 tweaked doc 2012-04-27 14:21:26 +02:00
Fabien Potencier 3697ef4a3e added a new recipe 2012-04-27 14:18:22 +02:00
Fabien Potencier 75d97b4a27 made the autoescape tag argument optional (defaults to 'html') 2012-04-25 18:22:58 +02:00
Fabien Potencier 109db731ca changed the autoescape option to also accept a supported escaping strategy (for BC, true is equivalent to html) 2012-04-25 07:12:34 +02:00
Fabien Potencier fbacbe60ad added some more information about unknown variable/attributes in the doc (closes #685) 2012-04-05 22:53:39 +02:00
Tobias Schultze 83a30739b4 typo 2012-01-19 11:11:49 +01:00
Fabien Potencier 96596d5c7f fixed typo in doc (closes #604) 2012-01-19 10:31:26 +01: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 d65366e772 simplified intro and added a not about the render() method in docs 2011-09-26 11:19:36 +02:00
Fabien Potencier c20116ee8d fixed documentation for the sandbox security policy 2011-01-12 10:39:35 +01:00
Fabien Potencier 3cbcc1f47b removed references to old Twig versions in the doc 2010-12-31 15:40:16 +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 c456666b0c added a note about autoescaping and concatenation in the doc 2010-12-30 11:20:19 +01:00
nikic 522f35ed6b update Core Extension doc 2010-12-23 12:31:14 +01:00
nikic 9dcf64e386 fix Exception documentation, remove use of Twig_SyntaxError 2010-12-23 12:31:10 +01:00
Fabien Potencier a855b1898a converted documentation to rst 2010-12-15 12:25:16 +01:00