[COMMITTERS] pgsql: Get rid of parameterized marked sections in SGML

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема [COMMITTERS] pgsql: Get rid of parameterized marked sections in SGML
Дата
Msg-id E1dxEFo-0006gS-DC@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Get rid of parameterized marked sections in SGML

Previously, we created a variant of the installation instructions for
producing the plain-text INSTALL file by marking up certain parts of
installation.sgml using SGML parameterized marked sections.  Marked
sections will not work anymore in XML, so before we can convert the
documentation to XML, we need a new approach.

DocBook provides a "profiling" feature that allows selecting content
based on attributes, which would work here.  But it imposes a noticeable
overhead when building the full documentation and causes complications
when building some output formats, and given that we recently spent a
fair amount of effort optimizing the documentation build time, it seems
sad to have to accept that.

So as an alternative, (1) we create our own mini-profiling layer that
adjusts just the text we want, and (2) assemble the pieces of content
that we want in the INSTALL file using XInclude.  That way, there is no
overhead when building the full documentation and most of the "ugly"
stuff in installation.sgml can be removed and dealt with out of line.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/684cf76b83e9dc8aed12aeb9131d2208f61bd31f

Modified Files
--------------
doc/src/sgml/Makefile                |   5 +-
doc/src/sgml/filelist.sgml           |   9 --
doc/src/sgml/installation.sgml       | 245 +++++------------------------------
doc/src/sgml/standalone-install.sgml |  28 ----
doc/src/sgml/standalone-install.xml  | 167 ++++++++++++++++++++++++
doc/src/sgml/standalone-profile.xsl  |  81 ++++++++++++
6 files changed, 280 insertions(+), 255 deletions(-)


--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers

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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: [COMMITTERS] pgsql: pg_basebackup: Add option to create replication slot
Следующее
От: Peter Eisentraut
Дата:
Сообщение: [COMMITTERS] pgsql: Improve vpath support in plperl build