summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorCasey Duncan <casey.duncan@gmail.com>2010-12-08 21:26:20 -0800
committerCasey Duncan <casey.duncan@gmail.com>2010-12-08 21:26:20 -0800
commitc0c57f5f0db2f9693d0aac830b0e45ce99396133 (patch)
tree3b626a35974df37f7396e519e897c7d076475eb8 /docs
parente1b3ca9aed88bd994865d07fbc0ffd5e7f0ada71 (diff)
downloadpyramid-c0c57f5f0db2f9693d0aac830b0e45ce99396133.tar.gz
pyramid-c0c57f5f0db2f9693d0aac830b0e45ce99396133.tar.bz2
pyramid-c0c57f5f0db2f9693d0aac830b0e45ce99396133.zip
remove redundant statement was removed
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