Permalink
Browse files

Documentation cleanup

  • Loading branch information...
1 parent de27799 commit 1f55e3a1dc75023359e49c72979ecd9b6e6b0337 @fdev31 committed Apr 8, 2012
No changes.
@@ -14,65 +14,6 @@ drink.ListPage
.. autosummary::
~ListPage.__init__
- ~ListPage.add
- ~ListPage.borrow
- ~ListPage.clear
- ~ListPage.copy
- ~ListPage.edit
- ~ListPage.fromkeys
- ~ListPage.gallery
- ~ListPage.get
- ~ListPage.get_field
- ~ListPage.has_key
- ~ListPage.items
- ~ListPage.iteritems
- ~ListPage.iterkeys
- ~ListPage.itervalues
- ~ListPage.keys
- ~ListPage.list
- ~ListPage.match
- ~ListPage.move
- ~ListPage.pop
- ~ListPage.popitem
~ListPage.reset_items
- ~ListPage.rm
- ~ListPage.serialize
- ~ListPage.set_field
- ~ListPage.setdefault
- ~ListPage.struct
- ~ListPage.update
- ~ListPage.upload
- ~ListPage.values
- ~ListPage.view
-
-
-
- .. rubric:: Attributes
-
- .. autosummary::
-
- ~ListPage.actions
- ~ListPage.admin_fields
- ~ListPage.classes
- ~ListPage.css
- ~ListPage.default_action
- ~ListPage.description
- ~ListPage.drink_name
- ~ListPage.editable_fields
- ~ListPage.forced_order
- ~ListPage.hidden_class
- ~ListPage.html
- ~ListPage.indexable
- ~ListPage.items_factory
- ~ListPage.js
- ~ListPage.mime
- ~ListPage.min_rights
- ~ListPage.owner_fields
- ~ListPage.path
- ~ListPage.quoted_id
- ~ListPage.quoted_path
- ~ListPage.upload_map
-
-
@@ -7,6 +7,7 @@ drink.Page
.. automethod:: __init__
+ .. automethod:: _edit
.. rubric:: Methods
@@ -19,6 +20,7 @@ drink.Page
~Page.clear
~Page.copy
~Page.edit
+ ~Page._edit
~Page.fromkeys
~Page.gallery
~Page.get
@@ -49,26 +51,35 @@ drink.Page
.. rubric:: Attributes
+ .. autoattribute:: _items_factory
+ .. autoattribute:: _loaders
+ .. autoattribute:: _actions
+ .. autoattribute:: _add_hooks
+ .. autoattribute:: _remove_hooks
+
.. autosummary::
- ~Page.actions
+ ~Page.editable_fields
~Page.admin_fields
+ ~Page.owner_fields
~Page.classes
~Page.css
- ~Page.default_action
+ ~Page.html
+ ~Page.js
~Page.description
- ~Page.editable_fields
~Page.hidden_class
- ~Page.html
~Page.indexable
- ~Page.items_factory
- ~Page.js
+ ~Page._items_factory
+ ~Page._add_hooks
+ ~Page._remove_hooks
+ ~Page._loaders
+ ~Page.default_action
+ ~Page._actions
~Page.mime
~Page.min_rights
- ~Page.owner_fields
~Page.path
~Page.quoted_id
~Page.quoted_path
~Page.upload_map
-
+
@@ -3,4 +3,4 @@ drink.objects.generic.WebFile
.. currentmodule:: drink.objects.generic
-.. autodata:: WebFile
+.. autoclass:: WebFile
@@ -17,8 +17,11 @@ drink.types
.. rubric:: Classes
+ .. autoclass:: _Editable
+
.. autosummary::
+ _Editable
BoolOption
CheckboxSet
Choice
View
@@ -231,5 +231,5 @@
autosummary_generate = True
autoclass_content = "both"
autodoc_member_order = "bysource"
-autodoc_default_flags = ('members', 'undoc-members', 'show-inheritance', 'inherited')
+autodoc_default_flags = ('members', 'undoc-members', 'show-inheritance') #, 'inherited')
@@ -125,3 +125,4 @@ Builtin object types
finder.ObjectBrowser
filesystem.Filesystem
sonic.SonicHome
+
View
@@ -2,8 +2,8 @@
'Text', 'TextArea', 'GroupListArea', 'GroupCheckBoxes',
'CheckboxSet', 'BoolOption',
'Mime', 'Choice', 'Link',
- 'Date',
- 'Id', 'Int', 'Password', 'File']
+ 'Date', 'Duration', 'EasyPermissions',
+ 'Id', 'Float', 'Int', 'Password', 'File']
import os
import drink
@@ -12,6 +12,7 @@
from time import mktime, strptime
class _Editable(object):
+ """ Abstract class for any editable type """
form_attr = None
@@ -1,5 +1,5 @@
# replace "database" with full path of database folder
-%define DATADIR database
+%define DATADIR /tmp/foo_/database/
<zeo>
address ${DATADIR}zeo.sock
read-only false

0 comments on commit 1f55e3a

Please sign in to comment.