equal
deleted
inserted
replaced
1405 from .. import commands, help as helpmod # avoid cycle |
1405 from .. import commands, help as helpmod # avoid cycle |
1406 |
1406 |
1407 topicname = web.req.qsparams.get('node') |
1407 topicname = web.req.qsparams.get('node') |
1408 if not topicname: |
1408 if not topicname: |
1409 def topics(context): |
1409 def topics(context): |
1410 for entries, summary, _doc in helpmod.helptable: |
1410 for h in helpmod.helptable: |
|
1411 entries, summary, _doc = h[0:3] |
1411 yield {'topic': entries[0], 'summary': summary} |
1412 yield {'topic': entries[0], 'summary': summary} |
1412 |
1413 |
1413 early, other = [], [] |
1414 early, other = [], [] |
1414 primary = lambda s: s.partition('|')[0] |
1415 primary = lambda s: s.partition('|')[0] |
1415 for c, e in commands.table.iteritems(): |
1416 for c, e in commands.table.iteritems(): |