[Checkins]
SVN: z3c.unconfigure/trunk/src/z3c/unconfigure/README.txt
Improve text.
Philipp von Weitershausen
philikon at philikon.de
Thu Aug 7 05:14:49 EDT 2008
Log message for revision 89485:
Improve text.
Changed:
U z3c.unconfigure/trunk/src/z3c/unconfigure/README.txt
-=-
Modified: z3c.unconfigure/trunk/src/z3c/unconfigure/README.txt
===================================================================
--- z3c.unconfigure/trunk/src/z3c/unconfigure/README.txt 2008-08-07 07:58:53 UTC (rev 89484)
+++ z3c.unconfigure/trunk/src/z3c/unconfigure/README.txt 2008-08-07 09:14:47 UTC (rev 89485)
@@ -50,10 +50,10 @@
--------------------------------
What's a good place to add the ``unconfigure`` directives, you may
-ask. Certainly, the example from above is a not very realistic
-because both the original directives and the filters are in one file.
-What typically happens is that you have some third party package that
-has much configuration of which you'd like to disable just one or two
+ask. Certainly, the example from above is not very realistic because
+both the original directives and the filters are in one file. What
+typically happens is that you have some third party package that has
+much configuration of which you'd like to disable just one or two
directives. Like this file, for instance:
>>> cat('lolcat.zcml')
@@ -67,9 +67,11 @@
</configure>
What you can do now is write a separate ZCML file in *your* package.
-A good name for it would be ``overrides.zcml`` (which is the
-convention for overriding ZCML directives, a technique not far from
-what ``unconfigure`` does). For example:
+A good name for it would be ``overrides.zcml`` (which is the naming
+convention for ZCML files containing overriding directives, a
+technique not unlike to what ``unconfigure`` does). For example,
+let's say we wanted to undo some silly configuration in the above
+third party file:
>>> cat('overrides.zcml')
<unconfigure>
More information about the Checkins
mailing list