# HG changeset patch # User Adrien Di Mascio # Date 1231928594 -3600 # Node ID ffc7dc7d2218a0ddd8e00a23e0af464167aae3ed # Parent cc16ee7d2d86ecc66e50fb9e6cf903ca85335a52 update documentation of cube structure diff -r cc16ee7d2d86 -r ffc7dc7d2218 doc/book/en/A03a-concepts.en.txt --- a/doc/book/en/A03a-concepts.en.txt Tue Jan 13 17:58:58 2009 +0100 +++ b/doc/book/en/A03a-concepts.en.txt Wed Jan 14 11:23:14 2009 +0100 @@ -385,7 +385,7 @@ Standard structure for a cube ````````````````````````````` -A complex cube is structured as follows: +A cube is structured as follows: :: @@ -426,7 +426,7 @@ | |-- site_cubicweb.py | - |-- sobjects.py + |-- hooks.py | |-- test/ | |-- data/ @@ -438,7 +438,8 @@ `-- views.py -We can use simple Python module instead of packages, for example: +We can use subpackages instead of python modules for ``views.py``, ``entities.py``, +``schema.py`` or ``hooks.py``. For example, we could have: :: @@ -446,8 +447,11 @@ | |-- entities.py |-- hooks.py - \-- views.py - + `-- views/ + |-- forms.py + |-- primary.py + `-- widgets.py + where :