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