Fix #2565: The descriptions of objects generated by `sphinx.ext.autosummary` overflow lines at LaTeX writer

This commit is contained in:
Takeshi KOMIYA
2016-05-24 23:47:06 +09:00
parent 881455ca4b
commit 4c2d679815
2 changed files with 2 additions and 1 deletions

View File

@@ -62,6 +62,7 @@ Bugs fixed
* #2518: `intersphinx_mapping` disallows non alphanumeric keys * #2518: `intersphinx_mapping` disallows non alphanumeric keys
* #2558: unpack error on devhelp builder * #2558: unpack error on devhelp builder
* #2561: Info builder crashes when a footnote contains a link * #2561: Info builder crashes when a footnote contains a link
* #2565: The descriptions of objects generated by ``sphinx.ext.autosummary`` overflow lines at LaTeX writer
Release 1.4.1 (released Apr 12, 2016) Release 1.4.1 (released Apr 12, 2016)

View File

@@ -337,7 +337,7 @@ class Autosummary(Directive):
*items* is a list produced by :meth:`get_items`. *items* is a list produced by :meth:`get_items`.
""" """
table_spec = addnodes.tabular_col_spec() table_spec = addnodes.tabular_col_spec()
table_spec['spec'] = 'll' table_spec['spec'] = 'p{0.5\linewidth}p{0.5\linewidth}'
table = autosummary_table('') table = autosummary_table('')
real_table = nodes.table('', classes=['longtable']) real_table = nodes.table('', classes=['longtable'])