Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o5kQR-0005cj-Ha for pgsql-docs@arkaria.postgresql.org; Mon, 27 Jun 2022 08:48:55 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1o5kQP-0007IT-Ba for pgsql-docs@arkaria.postgresql.org; Mon, 27 Jun 2022 08:48:53 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o5kQO-0007IK-EN for pgsql-docs@lists.postgresql.org; Mon, 27 Jun 2022 08:48:53 +0000 Received: from wout3-smtp.messagingengine.com ([64.147.123.19]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o5kQH-0002WQ-1m for pgsql-docs@lists.postgresql.org; Mon, 27 Jun 2022 08:48:51 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id 7AE0C3200918; Mon, 27 Jun 2022 04:48:41 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Mon, 27 Jun 2022 04:48:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version: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=1656319720; x=1656406120; bh=Z XS8/ETJCACM3b8CntnE+o8lAX5uzhW/4pgNf1iJRA4=; b=oWNW0sQEvVApLV3Pu C16BTb2CRrlUjIylBhBVRy3EIxE3vcZdGX4iFqwHQ5qpPR2BfMMH5l5s4M8K+qcx wo7+FOYZrviw5kSYThORPHCYo+XYhnZRRBY/3qHVmJ3LZmjAaIrBuNfFEHx6ZKR+ CQLVnHgfbBGDh7Mt2JweHQCI1mo3Lml6hMqbPGA+7XYrucymsE4sa2Wc20HIT2Gp 8isMkuczvKKuZ12TzsWGut+A8Zr1T88jXrVEwCU9xsRoLGRLy3IHAmCFJtlwH9AZ ziErDccNWkuB/VMWNid0o9ZncanbgBxMbCHccoLfsDJ8JvT59pwChTzV9MZ3Qifv X87Tg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrudeghedgtdekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvfevuffkgggtugfgjgesthekredttddtjeenucfhrhhomheptehlvhgr rhhoucfjvghrrhgvrhgruceorghlvhhhvghrrhgvsegrlhhvhhdrnhhoqdhiphdrohhrgh eqnecuggftrfgrthhtvghrnhepvdektdffudfftdffffehfffhjeejhffgieeuueekjeek fffgudffhfduffffueevnecuffhomhgrihhnpegvnhhtvghrphhrihhsvggusgdrtghomh enucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegrlhhv hhgvrhhrvgesrghlvhhhrdhnohdqihhprdhorhhg X-ME-Proxy: Feedback-ID: ia2694551:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 27 Jun 2022 04:48:39 -0400 (EDT) Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id D99AA366; Mon, 27 Jun 2022 10:48:39 +0200 (CEST) Date: Mon, 27 Jun 2022 10:48:39 +0200 From: Alvaro Herrera To: Noboru Saito Cc: Peter Geoghegan , Tom Lane , Michael Paquier , Pg Docs Subject: Re: proposal: convert comments in documents to html comments Message-ID: <20220627084839.5fuankjxgt6m62vv@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 2022-Jun-27, Noboru Saito wrote: > > I don't have much of a clue about our docbook toolchain, beyond the > > basics (plus I have no front-end experience). Is anybody else aware of > > a reasonable approach to making git hashes discoverable from the html > > release notes? > > If you simply want to display it with a tooltip, the attached patch > can do that. > > I also attach html and css. > Please do not expect the quality of the css, > as it was created for the purpose of checking the operation. I like the idea of making the commits unobtrusively visible in the output page. This proposal looks a good step forward, but I'm sure we can improve a little bit more. For example, can we make the SHA1 hash for each commit be a link to the gitweb page? (Does this require pattern matching in the XLST rule?) Also, when there's more than one commit in one entry, it'd be better to have them on separate lines rather than run together in a single line. Thanks! -- Álvaro Herrera Breisgau, Deutschland — https://www.EnterpriseDB.com/ "Linux transformó mi computadora, de una `máquina para hacer cosas', en un aparato realmente entretenido, sobre el cual cada día aprendo algo nuevo" (Jaime Salinas)