[doc] better documentation for "cubicweb-ctl newcube"
authorPhilippe Pepiot <philippe.pepiot@logilab.fr>
Thu, 28 Mar 2019 10:11:36 +0100
changeset 12548 6eec3213bec9
parent 12547 a11119d327e4
child 12549 e2db422752b4
[doc] better documentation for "cubicweb-ctl newcube" cubicweb-ctl newcube create cubicweb-<name> in current directory.
doc/tutorials/base/customizing-the-application.rst
--- a/doc/tutorials/base/customizing-the-application.rst	Thu Mar 28 10:09:49 2019 +0100
+++ b/doc/tutorials/base/customizing-the-application.rst	Thu Mar 28 10:11:36 2019 +0100
@@ -26,20 +26,8 @@
 
   cubicweb-ctl newcube myblog
 
-This will create in the cubes directory (:file:`/path/to/grshell/cubes` for source
-installation, :file:`/usr/share/cubicweb/cubes` for Debian packages installation)
-a directory named :file:`blog` reflecting the structure described in
-:ref:`cubelayout`.
-
-For packages installation, you can still create new cubes in your home directory
-using the following configuration. Let's say you want to develop your new cubes
-in `~src/cubes`, then set the following environment variables: ::
-
-  CW_CUBES_PATH=~/src/cubes
-
-and then create your new cube using: ::
-
-  cubicweb-ctl newcube --directory=~/src/cubes myblog
+This will create a a directory named :file:`cubicweb-myblog` reflecting the
+structure described in :ref:`cubelayout`.
 
 .. Note::
 
@@ -58,7 +46,7 @@
 
 .. sourcecode:: python
 
-   __depends__ =  {'cubicweb': '>= 3.10.7',
+   __depends__ =  {'cubicweb': '>= 3.24.0',
                    'cubicweb-blog': None}
 
 where the ``None`` means we do not depends on a particular version of the cube.