Merge "Make a backward compatible docutils fix"

changes/15/442215/1
Jenkins 6 years ago committed by Gerrit Code Review
commit 0e14807eb4
  1. 4
      doc/source/ext/tablefromtext.py

@ -59,7 +59,9 @@ class TableFromText(Table):
tgroup = nodes.tgroup(max_cols)
table += tgroup
col_widths = self.get_column_widths(max_cols)[1]
col_widths = self.get_column_widths(max_cols)
if isinstance(col_widths, tuple):
col_widths = col_widths[1]
tgroup.extend(nodes.colspec(colwidth=col_width) for
col_width in col_widths)

Loading…
Cancel
Save