Skip to content

Commit

Permalink
Sort eo tasks in the documentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
tomislijepcevic committed Jul 16, 2018
1 parent 4de9ec5 commit ebf31cd
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,12 @@ def get_eotasks():
''')

for eotask in get_eotasks():
eotask_name = eotask.__module__[8:] + "." + eotask.__name__
f.write('\t' + eotask_name + '\n')
eotasks = [
eotask.__module__[8:] + "." + eotask.__name__
for eotask in get_eotasks()
]

eotasks.sort()

for eotask in eotasks:
f.write('\t' + eotask + '\n')

0 comments on commit ebf31cd

Please sign in to comment.