mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-03-22 15:36:55 +08:00
docs: Raise the minimum Sphinx requirement to 2.4.4
Commit 31abfdda65 (docs: Deprecate use of Sphinx < 2.4.x) in 6.2 added a
warning that support for older versions of Sphinx would be going away.
There have been no complaints, so the time has come. Raise the minimum
Sphinx version to 2.4.4 and clean out some compatibility code that we no
longer need.
Reviewed-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Link: https://lore.kernel.org/r/874jgs47fq.fsf@meer.lwn.net
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
This commit is contained in:
@@ -32,8 +32,7 @@ my $python_cmd = "";
|
||||
my $activate_cmd;
|
||||
my $min_version;
|
||||
my $cur_version;
|
||||
my $rec_version = "1.7.9"; # PDF won't build here
|
||||
my $min_pdf_version = "2.4.4"; # Min version where pdf builds
|
||||
my $rec_version = "3.4.3";
|
||||
my $latest_avail_ver;
|
||||
|
||||
#
|
||||
@@ -791,9 +790,6 @@ sub recommend_sphinx_version($)
|
||||
|
||||
# Version is OK. Nothing to do.
|
||||
if ($cur_version && ($cur_version ge $rec_version)) {
|
||||
if ($cur_version lt $min_pdf_version) {
|
||||
print "note: If you want pdf, you need at least Sphinx $min_pdf_version.\n";
|
||||
}
|
||||
return;
|
||||
};
|
||||
|
||||
@@ -842,10 +838,6 @@ sub recommend_sphinx_version($)
|
||||
printf "\t. $activate_cmd\n";
|
||||
deactivate_help();
|
||||
|
||||
if ($latest_avail_ver lt $min_pdf_version) {
|
||||
print "note: If you want pdf, you need at least Sphinx $min_pdf_version.\n";
|
||||
}
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user