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
commit1fd89ae860955ea9f7fb8d8fc4d0a1481bcb9bac (patch)
treebf02f91f7a633aacf5dc642aff34b3b3b4a0ea89
parent4383487295bfbcc634bad4ba3757ea7e256d8a95 (diff)
downloadsphinx-1fd89ae860955ea9f7fb8d8fc4d0a1481bcb9bac.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 32dcc3e4..0f5c2640 100644
--- a/sphinx/ext/autosummary/__init__.py
+++ b/sphinx/ext/autosummary/__init__.py
@@ -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)