mirror of https://github.com/kivy/kivy.git
doc: sort submodules by summary, not by name. This is needed to have a consistent menu.
This commit is contained in:
parent
422dc30dc2
commit
e541ff3640
|
@ -170,7 +170,7 @@ for package in packages:
|
||||||
|
|
||||||
# search modules
|
# search modules
|
||||||
m = modules.keys()
|
m = modules.keys()
|
||||||
m.sort()
|
m.sort(key=lambda x: extract_summary_line(sys.modules[x].__doc__))
|
||||||
for module in m:
|
for module in m:
|
||||||
packagemodule = module.rsplit('.', 1)[0]
|
packagemodule = module.rsplit('.', 1)[0]
|
||||||
if packagemodule != package:
|
if packagemodule != package:
|
||||||
|
|
Loading…
Reference in New Issue