Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
cubicweb
cubes
basket
Commits
f82e8285f715
Commit
9ec6b672
authored
Feb 10, 2010
by
Sylvain Thénault
Browse files
some cube documentation
parent
f027538709ae
Changes
1
Hide whitespace changes
Inline
Side-by-side
__pkginfo__.py
View file @
f82e8285
...
...
@@ -15,10 +15,28 @@ author = "Logilab"
author_email
=
"contact@logilab.fr"
web
=
'http://www.cubicweb.org/project/%s'
%
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
=
"""
\
Summary
-------
This cube provides a shopping cart functionality.
Usage
-----
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 http://www.cubicweb.org
"""
classifiers
=
[
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment