Add inheritance diagram to documentation.
--- 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