pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Doc: add check to detect non-breaking spaces in the docs.
3+ messages / 2 participants
[nested] [flat]

* pgsql: Doc: add check to detect non-breaking spaces in the docs.
@ 2024-10-08 11:26  Tatsuo Ishii <ishii@postgresql.org>
  0 siblings, 1 reply; 3+ messages in thread

From: Tatsuo Ishii @ 2024-10-08 11:26 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Doc: add check to detect non-breaking spaces in the docs.

There were multiple instances where accidentally adding non-breaking
space (nbsp, U+00A0, 0xc2a0 in UTF-8) to sgml files. This commit adds
additional checking to detect nbsp. You can check the nbsp by:

make -C doc/src/sgml check

or

make -C doc/src/sgml check-nbsp

Authors: Yugo Nagata, Daniel Gustafsson
Reviewed-by: Tatsuo Ishii, Daniel Gustafsson
Discussion: https://postgr.es/m/20240930.153404.202479334310259810.ishii%40postgresql.org

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/5b7da5c261d1af1a5d6a275e1090b07de3654033

Modified Files
--------------
doc/src/sgml/Makefile | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: pgsql: Doc: add check to detect non-breaking spaces in the docs.
@ 2024-10-10 17:45  Robert Haas <robertmhaas@gmail.com>
  parent: Tatsuo Ishii <ishii@postgresql.org>
  0 siblings, 1 reply; 3+ messages in thread

From: Robert Haas @ 2024-10-10 17:45 UTC (permalink / raw)
  To: Tatsuo Ishii <ishii@postgresql.org>; +Cc: pgsql-committers@lists.postgresql.org

On Tue, Oct 8, 2024 at 7:26 AM Tatsuo Ishii <ishii@postgresql.org> wrote:
> Doc: add check to detect non-breaking spaces in the docs.

Please consider that the make-based build system will likely be
removed at some point in the future in favor of the meson build
system.

It doesn't seem like we're super-close to being ready to do that, but
I think it is the plan.

-- 
Robert Haas
EDB: http://www.enterprisedb.com





^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: pgsql: Doc: add check to detect non-breaking spaces in the docs.
@ 2024-10-11 00:58  Tatsuo Ishii <ishii@postgresql.org>
  parent: Robert Haas <robertmhaas@gmail.com>
  0 siblings, 0 replies; 3+ messages in thread

From: Tatsuo Ishii @ 2024-10-11 00:58 UTC (permalink / raw)
  To: robertmhaas@gmail.com; +Cc: pgsql-committers@lists.postgresql.org

> On Tue, Oct 8, 2024 at 7:26 AM Tatsuo Ishii <ishii@postgresql.org> wrote:
>> Doc: add check to detect non-breaking spaces in the docs.
> 
> Please consider that the make-based build system will likely be
> removed at some point in the future in favor of the meson build
> system.
> 
> It doesn't seem like we're super-close to being ready to do that, but
> I think it is the plan.

The particular target is a sub-target of "check" target in
doc/src/sgml/Makefile.  In my understanding the "check" target is
under discussion how to migrate to meson.  Once we decide how to
handle the check target in meson, we can apply it to the nbsp target
too.

Best reagards,
--
Tatsuo Ishii
SRA OSS K.K.
English: http://www.sraoss.co.jp/index_en/
Japanese:http://www.sraoss.co.jp


^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2024-10-11 00:58 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2024-10-08 11:26 pgsql: Doc: add check to detect non-breaking spaces in the docs. Tatsuo Ishii <ishii@postgresql.org>
2024-10-10 17:45 ` Robert Haas <robertmhaas@gmail.com>
2024-10-11 00:58   ` Tatsuo Ishii <ishii@postgresql.org>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox