From 92c3e502494714884b7a051721c9b322027369a1 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Sat, 18 Dec 2010 03:33:35 -0500 Subject: resource -> asset --- docs/zcml/resource.rst | 62 -------------------------------------------------- 1 file changed, 62 deletions(-) delete mode 100644 docs/zcml/resource.rst (limited to 'docs/zcml/resource.rst') diff --git a/docs/zcml/resource.rst b/docs/zcml/resource.rst deleted file mode 100644 index 3f7c58faa..000000000 --- a/docs/zcml/resource.rst +++ /dev/null @@ -1,62 +0,0 @@ -.. _resource_directive: - -``resource`` ------------- - -The ``resource`` directive adds a resource override for a single -resource. - -Attributes -~~~~~~~~~~ - -``to_override`` - A :term:`resource specification` specifying the resource to be - overridden. - -``override_with`` - A :term:`resource specification` specifying the resource which - is used as the override. - -Examples -~~~~~~~~ - -.. topic:: Overriding a Single Resource File - - .. code-block:: xml - :linenos: - - - -.. topic:: Overriding all Resources in a Package - - .. code-block:: xml - :linenos: - - - -.. topic:: Overriding all Resources in a Subdirectory of a Package - - .. code-block:: xml - :linenos: - - - -Alternatives -~~~~~~~~~~~~ - -The :meth:`pyramid.config.Configurator.override_resource` -method can be used instead of the ``resource`` ZCML directive. - -See Also -~~~~~~~~ - -See also :ref:`resource_zcml_directive`. -- cgit v1.2.3