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>
# Based on https://github.com/pydata/pydata-sphinx-theme
-from packaging.version import Version
-
from docutils import nodes
import sphinx
# 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(",")]