mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Always use longtables for autosummary.
This commit is contained in:
parent
19adf65faa
commit
6479b74f45
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user