mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2026-09-03 20:52:55 -05:00
#651: sort undocumented classes alphabetically.
This commit is contained in:
@@ -213,7 +213,7 @@ class CoverageBuilder(Builder):
|
||||
op.write('\n')
|
||||
if undoc['classes']:
|
||||
op.write('Classes:\n')
|
||||
for name, methods in undoc['classes'].iteritems():
|
||||
for name, methods in sorted(undoc['classes'].iteritems()):
|
||||
if not methods:
|
||||
op.write(' * %s\n' % name)
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user