Received: by 2002:ab2:620c:0:b0:1ef:ffd0:ce49 with SMTP id o12csp397573lqt; Mon, 18 Mar 2024 10:53:27 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVMOW5QuilIvJx8eHoO6bMr4okky4FZ/UUK39gd6X09tEhgFIJAFW8iVb3aErBEVqyYwqc6l1heVrKbPFzpWJ8Rw0Y7xXE4tO9kDH1qCA== X-Google-Smtp-Source: AGHT+IH632B5BI86XGJ7L+307vdnqVuastRdGNMQ3HL1u5VkYWU5HxXeN6oUV0N2l3QXIEgpQlDb X-Received: by 2002:a05:6a20:e617:b0:1a3:55bf:beb9 with SMTP id my23-20020a056a20e61700b001a355bfbeb9mr6484773pzb.36.1710784407109; Mon, 18 Mar 2024 10:53:27 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710784407; cv=pass; d=google.com; s=arc-20160816; b=Q3CG7yC3Arml3/9DLh1juViX2CJ//YdIynW6itIslyNqKztztL2OXmWTtMoAeNmhES skBzxqTo4mAH/EdSM6sU2aVPxSAvFAOF9AWxYq2Mkr1tdBev536ZrQYDzGZCUuqtXurq MVgDWccrDeqCuc65jph5z+f20bCkYDU6JSZZV6lLiGuIxLAZFnDmNiANXTh9+mbqOIe/ fJK9AJN/KDOBljSmg1Qcc3sonyCUit/Brf0CcaIMOQWFI3Q9Q0598yLbQMr5yjhrU3jd 8I2hY/F+5VEJxBNUr+7VXpR4IS69yZln9zvsfx5QicuhRasTsltFIfBYA52qTNVemM3o w6sg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :message-id:date:references:organization:in-reply-to:subject:cc:to :from:dkim-signature; bh=oyrobb35Aq7x5QUz8Z7LKqUBFyFxphwL2KwMvtTRMOM=; fh=gi3we95eIfrLYXiESnCLG1e7zNdwxQ1ROQflywxWOiU=; b=ZLRVHnAXXtO5QQiuiroDMbDv+jd3xd5zofNtZjpi1q8lX0TDCQ04Q1NO50vitdP3OK w2J6gLn7GzYidUnVht5PaAWUKQa+EfrmsNaD0tKEGgDEu1Dp1IlD+1I2TWFy+YJCgGsz VHXXOCN/oIQ8nMqBilhtlB6XZCtucT1znJlJ687wYzsWbjsbFw49qwcZt3CYjOiryJyx /eWT99VGKa1ZwdBEAkmlexhQT4AfLZVVeHcmTSAHlD0yIN0Tql+WnE8aie5sA7GASVQ1 qEgVtOQeTA2hpaFM+oS7i1eU0id4/bDyQO+otQi8FXNg62uKkdrXw8d3fan5VOb8VJ6X 1Xmw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=QXDphS0g; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-106467-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-106467-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id 16-20020a631950000000b005e46d335070si8566951pgz.203.2024.03.18.10.53.26 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Mar 2024 10:53:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-106467-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=QXDphS0g; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-106467-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-106467-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 62CFA28253D for ; Mon, 18 Mar 2024 17:37:11 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2609356453; Mon, 18 Mar 2024 17:36:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="QXDphS0g" Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.9]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A2B1055E67; Mon, 18 Mar 2024 17:36:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.9 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710783363; cv=none; b=iZN5sKyCKADnjzfjhJLMXrnxN4wfFqgfDPeBh7w4pES9Qb3B9oRAnWkL9UpD/f7gvww+kL05xkXpjcr3d5aJJzVRxhmAk/7iWx080+W9idsGLDZ8dhpE2H+7wtiQBJcy/2ncgOjrmjoW40t8ISNisyGYWQksCeujk1VNt5XEUKc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710783363; c=relaxed/simple; bh=5lepVMjaegCUK0SIqSPdsEcjoX5wIILym+A9zxP7jxc=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=Cr9Nt3xcC/1nq5vi21XzUZBjMu1EnfFVxzbkn4zZ4nmLdseL2nJmWhBN6pWrIycYNX2f6i0O4M5KcsVcZ0dbUMfJaVbOOjPGnfgxtD2pniuhEcn+f5XZKX4+moXa6Xrwj2JkB7gz6Rrogwd+iISEo58pIOAOLhJGJL5iWQg7e+o= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=QXDphS0g; arc=none smtp.client-ip=198.175.65.9 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1710783361; x=1742319361; h=from:to:cc:subject:in-reply-to:references:date: message-id:mime-version; bh=5lepVMjaegCUK0SIqSPdsEcjoX5wIILym+A9zxP7jxc=; b=QXDphS0gn8kZy2b0NNK6mEpVPlXAAOx44iOU73Q1fMtVXX6euU3FFpN0 LRPtS9NUIlYtyzo/uFHiMMWVagUdBLjANRolZ05xgALaDM6tp8phMwkyQ XPIgLOAsaFjE00btbzbicwuxWzZQG20+4GabZuZJc6tRW90++T5bxfo9h 75tdjvFYP027zR1383tOXiKNHoLadLjz1HkWDXLFUz9WR2NsJDRrye8E0 S1FgxkJPT2KRXZpChkImqTpSjJyYJaqpyYnXwtQtH6m4Jfd8s396V85qP jRWDwpsmUAW23HfJC+Q4jmQBv9JDBpDQTp8uClyUdzuliGmb9TyS+b3iN Q==; X-IronPort-AV: E=McAfee;i="6600,9927,11017"; a="28092429" X-IronPort-AV: E=Sophos;i="6.07,134,1708416000"; d="scan'208";a="28092429" Received: from fmviesa005.fm.intel.com ([10.60.135.145]) by orvoesa101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Mar 2024 10:36:01 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,134,1708416000"; d="scan'208";a="18016376" Received: from ahmedess-mobl.ger.corp.intel.com (HELO localhost) ([10.252.53.133]) by fmviesa005-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Mar 2024 10:35:58 -0700 From: Jani Nikula To: Bjorn Helgaas , linux-doc@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Konstantin Ryabitsev Subject: Re: stable docs.kernel.org links? In-Reply-To: <20240318170309.GA1187959@bhelgaas> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo References: <20240318170309.GA1187959@bhelgaas> Date: Mon, 18 Mar 2024 19:35:55 +0200 Message-ID: <87zfuvo32c.fsf@intel.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain On Mon, 18 Mar 2024, Bjorn Helgaas wrote: > When providing a URL to a bit of code, it's nice if the URL remains > useful indefinitely, e.g., this should work "forever" because it > includes a git tag: > > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/pci/pci.c?id=v6.8#n1300 > > Is there a similar "id=" mechanism for https://docs.kernel.org? I > could use https://docs.kernel.org/core-api/genalloc.html, but the link > may become stale as docs get reorganized. > > I could link to the .rst file directly with the git tag, e.g., > > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/core-api/genalloc.rst?id=v6.8 > > but of course that's not as nicely formatted. This works, but I don't know if there are any guarantees that it keeps working: https://www.kernel.org/doc/html/v6.8/core-api/genalloc.html Cc: Konstantin BR, Jani. -- Jani Nikula, Intel