From a1e7b16a17f006d6a5d90668d2d108149bcbfa2a Mon Sep 17 00:00:00 2001 From: Otto Winter Date: Thu, 16 Jun 2022 09:47:02 +0200 Subject: [PATCH] Bump sphinx from 4.3.2 to 5.0.1 (#2128) --- github.py | 4 ++-- requirements.txt | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/github.py b/github.py index 98f178f77..ff405e9eb 100644 --- a/github.py +++ b/github.py @@ -137,15 +137,15 @@ class ImageTableDirective(Table): } ) - col_widths = self.get_column_widths(cols) title, messages = self.make_title() table = nodes.table() table["classes"].append("table-center") + table["classes"].append("colwidths-given") # Set up column specifications based on widths tgroup = nodes.tgroup(cols=cols) table += tgroup - tgroup.extend(nodes.colspec(colwidth=col_width) for col_width in col_widths) + tgroup.extend(nodes.colspec(colwidth=1) for _ in range(cols)) tbody = nodes.tbody() tgroup += tbody diff --git a/requirements.txt b/requirements.txt index fd427e3c5..a7f08038b 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,2 +1,2 @@ -sphinx==4.3.2 +sphinx==5.0.1 sphinx-autobuild==2021.3.14