1
0
Fork 0
remarkable-linux/Documentation/sphinx
Dmitry Shachnev 5bd6ccd9c9 docs: sphinx-extensions: make rstFlatTable work with docutils 0.13
commit 217e2bfab2 upstream.

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.

[1] https://sourceforge.net/p/docutils/patches/120/
[2] https://sourceforge.net/p/docutils/bugs/303/

Signed-off-by: Dmitry Shachnev <mitya57@debian.org>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2017-01-09 08:32:18 +01:00
..
cdomain.py doc-rst:c-domain: function-like macros arguments 2016-09-16 09:53:40 -06:00
convert_template.sed Documentation/sphinx: nicer referencing of struct in docbook->rst conversion 2016-05-30 13:38:54 +03:00
kernel-doc.py docs: sphinx-extensions: add metadata parallel-safe 2016-09-01 08:19:02 -06:00
kernel_include.py docs: sphinx-extensions: add metadata parallel-safe 2016-09-01 08:19:02 -06:00
load_config.py doc-rst: generic way to build only sphinx sub-folders 2016-08-14 11:51:51 -06:00
parse-headers.pl [media] docs-rst: parse-headers.pl: use the C domain for cross-references 2016-09-09 09:20:27 -03:00
post_convert.sed Documentation/sphinx: nicer referencing of struct in docbook->rst conversion 2016-05-30 13:38:54 +03:00
rstFlatTable.py docs: sphinx-extensions: make rstFlatTable work with docutils 0.13 2017-01-09 08:32:18 +01:00
tmplcvt sphinx: cheesy script to convert .tmpl files 2016-05-30 13:38:53 +03:00