Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qlURP-0032JZ-Hu for pgsql-docs@arkaria.postgresql.org; Wed, 27 Sep 2023 13:18:59 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1qlURO-0043dc-3P for pgsql-docs@arkaria.postgresql.org; Wed, 27 Sep 2023 13:18:58 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qlURN-0043dK-RJ for pgsql-docs@lists.postgresql.org; Wed, 27 Sep 2023 13:18:57 +0000 Received: from wout1-smtp.messagingengine.com ([64.147.123.24]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qlURK-006vpg-Pe for pgsql-docs@lists.postgresql.org; Wed, 27 Sep 2023 13:18:56 +0000 Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id 4900C3200A4B; Wed, 27 Sep 2023 09:18:53 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Wed, 27 Sep 2023 09:18:53 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eisentraut.org; h=cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to; s=fm1; t= 1695820732; x=1695907132; bh=A2jsBBkUo0pzeAmQUBNWm61L3SjQrAQAT/N jKpkAEdQ=; b=WCB73kyoLQuuKhd3xVi1u6+SWiwGg7QU90ZnryUW2qkQxwuYA2r +zr5cYJEld2ork7BX7Xcx1TDNgzOoWOk/W07lWZE/p17zMjGr1XsNHaKYLhC+qsy M5Yr1Gdt7XnxWrPgvd6c0ftb7+TqM5Zls28+pLmX1FvO+WstomQ8vbtT6fHHlMcs CxLwqjsx1bTxxievBStqxN4Zlv5RsvurWzB/RpGzq/QkOKwnkB2cWtLQ04h8Qp/G aegzMIusIFGNAXYDjYtMs2xX8tF3n4YO8EaI6yBj583ApZJKNiwZ6RBhNiDNFEhS 6Qqs7N7tpgFkVAhwf4nlQszNKgrh12K44lg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1695820732; x= 1695907132; bh=A2jsBBkUo0pzeAmQUBNWm61L3SjQrAQAT/NjKpkAEdQ=; b=m 6bYI4ve/6tCfXU7FYgD6YBfSxDM1kZNNLdhv+eogR7b7c1xzzB+/kO3h6sKdhdzx XNzVxLY2Wvf8PtNWJMozIIQS9WrW4M59UQJsTMuEnVYON5ZmapGdv6OL7tjsTSjK 0C7CsbN6fZBvNHzxkNb1F6vCI93fpr62DDBYREmtd41rSYmRsd92XwYWjhubOZit xKen6DlxryhPzJ1HAC2wzm1b+iIwyL9rpKAuR6eGbNPoAlUoR8/TdyOvS5PwJQX8 klQ38mOzMBeXH86aYWflh/13ggCL1DV98sHi9ZqwhIOBYz8h1DoMhRoo4gdx5lcu oZtAQTpWWZFDvjpzS4z6Q== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvjedrtdegucetufdoteggodetrfdotffvucfrrh hofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgenuceurghi lhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurh epkfffgggfuffvfhfhjggtgfesthejredttdefjeenucfhrhhomheprfgvthgvrhcugfhi shgvnhhtrhgruhhtuceophgvthgvrhesvghishgvnhhtrhgruhhtrdhorhhgqeenucggtf frrghtthgvrhhnpeeluefhgeeklefgvdekjeffhfeggeefgfettdeukeeuieevueekkeet ieeltdeludenucffohhmrghinhepphhoshhtghhrvghsqhhlrdhorhhgnecuvehluhhsth gvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepphgvthgvrhesvghishgv nhhtrhgruhhtrdhorhhg X-ME-Proxy: Feedback-ID: ie0a040ee:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 27 Sep 2023 09:18:51 -0400 (EDT) Message-ID: Date: Wed, 27 Sep 2023 14:18:49 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.15.0 Subject: Re: Hyperlinks for source file references Content-Language: en-US To: Daniel Gustafsson , pgsql-docs@lists.postgresql.org References: <7C6E4AF2-62BA-49AB-8EC6-FA27136A8B88@yesql.se> From: Peter Eisentraut In-Reply-To: <7C6E4AF2-62BA-49AB-8EC6-FA27136A8B88@yesql.se> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 25.09.23 13:09, Daniel Gustafsson wrote: > Commit b73c3a11963 introduced xyz > hyperlinks for files in the postgres source tree by linking to the gitweb > interface at git.postgresql.org. This, IMO, makes the content referred to more > accessible, and is especially interesting for README files. The links in > question can be found here: > > https://www.postgresql.org/docs/devel/tableam.html > > Right now we have ~85 references to source files using in the > docs, should we convert them to hyperlinks like the ones in the Table AM docs? > I would be happy to make a patch that implements this, but I wanted to check > here before making the effort to make sure it's not immediately nayed. A slightly fancier variant that avoids having to hardcode the git web URL pattern in a bunch of places: You mark it up like and then write a bit of XSL to process that into whatever form you want.