Bump sphinx from 4.3.2 to 5.0.1 (#2128)

This commit is contained in:
Otto Winter 2022-06-16 09:47:02 +02:00 committed by GitHub
parent 0e45d05810
commit a1e7b16a17
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -1,2 +1,2 @@
sphinx==4.3.2
sphinx==5.0.1
sphinx-autobuild==2021.3.14