summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/narr/static.rst7
1 files 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