mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 02:58:05 +02:00
docs: remove support for old sphinx-versions
We're not using them, so no point in keeping support around. Reviewed-by: Eric Engestrom <eric@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8399>
This commit is contained in:
parent
e64dae9441
commit
3b6f549e96
1 changed files with 1 additions and 6 deletions
|
|
@ -30,8 +30,6 @@
|
|||
|
||||
# Based on https://github.com/pydata/pydata-sphinx-theme
|
||||
|
||||
from packaging.version import Version
|
||||
|
||||
from docutils import nodes
|
||||
|
||||
import sphinx
|
||||
|
|
@ -77,10 +75,7 @@ class BootstrapHTML5TranslatorMixin:
|
|||
# init the attributes
|
||||
atts = {}
|
||||
|
||||
if Version(sphinx.__version__) < Version("4.3"):
|
||||
self._table_row_index = 0
|
||||
else:
|
||||
self._table_row_indices.append(0)
|
||||
self._table_row_indices.append(0)
|
||||
|
||||
# get the classes
|
||||
classes = [cls.strip(" \t\n") for cls in self.settings.table_style.split(",")]
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue