History

docs: Raise the minimum Sphinx requirement to 2.4.4

Commit 31abfdda6527 (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.

Jonathan Corbet committed 2 years ago

Commit 3e893e11 parent 50709577 files · +7 −29Browse files

Showing the changes to scripts (1 of 7 files). Show all

Unified · Split

scripts/sphinx-pre-install+1−9
@@ -32,8 +32,7 @@ my $python_cmd = ""; · 31 unmodified lines
3232 my $activate_cmd;
3333 my $min_version;
3434 my $cur_version;
35−my $rec_version = "1.7.9"; # PDF won't build here
36−my $min_pdf_version = "2.4.4"; # Min version where pdf builds
35+my $rec_version = "3.4.3";
3736 my $latest_avail_ver;
3837
3938 #
@@ -791,9 +790,6 @@ sub recommend_sphinx_version($) · 751 unmodified lines
791790
792791 # Version is OK. Nothing to do.
793792 if ($cur_version && ($cur_version ge $rec_version)) {
794− if ($cur_version lt $min_pdf_version) {
795− print "note: If you want pdf, you need at least Sphinx $min_pdf_version.\n";
796− }
797793 return;
798794 };
799795
@@ -842,10 +838,6 @@ sub recommend_sphinx_version($) · 42 unmodified lines
842838 printf "\t. $activate_cmd\n";
843839 deactivate_help();
844840
845− if ($latest_avail_ver lt $min_pdf_version) {
846− print "note: If you want pdf, you need at least Sphinx $min_pdf_version.\n";
847− }
848−
849841 return;
850842 }
851843