From 62592ce24c79b0bf06cdc8fdb6d66295bbef0fc6 Mon Sep 17 00:00:00 2001 From: ianb Date: Tue, 24 Jul 2007 01:15:21 +0000 Subject: doc updates --- docs/index.txt | 10 +++++----- setup.cfg | 1 - 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/docs/index.txt b/docs/index.txt index a2aafc9..593e038 100644 --- a/docs/index.txt +++ b/docs/index.txt @@ -240,7 +240,7 @@ some convenient ways. You basically use it like:: ... {{endfor}} -The ``loop`` object has a bunch of useful methods and attributes:: +The ``loop`` object has a bunch of useful methods and attributes: ``.index`` The index of the current item (like you'd get with @@ -313,7 +313,7 @@ An example:: >>> tmpl.substitute(locals()) 'Hi !\nHomepage' -It also adds a couple handy builtins:: +It also adds a couple handy builtins: ``html_quote(value)``: HTML quotes the value. Turns all unicode values into @@ -366,7 +366,7 @@ Still To Do like ``for (a, b), c in x``. They should. * There's no way to handle exceptions, except in your ``py:`` code. - I'm not sure what there should be. + I'm not sure what there should be, if anything. * Probably I should try to dedent ``py:`` code. @@ -377,8 +377,8 @@ Still To Do template code... {{endcall}} - That means ``{{expr(result_of_template_code)}}``. But maybe there - should be another assignment form too, if you don't want to + 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? diff --git a/setup.cfg b/setup.cfg index 5d371d4..a042816 100644 --- a/setup.cfg +++ b/setup.cfg @@ -23,7 +23,6 @@ trac_url = http://trac.pythonpaste.org/ [publish] doc-dest = scp://ianb@webwareforpython.org/home/paste/htdocs/tempita -make-dirs = 1 doc-dir = docs/html [aliases] -- cgit v1.2.1