summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorChris McDonough <chrism@plope.com>2010-12-07 12:43:47 -0500
committerChris McDonough <chrism@plope.com>2010-12-07 12:43:47 -0500
commitc18b16d293ee60117747f0de042e2d75361d1fd8 (patch)
treebbaac2f41c5bbdd07fca7bcc9a4956497bb55968 /docs
parentb4ddae4694c94a9b1281aab9f3ca5f21979d203b (diff)
downloadpyramid-c18b16d293ee60117747f0de042e2d75361d1fd8.tar.gz
pyramid-c18b16d293ee60117747f0de042e2d75361d1fd8.tar.bz2
pyramid-c18b16d293ee60117747f0de042e2d75361d1fd8.zip
remove misleading section from resources docs
Diffstat (limited to 'docs')
-rw-r--r--docs/narr/resources.rst34
1 files changed, 0 insertions, 34 deletions
diff --git a/docs/narr/resources.rst b/docs/narr/resources.rst
index 3ff8af90b..d9edd954e 100644
--- a/docs/narr/resources.rst
+++ b/docs/narr/resources.rst
@@ -114,40 +114,6 @@ following kinds of resources defined in any Python package:
- Any other resource (or set of resources) addressed by code that uses
the setuptools :term:`pkg_resources` API.
-Usually, overriding a resource in an existing application means
-performing the following steps:
-
-- Create a new Python package. The easiest way to do this is to
- create a new :app:`Pyramid` application using the "paster"
- template mechanism. See :ref:`creating_a_project` for more
- information.
-
-- Install the new package into the same Python environment as the
- original application (e.g. ``python setup.py develop`` or ``python
- setup.py install``).
-
-- Change the ``configure.zcml`` in the new package to include one or
- more ``resource`` ZCML directives (see :ref:`resource_directive`
- below). The new package's ``configure.zcml`` should then include
- the original :app:`Pyramid` application's ``configure.zcml`` via
- an include statement, e.g. ``<include
- package="theoriginalpackage"/>``.
-
-- Add override resources to the package as necessary.
-
-- Change the Paste ``.ini`` file that starts up the original
- application. Add a ``configure_zcml`` statement within the
- application's section in the file which points at your *new*
- package's ``configure.zcml`` file. See :ref:`environment_chapter`
- for more information about this setting.
-
-Note that overriding resources is not the only way to extend or modify
-the behavior of an existing :app:`Pyramid` application. A "heavier
-hammer" way to do the same thing is explained in
-:ref:`extending_chapter`. The heavier hammer way allows you to
-replace a :term:`view` wholesale rather than resources that might be
-used by a view.
-
.. index::
single: override_resource