Re: [PATCH] docs: sphinx-extensions: make rstFlatTable work with docutils 0.13

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Dec 18, 2016 at 01:38:42PM -0700, Jonathan Corbet wrote:
> > In docutils 0.13, the return type of get_column_widths method of the
> > Table directive has changed [1], which breaks our flat-table directive
> > and leads to a TypeError when trying to build the docs [2].
> >
> > This patch adds support for the new return type, while keeping support
> > for older docutils versions too.
>
> OK, I pulled in docutils 0.13 (virtualenv is great stuff) and was able to
> verify both the problem and the fix.  Applied to doc-next with a
> cc: stable.  I'll send it Linusward in the near future.

Just a small update: the breaking change was reverted [1] in docutils
yesterday, so in the next release (0.13.2) get_column_widths() should return
a list again.

(My patch should continue working fine.)

[1]: https://sourceforge.net/p/docutils/code/8010/

--
Dmitry Shachnev

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux