[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20221006064152.0c82a351@sal.lan>
Date: Thu, 6 Oct 2022 06:41:52 +0100
From: Mauro Carvalho Chehab <mchehab@...nel.org>
To: Jonathan Corbet <corbet@....net>
Cc: linux-doc@...r.kernel.org, linux-kernel@...r.kernel.org,
Jani Nikula <jani.nikula@...ux.intel.com>
Subject: Re: [PATCH 5/5] docs: improve the HTML formatting of kerneldoc
comments
Em Wed, 05 Oct 2022 09:29:45 -0600
Jonathan Corbet <corbet@....net> escreveu:
> Mauro Carvalho Chehab <mchehab@...nel.org> writes:
> > Also, when the container directive was introduced? Does it affect
> > the minimal Sphinx version we support? It seems that this was old
> > enough to not require any changes at the minimal version, but,
> > from https://www.sphinx-doc.org/en/master/changes.html, it seems
> > that LaTeX support for it was added only at Sphinx v4.1 on this PR:
> >
> > https://github.com/sphinx-doc/sphinx/pull/9166
> >
> > So, we need to double-check if are there any changes before and after
> > such version at the places container is used - or change the kerneldoc
> > to only emit such tags on PDF depending on the Sphinx version.
>
> I've tested things as far back as 2.4.5, where all is well. I don't
> currently have a machine that is capable of running earlier versions;
> I'll need to conjure one of those up, I guess.
>
> (Either that or just bite the bullet and move the minimum version
> forward!)
I would just set 2.4.4 as the minimal version. This is already
the minimal version for PDF output anyway:
my $rec_version = "1.7.9"; # PDF won't build here
my $min_pdf_version = "2.4.4"; # Min version where pdf builds
and requirements.txt also sets to it. Yet, it would be nice to
change requirements to 2.4.5 as the default pip-installed version.
Regards,
Mauro
Powered by blists - more mailing lists