# HG changeset patch
# User Sylvain Thénault <sylvain.thenault@logilab.fr>
# Date 1265644594 -3600
#      Mon Feb 08 16:56:34 2010 +0100
# Node ID 3d6cc1f458e659fa7ff1df77a0ac880ad2e692cc
# Parent  2500754fe3ccb1cdd2079b49ce0e3cb6958811af
nicer doc'

diff --git a/__pkginfo__.py b/__pkginfo__.py
--- a/__pkginfo__.py
+++ b/__pkginfo__.py
@@ -22,13 +22,6 @@
 
 The `comment` cube provides threadable comments feature.
 
-Screenshots
------------
-
-Threadable comment view:
-
-.. image:: cube_comment1.png
-
 Usage
 -----
 
@@ -44,18 +37,14 @@
 
 .. sourcecode:: python
 
-    class Blog(EntityType):
-        title = String(maxsize=50, required=True)
-        description = RichString()
-
-    class BlogEntry(EntityType):
-        title = String(required=True, fulltextindexed=True, maxsize=256)
-        content = RichString(required=True, fulltextindexed=True)
-        entry_of = SubjectRelation('Blog', cardinality='**')
-        comments = ObjectRelation('Comment', cardinality='1*')
+    from yams.buildobjs import RelationDefinition
+    class comments(RelationDefinition):
+        subject = 'Comment'
+        object = 'BlogEntry'
+        cardinality = '1*'
 
 Once this relation is defined, you can post comments and view threadable
-comments.
+comments automatically on blog entry's primary view.
 """
 
 from os import listdir