From c0c57f5f0db2f9693d0aac830b0e45ce99396133 Mon Sep 17 00:00:00 2001 From: Casey Duncan Date: Wed, 8 Dec 2010 21:26:20 -0800 Subject: remove redundant statement was removed --- docs/narr/static.rst | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/docs/narr/static.rst b/docs/narr/static.rst index be29fc095..e8e3fc843 100644 --- a/docs/narr/static.rst +++ b/docs/narr/static.rst @@ -218,13 +218,10 @@ your application root as below. static_view = static('/path/to/static/dir') .. note:: the argument to :class:`pyramid.view.static` can also be - a relative pathname, e.g. ``my/static`` (meaning relative to the + a "here-relative" pathname, e.g. ``my/static`` (meaning relative to the Python package of the module in which the view is being defined). It can also be a :term:`resource specification` - (e.g. ``anotherpackage:some/subdirectory``) or it can be a - "here-relative" path (e.g. ``some/subdirectory``). If the path is - "here-relative", it is relative to the package of the module in - which the static view is defined. + (e.g. ``anotherpackage:some/subdirectory``). Subsequently, you may wire this view up to be accessible as ``/static`` using the :mod:`pyramid.configuration.Configurator.add_view` method in your -- cgit v1.2.3