From 29f27d5631bc8fb2fee4b3318834b5980e2a4779 Mon Sep 17 00:00:00 2001 From: ianb Date: Sat, 22 Nov 2008 17:50:53 +0000 Subject: update news for release --- docs/conf.py | 4 ++-- docs/index.txt | 15 ++++++++++----- 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index 9101d5e..b99008e 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -40,9 +40,9 @@ copyright = '2008, Ian Bicking' # other places throughout the built documents. # # The short X.Y version. -version = '0.2.1' +version = '0.3' # The full version, including alpha/beta/rc tags. -release = '0.2' +release = '0.3' # There are two options for replacing |today|: either, you set today to some # non-false value, then it is used: diff --git a/docs/index.txt b/docs/index.txt index f976ce9..42b269e 100644 --- a/docs/index.txt +++ b/docs/index.txt @@ -457,19 +457,24 @@ Still To Do template. Maybe like:: {{call expr}} - template code... + template code... {{endcall}} That would mean ``{{expr(result_of_template_code)}}``. But maybe there should be another assignment form too, if you don't want to - immediately put the output in the code. And then you get methods. - Is this going too far? + immediately put the output in the code. Probably defs could be used + for this, like:: + + {{def something}} + template code... + {{enddef}} + {{expr(something)}} News ==== -svn trunk ---------- +0.3 +--- * Added ``{{inherit}}`` and ``{{def}}`` for doing template inheritance. -- cgit v1.2.1