Merged in minrk/sphinx/minrk/sort-inheritance-diagram (pull request #183)

sort class items in inheritance_diagram
This commit is contained in:
Georg Brandl 2013-10-22 08:10:19 +02:00
commit be2f018150

View File

@ -241,7 +241,7 @@ class InheritanceGraph(object):
res.append('digraph %s {\n' % name)
res.append(self._format_graph_attrs(g_attrs))
for cls, (name, fullname, bases) in self.class_info.items():
for cls, (name, fullname, bases) in sorted(self.class_info.items()):
# Write the node
this_node_attrs = n_attrs.copy()
if fullname in urls: