mirror of
https://github.com/python/cpython.git
synced 2025-08-30 21:48:47 +00:00
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 c3d679fd39
)
Co-authored-by: Dmitry Shachnev <mitya57@users.noreply.github.com>
This commit is contained in:
parent
41c965f930
commit
313f80192a
2 changed files with 19 additions and 1 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue