diff -r 03c641ae00a6 -r b7ab099b128a doc/book/en/devrepo/cubes/cc-newcube.rst --- a/doc/book/en/devrepo/cubes/cc-newcube.rst Fri Apr 23 17:01:45 2010 +0200 +++ b/doc/book/en/devrepo/cubes/cc-newcube.rst Fri Apr 23 20:06:04 2010 +0200 @@ -3,9 +3,10 @@ Let's start by creating the cube environment in which we will develop :: - cd ~/hg + cd ~/cubes # use cubicweb-ctl to generate a template for the cube - cubicweb-ctl newcube mycube # will ask some questions, most with nice default + # will ask some questions, most with nice default + cubicweb-ctl newcube mycube # makes the cube source code managed by mercurial cd mycube hg init @@ -16,11 +17,12 @@ returned by ``cubicweb-ctl list`` in the section *Available cubes*, and if it is not the case please refer to :ref:`ConfigurationEnv`. -To reuse an existing cube, add it to the list named ``__use__`` and defined in -:file:`__pkginfo__.py`. This variable is used for the instance packaging -(dependencies handled by system utility tools such as APT) and the usable cubes -at the time the base is created (import_erschema('MyCube') will not properly -work otherwise). +To reuse an existing cube, add it to the list named +``__depends_cubes__`` and defined in :file:`__pkginfo__.py`. This +variable is used for the instance packaging (dependencies handled by +system utility tools such as APT) and the usable cubes at the time the +base is created (import_erschema('MyCube') will not properly work +otherwise). .. note::