Re: [PATCH] docs: Raise the minimum Sphinx requirement to 2.4.4

From: Jonathan Corbet
Date: Tue Nov 28 2023 - 09:42:20 EST


Mauro Carvalho Chehab <mchehab@xxxxxxxxxx> writes:

> Em Mon, 27 Nov 2023 16:31:39 -0700
> Jonathan Corbet <corbet@xxxxxxx> escreveu:

>> diff --git a/scripts/sphinx-pre-install b/scripts/sphinx-pre-install
>> index 1fb88fdceec3..db75b1b86086 100755
>> --- a/scripts/sphinx-pre-install
>> +++ b/scripts/sphinx-pre-install
>> @@ -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.0";
>
> Please don't. 3.0 version has a broken C domain, not properly supported.
> The fixes arrived only starting at 3.1 (I guess some went to 3.2, but
> 3.1 is usable, as far as I remember).

So you're asking for 3.1 or 3.2 instead of 3.0?

Honestly, I just picked 3.0 out of the air in the hopes of eventually
deprecating 2.x. Not lots of thought has gone into that
number...perhaps we should recommend higher yet?

Thanks,

jon