[Checkins] SVN: z3c.pdftemplate/trunk/ Preparing release 0.2.0
Michael Howitz
mh at gocept.com
Sun Dec 12 11:44:03 EST 2010
Log message for revision 118842:
Preparing release 0.2.0
Changed:
U z3c.pdftemplate/trunk/CHANGES.txt
U z3c.pdftemplate/trunk/setup.py
U z3c.pdftemplate/trunk/src/z3c/pdftemplate/README.txt
-=-
Modified: z3c.pdftemplate/trunk/CHANGES.txt
===================================================================
--- z3c.pdftemplate/trunk/CHANGES.txt 2010-12-12 16:39:55 UTC (rev 118841)
+++ z3c.pdftemplate/trunk/CHANGES.txt 2010-12-12 16:44:03 UTC (rev 118842)
@@ -2,7 +2,7 @@
CHANGES
=======
-0.2.0 (unreleased)
+0.2.0 (2010-12-12)
------------------
- Added missing install dependencies and test dependencies.
@@ -12,13 +12,14 @@
- Adapted tests to `reportlab` 2.4+ which produces PDF 1.4, so requiring at
least this `reportlab` version.
-
- Using python's `doctest` module instead of the deprecated
`zope.testing.doctest`.
- Removed ZCML slugs and ZPKG ones.
+- Fixed REST of ``long_description``.
+
0.1.0 (2008-02-15)
------------------
Modified: z3c.pdftemplate/trunk/setup.py
===================================================================
--- z3c.pdftemplate/trunk/setup.py 2010-12-12 16:39:55 UTC (rev 118841)
+++ z3c.pdftemplate/trunk/setup.py 2010-12-12 16:44:03 UTC (rev 118842)
@@ -23,16 +23,13 @@
setup (
name='z3c.pdftemplate',
- version='0.2.0dev',
+ version='0.2.0',
author = "Stephan Richter and the Zope Community",
author_email = "zope-dev at zope.org",
description = "PDF Template",
long_description=(
read('README.txt')
- + '\n\n' +
- 'Detailed Documentation\n'
- '**********************'
- + '\n\n' +
+ + '\n\n.. contents::\n\n' +
read('src', 'z3c', 'pdftemplate', 'README.txt')
+ '\n\n' +
read('CHANGES.txt')
Modified: z3c.pdftemplate/trunk/src/z3c/pdftemplate/README.txt
===================================================================
--- z3c.pdftemplate/trunk/src/z3c/pdftemplate/README.txt 2010-12-12 16:39:55 UTC (rev 118841)
+++ z3c.pdftemplate/trunk/src/z3c/pdftemplate/README.txt 2010-12-12 16:44:03 UTC (rev 118842)
@@ -49,45 +49,45 @@
::
-<?xml version="1.0" encoding="iso-8859-1" standalone="no" ?>
-<!DOCTYPE document SYSTEM "rml_1_0.dtd">
-<document
- xmlns:tal="http://xml.zope.org/namespaces/tal"
- xmlns:metal="http://xml.zope.org/namespaces/metal"
- filename="contents.pdf">
-<content>
+ <?xml version="1.0" encoding="iso-8859-1" standalone="no" ?>
+ <!DOCTYPE document SYSTEM "rml_1_0.dtd">
+ <document
+ xmlns:tal="http://xml.zope.org/namespaces/tal"
+ xmlns:metal="http://xml.zope.org/namespaces/metal"
+ filename="contents.pdf">
+ <content>
-<para style="FolderName">
- Folder Name:
- <tal:block
- condition="context/__name__"
- replace="context/__name__|default" />
- <tal:block condition="not:context/__name__"><no name></tal:block>
-</para>
+ <para style="FolderName">
+ Folder Name:
+ <tal:block
+ condition="context/__name__"
+ replace="context/__name__|default" />
+ <tal:block condition="not:context/__name__"><no name></tal:block>
+ </para>
-<spacer height="30" />
+ <spacer height="30" />
-<table splitbyrow="1" repeatrows="0" repeatcols="0" style="ContentTable">
- <tr>
- <td>Name</td>
- <td>Title</td>
- <td>Size</td>
- <td>Created</td>
- <td>Modified</td>
- </tr>
- <tr tal:repeat="item view/listContentInfo">
- <td tal:content="item/id">me.png</td>
- <td tal:content="item/title|default"><no title></td>
- <td tal:content="item/size/sizeForDisplay|nothing">34.5 kB</td>
- <td tal:content="item/created|default"></td>
- <td tal:content="item/modified|default"></td>
- </tr>
-</table>
+ <table splitbyrow="1" repeatrows="0" repeatcols="0" style="ContentTable">
+ <tr>
+ <td>Name</td>
+ <td>Title</td>
+ <td>Size</td>
+ <td>Created</td>
+ <td>Modified</td>
+ </tr>
+ <tr tal:repeat="item view/listContentInfo">
+ <td tal:content="item/id">me.png</td>
+ <td tal:content="item/title|default"><no title></td>
+ <td tal:content="item/size/sizeForDisplay|nothing">34.5 kB</td>
+ <td tal:content="item/created|default"></td>
+ <td tal:content="item/modified|default"></td>
+ </tr>
+ </table>
-<action name="frameEnd" />
+ <action name="frameEnd" />
-</content>
-</document>
+ </content>
+ </document>
Pretty easy isn't it? Fortunately, we can simply reuse the ``Contents`` view
class for the HTML contents view.
More information about the checkins
mailing list