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 1o5cMu-00046D-Ug for pgsql-docs@arkaria.postgresql.org; Mon, 27 Jun 2022 00:12:44 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1o5cMt-0006BK-0x for pgsql-docs@arkaria.postgresql.org; Mon, 27 Jun 2022 00:12:43 +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 1o5cMs-0006BB-Q5 for pgsql-docs@lists.postgresql.org; Mon, 27 Jun 2022 00:12:42 +0000 Received: from wout4-smtp.messagingengine.com ([64.147.123.20]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o5cMq-0006i8-Fk for pgsql-docs@lists.postgresql.org; Mon, 27 Jun 2022 00:12:41 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id C9ED53200657; Sun, 26 Jun 2022 20:12:38 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Sun, 26 Jun 2022 20:12:39 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paquier.xyz; h= cc:cc: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=fm2; t=1656288758; x=1656375158; bh=M5Y6U1TQ5/ LH5gp+lXlEHEpuc45rmEDUiDEC41Ttql4=; b=mHJMwOglIN+uqJpm4/w6nKJPlr U0xVm05ZbmqzEWee9kbGh4Fi+nO8ot4xyyToa/P0tOm5sOg8TPqWesN94LnBXg6T tuxV/1MbvpqlTHSdoB+GpQ9hQZ7mPngWQzYLvEaiAqMKYn2KsjCzxi7X/ztlGQ1h e1lWbIr5RZ1TMT7P44ME/QjAt3Gid1rGQaTVAOkVuVWc7UQXX6XLJh00Otkq8IrW ncVdwmuB1l3XixOBbkXLu8M/N60M4tRCjJxslT2NU5ZIXC8zppDDAVB45G0FzSxd GaqTkvdRp9MbYUbP/jNWeIh4ewEHxJ7ub/cPqNKgOx+vnc/9kv1hh1gAGVKA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc: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=1656288758; x=1656375158; bh=M5Y6U1TQ5/LH5gp+lXlEHEpuc45r mEDUiDEC41Ttql4=; b=fIi5vdhIrHXKpLeN4aW+ZxzFuXIR+0V8imRgNt5AX45G i3O5k6r63i7Baa81F4hh+XW1hAWXyXyfyPXzvuaE0PQhsDvqTU8K9Zgy/q8LZ4z8 jmpAoC4NwK+AebspqIzFHrjQ4DDbBYOy0wmQtFa3GuVMzwMNW4dtqbIMdz9E75UF 59iuLcS2hkFfDlI80S7DqXriyfeS9L3vXi5znQHAByTGpYNg8KzXbQ/Xb5SNWqTx AaIaDIgK92P1KSGCnhz+zjOuiUlIAmrZrC9N8zAafaVkZcNznyg+mApqOVMUR4Co Pv6Jfax4AgfvQgHHsdXX7IPEDuDibFLg47YwgYZrvQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrudeggedgvdekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne gfrhhlucfvnfffucdljedtmdenucfjughrpeffhffvvefukfhfgggtuggjsehgtderredt tddvnecuhfhrohhmpefoihgthhgrvghlucfrrghquhhivghruceomhhitghhrggvlhesph grqhhuihgvrhdrgiihiieqnecuggftrfgrthhtvghrnhepteelieefudffhffhtdetleeg geegfffhkeeuveetiefgudduvedutefggeeivdejnecuvehluhhsthgvrhfuihiivgeptd enucfrrghrrghmpehmrghilhhfrhhomhepmhhitghhrggvlhesphgrqhhuihgvrhdrgiih ii X-ME-Proxy: Feedback-ID: i0fe9450f:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 26 Jun 2022 20:12:36 -0400 (EDT) Date: Mon, 27 Jun 2022 09:12:34 +0900 From: Michael Paquier To: Noboru Saito Cc: pgsql-docs@lists.postgresql.org Subject: Re: proposal: convert comments in documents to html comments Message-ID: References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="YYd7Ta+Tn9zaUCA5" Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --YYd7Ta+Tn9zaUCA5 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Jun 26, 2022 at 09:19:21PM +0900, Noboru Saito wrote: > Currently the comments in the document are removed when converting to htm= l. > I propose to keep them as html comments. OK. The format of the HTML pages is rather clean, so this would be rather readable. > The release notes have the git commit information in the comments, > it would be great to have it in the html comments as well. >=20 > That can be done with the attached patch. One argument that could go against that is the extra amount of data it generates in the page that gets loaded. How do things change for the release notes? But we are likely talking about an increase of 70kB to perhaps 100kB, so it does not matter much those days :) Another is that you cannot notice those comments except when looking at the HTML source, which is something that most users won't really notice, while others willing to look at those particular commits could just ping this information from the SGML files, because they should have the code around anyway. -- Michael --YYd7Ta+Tn9zaUCA5 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAmK49fIACgkQnvQgOdby QH3D3w/8CykuaXniI2i7CCWLyCfFi1h0b9cjaV8YeDkvObpZhre3B9aWPvPJaAxa IQocBY5nx5u/rjYTsnbX+9pYr+P6fnFd4YHcHS2JNDUSqT0X0z5jFcN2+c9g4NA0 sntOiSAW0r5W9RN1ZtHt/7pnQTmEckmDPNK1am9Ap0MGvgBQbaj+12sS5gU+ClwJ rxt/1gODvvZZqosKa/KmX9WErdqwnHkhyn60kOfI02HDMm9AH2Oj51XYadNZhvyh j6EanSK+6GV3ZAVG8WxZNA0tNmvk5jW2lqLAYLUVBvBG5P8iXuUsme8nPthXbDHq aX4pJ/oAIm+2Pjp8QNymMPXbfFCHVL+x4mg+Y2Pwt4uQnVvjYhuFoLM/3tzLv1hh +je394RpFGfQ2KTgLzkRBNUprZBThz5S7f/vq9ybmgZWRhAIdjU6kNfL6iPQl7/e OYHrr/5N6lWKqJXNxTuxShK6qjXgMWxq4vA6TVbHx4SaKPorZYB6jH0JfHdqf5rY 6vSCMikagqZvkUGwqOdwPCgwSTe0go6LrodvLduUIX0ZWbM5nYWjAQwxlagxzoQE 4bXbLZwzW+bGu0IKJI/pJLXweEVpQGsQ1MYgNpV6abFdSWR/6+w5qL/APhD80doE +LV1lSUE0Hhtr7wI08KRBpXmTEPRmt3W3D18oRWyuXq6WCAA+Fs= =J3xw -----END PGP SIGNATURE----- --YYd7Ta+Tn9zaUCA5--