Commit Graph

45 Commits

Author SHA1 Message Date
Aarni Koskela
a9a0197e3c Improve documentation for initializing the i18n extension
Refs discussion at https://stackoverflow.com/a/78970088
2024-09-10 18:42:07 +03:00
nabbisen
8cef6b89c5 replace http with https in docs 2021-08-28 09:12:38 -04:00
Sardorbek Imomaliev
3fba898098
add pgettext and npgettext 2021-04-05 04:45:05 -07:00
sixtyfathoms
2f41690b3b
update docs on adding extensions (#1237) 2021-01-30 19:20:26 -05:00
David Lord
f28b25ea62
remove Python 2 from docs 2020-02-05 08:37:40 -08:00
David Lord
4a59ac9514
Revert "rename imports to jinja"
This reverts commit 1167525b73.
2020-01-26 21:12:52 -08:00
David Lord
1167525b73
rename imports to jinja 2020-01-10 15:30:16 -08:00
David Lord
e492255f27
remove old scripts and examples 2020-01-10 12:58:38 -08:00
David Lord
57626a000a
use "Jinja" instead of "Jinja2" 2019-10-23 12:35:53 -07:00
David Lord
50f181080a
clean up i18n documentation
explain enabling newstyle
organize newstyle advantages
mention escaping percent signs for formatting
mention marking format parameters as safe
fix newstyle ref
2019-10-19 08:04:23 -07:00
David Lord
5e645ab25c
document debug extension 2019-10-04 19:13:39 -07:00
David Lord
288dd42f57
Merge branch '2.9.x' into docs 2019-07-26 15:01:03 -07:00
David Lord
06696563d7
fix linkcheck issues 2019-07-26 12:12:41 -07:00
David Lord
f77b09d998
modernize docs config, use pallets-sphinx-themes 2019-07-26 11:41:08 -07:00
David Lord
5ffbf8e571
fix docs warnings 2017-07-06 10:43:30 -07:00
Adrian Moennich
e605ff1a0b Add support for {% trans trimmed ... %}
Same behavior as in Django: All linebreaks and the whitespace
surrounding linebreaks are replaced with a single space.

closes #504
2017-07-03 16:37:45 +02:00
Jon Dufresne
3b1ddea8ac In documentation, prefer https over http when available 2017-04-09 15:21:05 -07:00
Armin Ronacher
a27a503cea Move the autoescape extension and with statement to be built-in 2017-01-07 15:55:20 +01:00
Tim Swast
935d330b68 Change links for Babel to new docs location. (#562) 2016-04-10 08:48:09 -07:00
Chad Whitacre
e53659d0d5 trim obsolete sentence re: i18n extension
This sentence seems like a leftover from when i18n was the only extension available, eh?
2015-02-05 14:53:19 -05:00
Armin Ronacher
c97fa109d3 Merge pull request #230 from p1otr/master
documentation typos
2014-06-10 21:34:12 +01:00
Lucian Ursu
07497dcf60 Spelling, grammar, and punctuation fixes to extensions docs. 2013-11-29 14:16:06 +02:00
Jakub Wilk
3fc008b629 fix a bunch of typos in the documentation 2013-05-25 23:39:03 +02:00
Ron DuPlain
220538cc1d Merge pull request #81 from obeattie/docs-fix
Small typo fix to extension docs
2012-03-09 14:26:26 -08:00
Armin Ronacher
1161915fd7 Fixed a bug in the i18n extraction option handling and added a silent option. 2011-12-15 11:50:27 +01:00
Oliver Beattie
6e97b06155 Small typo fix to extension docs 2011-12-15 09:47:34 +00:00
Armin Ronacher
fd72972eb4 Meh. Fixed a typo
--HG--
branch : trunk
2010-08-16 12:13:04 +02:00
Armin Ronacher
ffaa2e7908 it's now possible to register extensions after an environment
was created.

--HG--
branch : trunk
2010-05-29 20:57:16 +02:00
Armin Ronacher
fe150f3cec Documented autoescaping behavior and eval contexts.
--HG--
branch : trunk
2010-03-15 02:42:41 +01:00
Armin Ronacher
9b4cc9ff08 added with-statement extension.
--HG--
branch : trunk
2010-02-07 03:55:15 +01:00
Armin Ronacher
d02fc7db91 Added example extension that uses the stream filtering and added unittests.
--HG--
branch : trunk
2008-06-14 14:19:47 +02:00
Armin Ronacher
9ad96e7af6 added support for token stream filtering and preprocessing.
--HG--
branch : trunk
2008-06-13 22:44:01 +02:00
Armin Ronacher
6df604ec21 more unittests and updated documentation for extensions. Fixed bug in optimizer that caused blocks to be optimized away under some circumstances.
--HG--
branch : trunk
2008-05-23 22:18:38 +02:00
Armin Ronacher
3da9031b99 added loopcontrols extension and added unittests for it
--HG--
branch : trunk
2008-05-23 16:37:28 +02:00
Armin Ronacher
2b22874121 some small documentation fixes
--HG--
branch : trunk
2008-05-18 20:29:32 +02:00
Armin Ronacher
67fdddf4f2 removed attribute local aliasing again because that implementation was broken
--HG--
branch : trunk
2008-05-16 09:27:51 +02:00
Armin Ronacher
7f15ef846f improved exception system. now both name (load name) and filename are passed.
--HG--
branch : trunk
2008-05-16 09:11:39 +02:00
Armin Ronacher
5d2733fce8 void -> do
--HG--
branch : trunk
2008-05-15 23:26:52 +02:00
Armin Ronacher
fdf953008b added parsing code for "for item in seq recursive" and improved parser interface a bit
--HG--
branch : trunk
2008-05-11 22:20:51 +02:00
Armin Ronacher
27069d73ec fixed a bug in extension handling
--HG--
branch : trunk
2008-05-11 19:48:12 +02:00
Armin Ronacher
b9e7875e43 added support for dotted names in tests and filters
--HG--
branch : trunk
2008-05-10 23:36:28 +02:00
Armin Ronacher
09c002e6fa added a function to parse assign targes and documented it for the extension interface
--HG--
branch : trunk
2008-05-10 22:21:30 +02:00
Armin Ronacher
762079cd25 more updates on the extension API
--HG--
branch : trunk
2008-05-08 23:57:56 +02:00
Armin Ronacher
023b5e9212 First extension interface documentation and updates in that interface
--HG--
branch : trunk
2008-05-08 11:03:10 +02:00
Armin Ronacher
ed98cac76e some documentation updates
--HG--
branch : trunk
2008-05-07 08:42:11 +02:00