summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorCasey Duncan <casey.duncan@gmail.com>2010-12-08 21:06:44 -0800
committerCasey Duncan <casey.duncan@gmail.com>2010-12-08 21:06:44 -0800
commit1aa83a7893364f8aee9f539c6f6381742c625f5c (patch)
tree5bb2f0603af45377e2111c6f95fea404f847f884 /docs
parentfacda747e36b2f22c09e1eed06042103f518a322 (diff)
downloadpyramid-1aa83a7893364f8aee9f539c6f6381742c625f5c.tar.gz
pyramid-1aa83a7893364f8aee9f539c6f6381742c625f5c.tar.bz2
pyramid-1aa83a7893364f8aee9f539c6f6381742c625f5c.zip
clarify paragraph about name argument
Diffstat (limited to 'docs')
-rw-r--r--docs/narr/static.rst15
1 files changed, 7 insertions, 8 deletions
diff --git a/docs/narr/static.rst b/docs/narr/static.rst
index 091b3bff7..34e115802 100644
--- a/docs/narr/static.rst
+++ b/docs/narr/static.rst
@@ -57,14 +57,13 @@ serve the file ``/path/to/static/dir/foo.js``. The static directory may
contain subdirectories recursively, and any subdirectories may hold
files; these will be resolved by the static view as you would expect.
-While the ``path`` argument can be a number of different things, the ``name``
-argument of the call to
-:meth:`pyramid.configuration.Configurator.add_static_view` can also be one of
-a number of things: a *view name* or a *URL*. The above examples have shown
-usage of the ``name`` argument as a view name. When ``name`` is a *URL* (or
-any string with a slash (``/``) in it), static resources can be served from
-an external webserver. In this mode, the ``name`` is used as the URL prefix
-when generating a URL using :func:`pyramid.url.static_url`.
+The ``name`` argument of the call to
+:meth:`pyramid.configuration.Configurator.add_static_view` can be either
+a *view name*, or a *URL*. In the above examples, the ``name`` argument
+is a view name. When ``name`` is a *URL* (or any string with a slash
+(``/``) in it), static resources can be served from an external
+webserver. In this mode, the ``name`` is used as the URL prefix when
+generating a URL using the :func:`pyramid.url.static_url` function.
.. note::