summaryrefslogtreecommitdiffstats
path: root/Doc/tools
diff options
context:
space:
mode:
authorDmitry Shachnev <mitya57@users.noreply.github.com>2019-09-10 14:40:50 (GMT)
committerSteve Dower <steve.dower@python.org>2019-09-10 14:40:50 (GMT)
commitc3d679fd398f42a2e489fbe3dab17fac1fb2439c (patch)
tree75bc9a3346f181b7bbc74be148ea6b9b987a4772 /Doc/tools
parenta39a4c7439ed09069e619c10d30a6d0ec9332d1a (diff)
downloadcpython-c3d679fd398f42a2e489fbe3dab17fac1fb2439c.zip
cpython-c3d679fd398f42a2e489fbe3dab17fac1fb2439c.tar.gz
cpython-c3d679fd398f42a2e489fbe3dab17fac1fb2439c.tar.bz2
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
Diffstat (limited to 'Doc/tools')
-rw-r--r--Doc/tools/extensions/pyspecific.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Doc/tools/extensions/pyspecific.py b/Doc/tools/extensions/pyspecific.py
index 975c87d..4e2ad7f 100644
--- a/Doc/tools/extensions/pyspecific.py
+++ b/Doc/tools/extensions/pyspecific.py
@@ -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()