diff options
author | Jonathan Corbet <corbet@lwn.net> | 2021-02-02 02:26:25 +0300 |
---|---|---|
committer | Jonathan Corbet <corbet@lwn.net> | 2021-02-02 02:29:12 +0300 |
commit | f546ff0c0c07969f2892db10f1fe029f841ddf10 (patch) | |
tree | 77d5c1d4f2f45f9d039232b91cc9d2867bba4f6f /Documentation/sphinx/cdomain.py | |
parent | 20ccc8dd38a391daba3a5a5dbd5443855100c517 (diff) | |
download | linux-f546ff0c0c07969f2892db10f1fe029f841ddf10.tar.xz |
Move our minimum Sphinx version to 1.7
As promised, drop support for some ancient sphinx releases, along with a
lot of the cruft that was required to make that support work.
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'Documentation/sphinx/cdomain.py')
-rw-r--r-- | Documentation/sphinx/cdomain.py | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/Documentation/sphinx/cdomain.py b/Documentation/sphinx/cdomain.py index 014a5229e57a..ca8ac9e59ded 100644 --- a/Documentation/sphinx/cdomain.py +++ b/Documentation/sphinx/cdomain.py @@ -236,13 +236,7 @@ class CObject(Base_CObject): indextext = self.get_index_text(name) if indextext: - if major == 1 and minor < 4: - # indexnode's tuple changed in 1.4 - # https://github.com/sphinx-doc/sphinx/commit/e6a5a3a92e938fcd75866b4227db9e0524d58f7c - self.indexnode['entries'].append( - ('single', indextext, targetname, '')) - else: - self.indexnode['entries'].append( + self.indexnode['entries'].append( ('single', indextext, targetname, '', None)) class CDomain(Base_CDomain): |