summaryrefslogtreecommitdiffstats
path: root/Doc/tools/extensions/pyspecific.py
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2019-09-10 14:51:43 (GMT)
committerSteve Dower <steve.dower@python.org>2019-09-10 14:51:43 (GMT)
commit313f80192a7396ea3e5ab107175afe4c5a017ab8 (patch)
tree2b100bd82441f487e23b618dffbb6dd1644c0221 /Doc/tools/extensions/pyspecific.py
parent41c965f93007b53710b9f63918f6710dde321226 (diff)
downloadcpython-313f80192a7396ea3e5ab107175afe4c5a017ab8.zip
cpython-313f80192a7396ea3e5ab107175afe4c5a017ab8.tar.gz
cpython-313f80192a7396ea3e5ab107175afe4c5a017ab8.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.htmGH-AEN348 [2]: https://github.com/sphinx-doc/sphinx/blob/v2.1.2/sphinx/writers/texinfo.pyGH-L1129 * Doc: Add texinfo support to the Makefile (cherry picked from commit c3d679fd398f42a2e489fbe3dab17fac1fb2439c) Co-authored-by: Dmitry Shachnev <mitya57@users.noreply.github.com>
Diffstat (limited to 'Doc/tools/extensions/pyspecific.py')
-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 f41077b..82dfc6b 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()