Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp4829754rwr; Sun, 30 Apr 2023 16:35:55 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ76dLfVhuzkvcdPgDgh05Q97JL4JV0Zu/JHdCeVp3cBIsTLAE2r1SU+sgFVY75WUsPbjUI3 X-Received: by 2002:a17:903:24f:b0:1a9:8d57:6d6c with SMTP id j15-20020a170903024f00b001a98d576d6cmr13777236plh.24.1682897755412; Sun, 30 Apr 2023 16:35:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682897755; cv=none; d=google.com; s=arc-20160816; b=tB0qu6l5uQqd+wbmuwWOLyPGXUlXn3vJlLJDSEgJbGyCliXlfbClg+6luZ3d2e7iuR mqvnauVivGNp+dNEk8/4kURUUpQ7UR5AoDhrNHXm5svICjyYUrB60huzw33zsE784bHl 0nJ0+AFKNbDBjCARZ0fHDEGjCuuh/RDIYAhbQ+2g2bXICYtYpN6uOI+hce5S2X1F6Ezn jN8Swp0wCZjtGSGFhwMuucdtSpDRE31AzKdsZrKh+qkdzyofOYwKI8QF5dj4t8dsnG2V tMjRzgijKD9jB7ti2maPUnHbkaPjeSm4A0dLmvcHHrhcuyA1W9pyR6hS0B8NCXOYpL7c kffw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=OkbwK5U+ttwluOIg1Jp0DVr0qGrKbsIhZniMOA2QCTI=; b=G41rrvNkymeiwUFoh4N+Q6fgtNz/orjpFYGFoweS98Nd+Im0u2dNyU8IMGsCeATg33 bVmdK3J9Q196Alqr55Yl8RXBnDXD+cTJYoNaErGZpbxnV5jccW1meVM4TF0yelU7WjjW l6OvWsis1FmjK+vmUcAyxcR5JVsPfY2gsmNo6vUHXinHJDg7Se3gH4IEZk5x6ulxu8yf 9IA7XyGC1LTLsuj/EqBaxQd4px9056arBZxpkP1DV3Pklsoeq2NeHLILLRKCck5mphu6 TpOrUzaFsFAje7az0k01jGb7EHe7owUqIvyEAsn2gj+oPVXLDgBgl8Txm9aqtWjNgRx8 +pYQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=KT6OpYn9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bc11-20020a170902930b00b001a043389a7asi24602994plb.310.2023.04.30.16.35.44; Sun, 30 Apr 2023 16:35:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=KT6OpYn9; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229916AbjD3XUa (ORCPT + 99 others); Sun, 30 Apr 2023 19:20:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50610 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229531AbjD3XU3 (ORCPT ); Sun, 30 Apr 2023 19:20:29 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C9ABF1B9; Sun, 30 Apr 2023 16:20:27 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 6658360EAB; Sun, 30 Apr 2023 23:20:27 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 67117C433D2; Sun, 30 Apr 2023 23:20:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1682896826; bh=Wby4jXsEn2wWUqVyugy9IuYPaC6jAOlmbTtdvi9V4vI=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=KT6OpYn9ZbW4V75+jRcBMPQCEF9gho+yjl3y9zBcpb8rhVvamCL8DZF4Ouhci2ZFh sJ496HtpJtXz5rJ0eGRiqtLpPntMZowuseux1dgTETN5LziyOFLNlnzPrUuBbLz24M y+YcMYlgnEDKQwGFf2UyjPvy9EV3CPqoKj1wnEbe7JwNiBrtQFYHJVHy0MdnHwXcrw Y7wlMrCMnfs/ykwyfYaQCUaISqvuIXSgWCwuGnrNz75x440+YwSpGPetoGN26wu+sz PSyBDfIPxk7D3mp0w3NzL29GfDDmuXIguWhk9vWzVbt6fbBPSSzD41r09ib9kZZUK3 lia+vPYT/644Q== Date: Mon, 1 May 2023 00:20:21 +0100 From: Mauro Carvalho Chehab To: Jonathan Corbet Cc: Costa Shulyupin , linux-doc@vger.kernel.org, open list Subject: Re: [PATCH] docs: redirect from old arch to the new one Message-ID: <20230501002021.44800b38@sal.lan> In-Reply-To: <87r0s4b0pe.fsf@meer.lwn.net> References: <20230427101241.1273752-1-costa.shul@redhat.com> <20230428132415.0d0f5a03@sal.lan> <87r0s4b0pe.fsf@meer.lwn.net> X-Mailer: Claws Mail 4.1.1 (GTK 3.24.37; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Fri, 28 Apr 2023 07:22:53 -0600 Jonathan Corbet escreveu: > Mauro Carvalho Chehab 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