projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ab9e1ac
)
docs: Note that sphinx 1.7 will be required soon
author
Jonathan Corbet
<corbet@lwn.net>
Mon, 30 Nov 2020 22:41:56 +0000
(15:41 -0700)
committer
Jonathan Corbet
<corbet@lwn.net>
Fri, 11 Dec 2020 20:53:38 +0000
(13:53 -0700)
The time has come to drop support for some truly ancient versions of
sphinx; put in a warning now.
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Documentation/conf.py
patch
|
blob
|
history
diff --git
a/Documentation/conf.py
b/Documentation/conf.py
index 26b54386a4778ad3b31e9b85918f96d4907be74a..6a767294887e940b4fbf79f6d31cd183e65f4222 100644
(file)
--- a/
Documentation/conf.py
+++ b/
Documentation/conf.py
@@
-112,6
+112,9
@@
if major >= 3:
else:
extensions.append('cdomain')
+ if major == 1 and minor < 7:
+ sys.stderr.write('WARNING: Sphinx 1.7 or greater will be required as of '
+ 'the 5.12 release\n')
# Ensure that autosectionlabel will produce unique names
autosectionlabel_prefix_document = True