File tree 10 files changed +274
-48
lines changed
10 files changed +274
-48
lines changed Original file line number Diff line number Diff line change 1
1
[run]
2
- omit = *test*py
2
+ omit =
3
+ *test*py
4
+ kotti/alembic/*
Original file line number Diff line number Diff line change @@ -18,3 +18,4 @@ junit*.xml
18
18
.tox
19
19
* ~
20
20
* .swp
21
+ .cache
Original file line number Diff line number Diff line change @@ -10,6 +10,12 @@ API Documentation
10
10
.. automodule :: kotti.events
11
11
:members:
12
12
13
+ :mod: `kotti.interfaces `
14
+ -----------------------
15
+
16
+ .. automodule :: kotti.interfaces
17
+ :members:
18
+
13
19
:mod: `kotti.message `
14
20
--------------------
15
21
Original file line number Diff line number Diff line change 28
28
extensions = [
29
29
'sphinx.ext.autodoc' ,
30
30
'sphinx.ext.viewcode' ,
31
+ 'sphinx.ext.inheritance_diagram' ,
32
+ 'sphinx.ext.graphviz' ,
31
33
]
32
34
33
35
# Add any paths that contain templates here, relative to this directory.
Original file line number Diff line number Diff line change @@ -28,6 +28,12 @@ def document_insert_handler(event):
28
28
29
29
Listeners are generally called in the order in which they are
30
30
registered.
31
+
32
+ Inheritance Diagram
33
+ -------------------
34
+
35
+ .. inheritance-diagram:: kotti.events
36
+
31
37
"""
32
38
33
39
from collections import defaultdict
Original file line number Diff line number Diff line change
1
+ # -*- coding: utf-8 -*-
2
+ """
3
+
4
+ Inheritance Diagram
5
+ -------------------
6
+
7
+ .. inheritance-diagram:: kotti.interfaces
8
+ """
9
+
10
+ from zope .interface import Interface
11
+
12
+
13
+ class INode (Interface ):
14
+ """Marker interface for all nodes (and subclasses)"""
15
+
16
+ pass
17
+
18
+
19
+ class IContent (INode ):
20
+ """Marker interface for all nodes of type Content
21
+ (and subclasses thereof)"""
22
+
23
+ pass
24
+
25
+
26
+ class IDocument (IContent ):
27
+ """Marker interface for all nodes of type Document
28
+ (and subclasses thereof)"""
29
+
30
+ pass
31
+
32
+
33
+ class IFile (IContent ):
34
+ """Marker interface for all nodes of type File
35
+ (and subclasses thereof)"""
36
+
37
+ pass
38
+
39
+
40
+ class IImage (IFile ):
41
+ """Marker interface for all nodes of type Image
42
+ (and subclasses thereof)"""
43
+
44
+ pass
45
+
46
+
47
+ class IDefaultWorkflow (Interface ):
48
+ """Marker interface for content classes that want to use the
49
+ default workflow"""
50
+
51
+ pass
You can’t perform that action at this time.
0 commit comments