1
0
mirror of https://github.com/postgres/postgres.git synced 2025-08-21 10:42:50 +03:00
Files
postgres/doc/src/sgml
Tom Lane d34916fee5 Remove configure-time probe for DocBook DTD.
Checking for DocBook being installed was valuable when we were on the
OpenSP docs toolchain, because that was rather hard to get installed
fully.  Nowadays, as long as you have xmllint and xsltproc installed,
you're good, because those programs will fetch the DocBook files off
the net at need.  Moreover, testing this at configure time means that
a network access may well occur whether or not you have any interest
in building the docs later.  That can be slow (typically 2 or 3
seconds, though much higher delays have been reported), and it seems
not very nice to be doing an off-machine access without warning, too.

Hence, drop the PGAC_CHECK_DOCBOOK probe, and adjust related
documentation.  Without that macro, there's not much left of
config/docbook.m4 at all, so I just removed it.

Back-patch to v11, where we started to use xmllint in the
PGAC_CHECK_DOCBOOK probe.

Discussion: https://postgr.es/m/E2EE6B76-2D96-408A-B961-CAE47D1A86F0@yesql.se
Discussion: https://postgr.es/m/A55A7FC9-FA60-47FE-98B5-139CDC57CE6E@gmail.com
2020-11-30 15:24:13 -05:00
..
2020-04-11 21:07:20 -07:00
2019-09-08 10:27:29 +02:00
2020-07-05 15:38:14 +02:00
2019-09-08 10:27:29 +02:00
2020-09-10 14:16:31 +02:00
2020-10-26 19:17:05 -04:00
2020-10-19 19:29:52 +03:00
2020-02-26 13:05:30 -08:00
2020-03-29 11:15:11 +02:00
2020-11-16 13:13:43 -05:00
2020-11-25 09:51:00 +01:00
2020-07-18 22:43:41 +09:00
2019-09-08 10:27:29 +02:00
2020-10-19 19:29:52 +03:00
2020-07-18 22:43:41 +09:00
2020-08-25 07:30:22 +02:00
2020-10-19 13:48:14 +02:00
2020-07-05 15:38:14 +02:00
2020-06-07 13:18:36 +02:00
2020-09-09 12:22:38 +02:00
2020-07-18 22:43:41 +09:00
2020-10-19 19:29:52 +03:00
2019-10-25 20:39:41 +02:00
2020-10-19 19:29:52 +03:00
2020-07-18 22:43:41 +09:00
2020-10-19 19:29:52 +03:00
2020-01-01 12:21:45 -05:00
2019-09-08 10:27:29 +02:00
2020-10-19 19:29:52 +03:00
2020-07-05 15:38:14 +02:00
2020-10-19 19:29:52 +03:00
2020-07-18 22:43:41 +09:00
2020-10-19 19:29:52 +03:00
2019-09-08 10:27:29 +02:00
2020-07-18 22:43:41 +09:00
2020-07-18 22:43:41 +09:00
2020-10-19 19:29:52 +03:00
2020-10-19 19:29:52 +03:00
2019-09-08 10:27:29 +02:00
2019-08-13 08:40:17 +02:00
2019-03-27 23:10:23 +01:00
2020-10-19 19:29:52 +03:00
2019-09-08 10:27:29 +02:00
2019-09-08 10:27:29 +02:00

<!-- doc/src/sgml/README.links -->

Linking within DocBook documents can be confusing, so here is a summary:


Intra-document Linking
----------------------

<xref>
	use to get chapter/section number from the title of the target
	link, or xreflabel if defined at the target, or refentrytitle if target
        is a refentry;  has no close tag
	http://www.oasis-open.org/docbook/documentation/reference/html/xref.html

linkend=
	controls the target of the link/xref, required

endterm=
	for <xref>, allows the text of the link/xref to be taken from a
	different link target title

<link>
	use to supply text for the link, only uses linkend, requires </link>
	http://www.oasis-open.org/docbook/documentation/reference/html/link.html


External Linking
----------------

<ulink>
	like <link>, but uses a URL (not a document target);  requires
	</ulink>; if no text is specified, the URL appears as the link
	text
	http://www.oasis-open.org/docbook/documentation/reference/html/ulink.html

url=
	used by <ulink> to specify the URL, required


Guidelines
----------

- For an internal link, if you want to supply text, use <link>, else
  <xref>.

- Specific nouns like GUC variables, SQL commands, and contrib modules
  usually have xreflabels.

- For an external link, use <ulink>, with or without link text.