diff options
author | ianb <devnull@localhost> | 2007-07-24 01:15:21 +0000 |
---|---|---|
committer | ianb <devnull@localhost> | 2007-07-24 01:15:21 +0000 |
commit | 62592ce24c79b0bf06cdc8fdb6d66295bbef0fc6 (patch) | |
tree | 02d424087f8843056df270d9a7be6f4ac981a008 | |
parent | eac6a8df4a1d6dcdfbdd7e629049b91305da61a1 (diff) | |
download | tempita-62592ce24c79b0bf06cdc8fdb6d66295bbef0fc6.tar.gz |
doc updates0.1
-rw-r--r-- | docs/index.txt | 10 | ||||
-rw-r--r-- | 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 <img src="bob.jpg">!\n<a href="Attack!">"><i>Homepage</i></a>' -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? @@ -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] |