bpo-37504: Fix documentation build with texinfo builder (GH-14606)

In the table model used by docutils, the `cols` attribute of `tgroup`
nodes is mandatory, see [1]. It is used in texinfo builder in [2].

[1]: https://www.oasis-open.org/specs/tm9901.htm#AEN348
[2]: https://github.com/sphinx-doc/sphinx/blob/v2.1.2/sphinx/writers/texinfo.py#L1129

* Doc: Add texinfo support to the Makefile
This commit is contained in:
Dmitry Shachnev 2019-09-10 17:40:50 +03:00 committed by Steve Dower
parent a39a4c7439
commit c3d679fd39
2 changed files with 19 additions and 1 deletions

View file

@ -540,6 +540,7 @@ def process_audit_events(app, doctree, fromdocname):
nodes.colspec(colwidth=30),
nodes.colspec(colwidth=55),
nodes.colspec(colwidth=15),
cols=3,
)
head = nodes.thead()
body = nodes.tbody()