doc: sort submodules by summary, not by name. This is needed to have a consistent menu.

This commit is contained in:
Mathieu Virbel 2012-07-16 17:21:45 +02:00
parent 422dc30dc2
commit e541ff3640
1 changed files with 1 additions and 1 deletions

View File

@ -170,7 +170,7 @@ for package in packages:
# search modules
m = modules.keys()
m.sort()
m.sort(key=lambda x: extract_summary_line(sys.modules[x].__doc__))
for module in m:
packagemodule = module.rsplit('.', 1)[0]
if packagemodule != package: