summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2011-09-21 09:09:57 +0200
committerGeorg Brandl <georg@python.org>2011-09-21 09:09:57 +0200
commit5da215981b7e70ebd7e1643303dc92f0a51ad2b2 (patch)
treeaf01eb4beb667e1bc8d6089b1cb76c659850a4bc
parent45e65d59bcdf2aa1155db32b81c4e4792ec5c50a (diff)
downloadsphinx-5da215981b7e70ebd7e1643303dc92f0a51ad2b2.tar.gz
Always use longtables for autosummary.
-rw-r--r--sphinx/ext/autosummary/__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/sphinx/ext/autosummary/__init__.py b/sphinx/ext/autosummary/__init__.py
index dace837f..a194fba8 100644
--- a/sphinx/ext/autosummary/__init__.py
+++ b/sphinx/ext/autosummary/__init__.py
@@ -285,10 +285,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)