Commit 9ec6b672 authored by Sylvain Thénault's avatar Sylvain Thénault
Browse files

some cube documentation

parent f027538709ae
......@@ -15,10 +15,28 @@ author = "Logilab"
author_email = ""
web = '' % distname
short_desc = "basket component for the Cubicweb framework"
long_desc = """This Cubicweb component provides baskets as a way to select content.
short_desc = "shopping cart component for the CubicWeb framework"
long_desc = """\
This cube provides a shopping cart functionality.
By default, any entity can be added to a basket (this uses the
`in_basket` relation).
There is a box that displays all items in the basket. By default, this
box is hidden. To display it, add in a view this code:
.. sourcecode:: python
from cubes.basket.views import BasketBox
BasketBox.visible = True
CubicWeb is a semantic web application framework, see
classifiers = [
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment