Re: [PATCH v2] docs: automatic redirects for moved pages

From: Jonathan Corbet
Date: Mon May 01 2023 - 09:31:34 EST


Costa Shulyupin <costa.shul@xxxxxxxxxx> writes:

> Problems:
> - The documentation is not well-organized
> - Relocating pages disrupts external links to
> the documentation and causes confusion for users
>
> Benefits:
> - Users can easily access relocated pages from external resources
> - Using redirects frees up options for reorganizing the documentation
>
> The solution:
> - To prevent the need for ongoing maintenance, extract renames
> from git log since specified age
> - Input the renames into sphinx_reredirects module
>
> Signed-off-by: Costa Shulyupin <costa.shul@xxxxxxxxxx>
>
> ---
>
> Changes:
> - added the extraction of renames from Git.
>
> ---
> Documentation/Makefile | 8 +++++++-
> Documentation/conf.py | 17 ++++++++++++++++-
> Documentation/sphinx/requirements.txt | 1 +
> 3 files changed, 24 insertions(+), 2 deletions(-)

So this adds another time-consuming process to the docs build,
generating over 2600 redirects, and breaking the build if it's not done
in a git tree. All for a problem that still has not actually been
demonstrated to exist.

Costa, I appreciate that you are trying to help, but this is getting
worse, not better. Please, let's wait until an actual problem arises,
then we can talk about the best way to address it.

Thanks,

jon