On Mon, Feb 21, 2011 at 8:08 AM, werner <wbru...@free.fr> wrote: > On 21/02/2011 16:44, TP wrote: >> >> For one example of how to document a Python method see >> >> http://tpgit.github.com/MDIImageViewer/imageviewer.html#imageviewer.ImageViewer.scaleImage. >> Click on the [source] link on the right to see the actual Python >> method (along with its docstring that generated the documentation). >> > What causes the Inheritance diagram to go top/down instead of right/left? > Is this some conf.py setting or ...? > > I am working on documenting Dabo with Sphinx and if you look at this page > you can see my problem with the inheritance diagram. > > http://thewinecellarbook.com/daboDocTest/dabo.ui.dButton.dButton.html > > Werner > > -- > You received this message because you are subscribed to the Google Groups > "sphinx-dev" group. > To post to this group, send email to sphinx-dev@googlegroups.com. > To unsubscribe from this group, send email to > sphinx-dev+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/sphinx-dev?hl=en. > >
In my conf.py I have: inheritance_graph_attrs = dict(rankdir="TB") Use of which is mentioned at http://sphinx.pocoo.org/ext/inheritance.html#confval-inheritance_graph_attrs rankdir is somewhat documented at http://graphviz.org/doc/info/attrs.html#d:rankdir. -- TP -- You received this message because you are subscribed to the Google Groups "sphinx-dev" group. To post to this group, send email to sphinx-dev@googlegroups.com. To unsubscribe from this group, send email to sphinx-dev+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sphinx-dev?hl=en.