# HG changeset patch # User Radek Brich # Date 1315827031 -7200 # Node ID 1f2ff9d3c7f9d7cb67a6468b2746c0cb26076e0d # Parent 19ebde2fd594a932257a4594ec1f8869c2d36dc5 Add inheritance diagram to documentation. diff -r 19ebde2fd594 -r 1f2ff9d3c7f9 docs/button.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: diff -r 19ebde2fd594 -r 1f2ff9d3c7f9 docs/conf.py --- 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'] diff -r 19ebde2fd594 -r 1f2ff9d3c7f9 docs/index.rst --- 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