summaryrefslogtreecommitdiff
path: root/docs/narr/environment.rst
diff options
context:
space:
mode:
authorTshepang Lekhonkhobe <tshepang@gmail.com>2013-01-28 08:27:05 +0200
committerTshepang Lekhonkhobe <tshepang@gmail.com>2013-01-28 08:27:05 +0200
commitfdcd1beef58e106b556f6586f4a95e02d6aec1f4 (patch)
tree45a86e130e40ccd207e4c271d8c81c348714c39e /docs/narr/environment.rst
parentf9bb5acdef3322e549512ad721b2c351c0064e71 (diff)
downloadpyramid-fdcd1beef58e106b556f6586f4a95e02d6aec1f4.tar.gz
pyramid-fdcd1beef58e106b556f6586f4a95e02d6aec1f4.tar.bz2
pyramid-fdcd1beef58e106b556f6586f4a95e02d6aec1f4.zip
use a more correct directive
Diffstat (limited to 'docs/narr/environment.rst')
-rw-r--r--docs/narr/environment.rst3
1 files changed, 2 insertions, 1 deletions
diff --git a/docs/narr/environment.rst b/docs/narr/environment.rst
index 8206e0bcb..def5e12a4 100644
--- a/docs/narr/environment.rst
+++ b/docs/narr/environment.rst
@@ -504,12 +504,13 @@ default, this is ``false``.
Mako Preprocessor
~~~~~~~~~~~~~~~~~
+.. versionadded:: 1.1
+
A callable (or a :term:`dotted Python name` which names a callable) which is
called to preprocess the source before the template is called. The callable
will be passed the full template source before it is parsed. The return
result of the callable will be used as the template source code.
-.. note:: This feature is new in Pyramid 1.1.
+-----------------------------+
| Config File Setting Name |