[Checkins] SVN: z3c.zrtresource/trunk/ Get ready for new release with correct rst long description.

Stephan Richter srichter at cosmos.phy.tufts.edu
Tue Oct 30 17:53:23 EDT 2007


Log message for revision 81242:
  Get ready for new release with correct rst long description.
  

Changed:
  U   z3c.zrtresource/trunk/CHANGES.txt
  U   z3c.zrtresource/trunk/README.txt
  U   z3c.zrtresource/trunk/setup.py
  U   z3c.zrtresource/trunk/src/z3c/zrtresource/README.txt

-=-
Modified: z3c.zrtresource/trunk/CHANGES.txt
===================================================================
--- z3c.zrtresource/trunk/CHANGES.txt	2007-10-30 21:25:59 UTC (rev 81241)
+++ z3c.zrtresource/trunk/CHANGES.txt	2007-10-30 21:53:23 UTC (rev 81242)
@@ -2,6 +2,11 @@
 CHANGES
 =======
 
+1.0.1 (2007-10-30)
+------------------
+
+- Fix long description of package to be valid restructured text.
+
 1.0.0 (2007-10-30)
 ------------------
 

Modified: z3c.zrtresource/trunk/README.txt
===================================================================
--- z3c.zrtresource/trunk/README.txt	2007-10-30 21:25:59 UTC (rev 81241)
+++ z3c.zrtresource/trunk/README.txt	2007-10-30 21:53:23 UTC (rev 81242)
@@ -1,25 +1,2 @@
-One of the design goals of Zope is to allow designers to check in HTML
-template, CSS and Javascript files, which just work (with some additional
-information). For HTML code we use Zope's Page Templates to accomplish this
-objective. For CSS and Javascript we did not need such a feature until now,
-since those files were largely static or variables could be inserted using
-other ways at runtime.
-
-However, in CSS URLs -- for example for background images -- are now
-frequently inserted into CSS directives. However, the path layout for the
-designer might not equal the resource file structure. This package provides a
-simple mechanism to replace strings by another.
-
-To accomplish this, a templated resource is provided. The template syntax is
-provided in a way that it does not interfere with the syntax of the
-resource. For both, Javascript and CSS, this is a comment of the form ``/*
-... */``.
-
-Here is the general syntax::
-
-  <COMMAND-BEGIN> <ZRT-COMMAND>: <COMMAND-ARGUMENTS> <COMMAND-END>
-
-Here is an example for CSS:
-
-  /* zrt-replace: ".." "@@" */
-
+This package provides a very simple templating system for non-SGML data files
+such as CSS and Javascript.

Modified: z3c.zrtresource/trunk/setup.py
===================================================================
--- z3c.zrtresource/trunk/setup.py	2007-10-30 21:25:59 UTC (rev 81241)
+++ z3c.zrtresource/trunk/setup.py	2007-10-30 21:53:23 UTC (rev 81242)
@@ -22,7 +22,7 @@
     return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
 
 setup(name='z3c.zrtresource',
-      version = '1.1.0',
+      version = '1.0.1',
       author='Zope Corporation and Contributors',
       author_email='zope3-dev at zope.org',
       description='Zope Resource Templates',

Modified: z3c.zrtresource/trunk/src/z3c/zrtresource/README.txt
===================================================================
--- z3c.zrtresource/trunk/src/z3c/zrtresource/README.txt	2007-10-30 21:25:59 UTC (rev 81241)
+++ z3c.zrtresource/trunk/src/z3c/zrtresource/README.txt	2007-10-30 21:53:23 UTC (rev 81242)
@@ -23,9 +23,9 @@
 
   <COMMAND-BEGIN> <ZRT-COMMAND>: <COMMAND-ARGUMENTS> <COMMAND-END>
 
-Here is an example for CSS:
+Here is an example for CSS::
 
-  /* zrt-replace: ".." "@@" */
+    /* zrt-replace: ".." "@@" */
 
 To demonstrate this feature, we first have to create a CSS file.
 
@@ -82,7 +82,7 @@
 
 
 Replacing Strings
-=================
+-----------------
 
 The ``zrt-replace`` command replaces any matches with the output string as
 many times as specified. Here is the syntax:
@@ -155,7 +155,7 @@
 
 
 The String Expression
----------------------
+~~~~~~~~~~~~~~~~~~~~~
 
 Until now we have only dealt with simple string replacement, since it is the
 default expression type. Another way of spelling the expression type is:
@@ -177,7 +177,7 @@
 
 
 The Regex Expression
---------------------
+~~~~~~~~~~~~~~~~~~~~
 
 Regular expressions make only sense as input expressions, so they are only
 supported there:
@@ -223,7 +223,7 @@
 
 
 The TALES Expression
---------------------
+~~~~~~~~~~~~~~~~~~~~
 
 What would be a Zope-based templating language without TALES expressions. This
 is particularly useful, if you want create absolute URLs and other dynamic



More information about the Checkins mailing list