Always use longtables for autosummary.

This commit is contained in:
Georg Brandl 2011-09-21 09:09:57 +02:00
parent 19adf65faa
commit 6479b74f45

View File

@ -296,10 +296,10 @@ class Autosummary(Directive):
*items* is a list produced by :meth:`get_items`.
"""
table_spec = addnodes.tabular_col_spec()
table_spec['spec'] = 'LL'
table_spec['spec'] = 'll'
table = autosummary_table('')
real_table = nodes.table('')
real_table = nodes.table('', classes=['longtable'])
table.append(real_table)
group = nodes.tgroup('', cols=2)
real_table.append(group)