Re: proposal: convert comments in documents to html comments

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: proposal: convert comments in documents to html comments
Дата
Msg-id Yrj18lS0BhAMltuu@paquier.xyz
обсуждение исходный текст
Ответ на proposal: convert comments in documents to html comments  (Noboru Saito <noborusai@gmail.com>)
Ответы Re: proposal: convert comments in documents to html comments  (Peter Geoghegan <pg@bowt.ie>)
Список pgsql-docs
On Sun, Jun 26, 2022 at 09:19:21PM +0900, Noboru Saito wrote:
> Currently the comments in the document are removed when converting to html.
> 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.
>
> 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

Вложения

В списке pgsql-docs по дате отправления:

Предыдущее
От: Noboru Saito
Дата:
Сообщение: proposal: convert comments in documents to html comments
Следующее
От: Peter Geoghegan
Дата:
Сообщение: Re: proposal: convert comments in documents to html comments