Add inheritance diagram to documentation.
authorRadek Brich <radek.brich@devl.cz>
Mon, 12 Sep 2011 13:30:31 +0200
changeset 14 1f2ff9d3c7f9
parent 13 19ebde2fd594
child 15 c55b4749e562
Add inheritance diagram to documentation.
docs/button.rst
docs/conf.py
docs/index.rst
--- a/docs/button.rst	Thu Sep 08 11:37:27 2011 +0200
+++ b/docs/button.rst	Mon Sep 12 13:30:31 2011 +0200
@@ -5,9 +5,7 @@
    :maxdepth: 3
    :titlesonly:
 
-   window
-
-.. automodule:: tuikit.container
+.. automodule:: tuikit.button
    :members:
    :show-inheritance:
 
--- a/docs/conf.py	Thu Sep 08 11:37:27 2011 +0200
+++ b/docs/conf.py	Mon Sep 12 13:30:31 2011 +0200
@@ -22,7 +22,7 @@
 
 # Add any Sphinx extension module names here, as strings. They can be extensions
 # coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
-extensions = ['sphinx.ext.autodoc', 'sphinx.ext.doctest', 'sphinx.ext.todo']
+extensions = ['sphinx.ext.autodoc', 'sphinx.ext.doctest', 'sphinx.ext.todo', 'sphinx.ext.inheritance_diagram', 'sphinx.ext.viewcode']
 
 # Add any paths that contain templates here, relative to this directory.
 templates_path = ['_templates']
--- a/docs/index.rst	Thu Sep 08 11:37:27 2011 +0200
+++ b/docs/index.rst	Mon Sep 12 13:30:31 2011 +0200
@@ -13,3 +13,19 @@
    redraw
    colors
 
+.. inheritance-diagram:: tuikit.application
+                         tuikit.eventsource
+                         tuikit.widget
+                         tuikit.container
+                         tuikit.window
+                         tuikit.button
+                         tuikit.label
+                         tuikit.scrollbar
+                         tuikit.textedit
+                         tuikit.editfield
+                         tuikit.editbox
+                         tuikit.combobox
+                         tuikit.menu
+                         tuikit.menubar
+                         tuikit.treeview
+                         
\ No newline at end of file