diff options
| author | Chris McDonough <chrism@plope.com> | 2010-12-18 15:12:46 -0500 |
|---|---|---|
| committer | Chris McDonough <chrism@plope.com> | 2010-12-18 15:12:46 -0500 |
| commit | a5ffd62175a09402fbe37ec8c2077873e0a35903 (patch) | |
| tree | 5922c246046dc8ac833f260b7f82d629f406e3fa /docs/zcml | |
| parent | bbb9b5a5b1b97bf3c333a7fbfa68cc773ac9d263 (diff) | |
| download | pyramid-a5ffd62175a09402fbe37ec8c2077873e0a35903.tar.gz pyramid-a5ffd62175a09402fbe37ec8c2077873e0a35903.tar.bz2 pyramid-a5ffd62175a09402fbe37ec8c2077873e0a35903.zip | |
model->resource; make docs render without warnings
Diffstat (limited to 'docs/zcml')
| -rw-r--r-- | docs/zcml/forbidden.rst | 2 | ||||
| -rw-r--r-- | docs/zcml/notfound.rst | 2 | ||||
| -rw-r--r-- | docs/zcml/route.rst | 2 | ||||
| -rw-r--r-- | docs/zcml/view.rst | 6 |
4 files changed, 6 insertions, 6 deletions
diff --git a/docs/zcml/forbidden.rst b/docs/zcml/forbidden.rst index 7ea6b85fd..70f65069e 100644 --- a/docs/zcml/forbidden.rst +++ b/docs/zcml/forbidden.rst @@ -35,7 +35,7 @@ Attributes ``renderer`` This is either a single string term (e.g. ``json``) or a string - implying a path or :term:`resource specification` + implying a path or :term:`asset specification` (e.g. ``templates/views.pt``) used when the view returns a non-:term:`response` object. This attribute has the same meaning as it would in the context of :ref:`view_directive`; see the diff --git a/docs/zcml/notfound.rst b/docs/zcml/notfound.rst index a2ed95bc4..739eccd49 100644 --- a/docs/zcml/notfound.rst +++ b/docs/zcml/notfound.rst @@ -34,7 +34,7 @@ Attributes ``renderer`` This is either a single string term (e.g. ``json``) or a string - implying a path or :term:`resource specification` + implying a path or :term:`asset specification` (e.g. ``templates/views.pt``) used when the view returns a non-:term:`response` object. This attribute has the same meaning as it would in the context of :ref:`view_directive`; see the diff --git a/docs/zcml/route.rst b/docs/zcml/route.rst index ac9261e27..0f94fa11b 100644 --- a/docs/zcml/route.rst +++ b/docs/zcml/route.rst @@ -172,7 +172,7 @@ Attributes ``view_renderer`` This is either a single string term (e.g. ``json``) or a string - implying a path or :term:`resource specification` + implying a path or :term:`asset specification` (e.g. ``templates/views.pt``). If the renderer value is a single term (does not contain a dot ``.``), the specified term will be used to look up a renderer implementation, and that renderer diff --git a/docs/zcml/view.rst b/docs/zcml/view.rst index 6887f88fb..b4fabdc2c 100644 --- a/docs/zcml/view.rst +++ b/docs/zcml/view.rst @@ -51,7 +51,7 @@ Non-Predicate Attributes ``renderer`` This is either a single string term (e.g. ``json``) or a string - implying a path or :term:`resource specification` + implying a path or :term:`asset specification` (e.g. ``templates/views.pt``). If the renderer value is a single term (does not contain a dot ``.``), the specified term will be used to look up a renderer implementation, and that renderer @@ -72,10 +72,10 @@ Non-Predicate Attributes template named "foo.pt" is in the "templates" directory relative to the directory in which the ZCML file is defined), a path can be absolute, starting with a slash on UNIX or a drive letter prefix on - Windows. The path can alternately be a :term:`resource + Windows. The path can alternately be a :term:`asset specification` in the form ``some.dotted.package_name:relative/path``, making it possible to - address template resources which live in a separate package. + address template assets which live in a separate package. The ``renderer`` attribute is optional. If it is not defined, the "null" renderer is assumed (no rendering is performed and the value |
