summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorChris McDonough <chrism@agendaless.com>2010-07-26 00:53:23 +0000
committerChris McDonough <chrism@agendaless.com>2010-07-26 00:53:23 +0000
commitd20a86a1b2a4372693ca9810f3270a82b1085215 (patch)
tree87708024098ca5db286a76f18ca8508e766388b1 /docs
parentdef58d970a8862564c56dfca35640a7860be6d60 (diff)
downloadpyramid-d20a86a1b2a4372693ca9810f3270a82b1085215.tar.gz
pyramid-d20a86a1b2a4372693ca9810f3270a82b1085215.tar.bz2
pyramid-d20a86a1b2a4372693ca9810f3270a82b1085215.zip
reference
Diffstat (limited to 'docs')
-rw-r--r--docs/narr/hooks.rst5
1 files changed, 3 insertions, 2 deletions
diff --git a/docs/narr/hooks.rst b/docs/narr/hooks.rst
index 89f126b07..a8285e7a5 100644
--- a/docs/narr/hooks.rst
+++ b/docs/narr/hooks.rst
@@ -402,7 +402,7 @@ Adding Renderer Globals
Whenever :mod:`repoze.bfg` handles a request to perform a rendering
(after a view with a ``renderer=`` configuration attribute is invoked,
or when the any of the methods beginning with ``render`` within the
-:mod:`repoze.bfg.renderers` module are called, *renderer globals* can
+:mod:`repoze.bfg.renderers` module are called), *renderer globals* can
be injected into the *system* values sent to the renderer. By
default, no renderer globals are injected, and the "bare" system
values (such as ``request``, ``context``, and ``renderer_name``) are
@@ -424,7 +424,8 @@ argument to the constructor of the :term:`configurator`.
Such a callback must accept a single positional argument (notionally
named ``system``) which will contain the original system values. It
must return a dictionary of values that will be merged into the system
-dictionary.
+dictionary. See :ref:`renderer_system_values` for discription of the
+values present in the system dictionary.
A renderer globals factory can alternately be registered via ZCML as a
through the use of the ZCML ``utility`` directive. In the below, we