[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20230501002021.44800b38@sal.lan>
Date: Mon, 1 May 2023 00:20:21 +0100
From: Mauro Carvalho Chehab <mchehab@...nel.org>
To: Jonathan Corbet <corbet@....net>
Cc: Costa Shulyupin <costa.shul@...hat.com>, linux-doc@...r.kernel.org,
open list <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] docs: redirect from old arch to the new one
Em Fri, 28 Apr 2023 07:22:53 -0600
Jonathan Corbet <corbet@....net> escreveu:
> Mauro Carvalho Chehab <mchehab@...nel.org> writes:
>
> > Again, as this is something that only applies to websites hosting
> > documentation, IMO the best would be to have a separate file
> > ("conf_redirects.py") included on conf.py, that will be
> > auto-generated by a script that would receive, as input, the
> > initial Kernel version where redirects should be preserved.
>
> ...but again...I think we should observe an actual problem before we
> start adding any of this. Otherwise we'll just end up carrying a bunch
> of cruft indefinitely.
Agreed. Just saying that, if this is a real problem, a custom conf.py
would be the best approach.
Btw, if I'm not mistaken, our building system already allows it via:
make SPHINX_CONF=conf-redirects.py htmldocs
I suspect that it would be possible to add redirects extension and
its parameters on it, if someone ever needs it. No need to carry
such stuff at the Kernel upstream, as this would very likely limited
to some web sites that would be interested on keeping links to
old documentation's location.
Regards,
Mauro
Powered by blists - more mailing lists