1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-18 17:42:25 +03:00
Files
postgres/doc/src/sgml
Tom Lane 11f1f9f4fa Stop recommending auto-download of DTD files, and indeed disable it.
It appears no longer possible to build the SGML docs without a local
installation of the DocBook DTD, because sourceforge.net now only
permits HTTPS access, and no common version of xsltproc supports that.
Hence, remove the bits of our documentation suggesting that that's
possible or useful.

In fact, we might as well add the --nonet option to the build recipes
automatically, for a bit of extra security.

Also fix our documentation-tool-installation recipes for macOS to
ensure that xmllint and xsltproc are pulled in from MacPorts or
Homebrew.  The previous recipes assumed you could use the
Apple-supplied versions of these tools; which still works, except that
you'd need to set an environment variable to ensure that they would
find DTD files provided by those package managers.  Simpler and easier
to just recommend pulling in the additional packages.

In HEAD, also document how to build docs using Meson, and adjust
"ninja docs" to just build the HTML docs, for consistency with the
default behavior of doc/src/sgml/Makefile.

In a fit of neatnik-ism, I also made the ordering of the package
lists match the order in which the tools are described at the head
of the appendix.

Aleksander Alekseev, Peter Eisentraut, Tom Lane

Discussion: https://postgr.es/m/CAJ7c6TO8Aro2nxg=EQsVGiSDe-TstP4EsSvDHd7DSRsP40PgGA@mail.gmail.com
2023-02-08 17:15:27 -05:00
..
2019-09-08 10:27:16 +02:00
2021-11-24 18:34:20 +02:00
2020-10-26 19:17:05 -04:00
2019-07-05 08:33:51 +02:00
2018-10-11 11:43:56 -07:00
2020-11-25 09:53:24 +01:00
2020-07-18 22:43:45 +09:00
2019-09-08 10:27:16 +02:00
2020-10-19 19:29:54 +03:00
2020-07-18 22:43:45 +09:00
2020-08-25 07:31:12 +02:00
2020-10-19 13:48:17 +02:00
2020-06-07 13:19:25 +02:00
2020-07-18 22:43:45 +09:00
2020-10-19 19:29:54 +03:00
2021-07-05 10:01:28 +05:30
2018-07-16 10:48:05 +02:00
2020-07-18 22:43:45 +09:00
2020-10-19 19:29:54 +03:00
2019-09-08 10:27:16 +02:00
2023-01-02 15:00:36 -05:00
2021-09-19 11:36:53 -04:00
2021-01-05 14:26:37 -05:00
2018-08-28 21:33:32 +09:00
2022-07-08 18:36:27 -04:00
2019-09-08 10:27:16 +02:00
2019-08-20 13:45:53 +09:00
2019-03-29 13:36:24 +01:00
2020-10-19 19:29:54 +03:00
2019-09-08 10:27:16 +02:00
2019-03-27 23:10:23 +01:00
2019-09-08 10:27:16 +02:00
2021-12-08 16:54:31 -05:00
2019-09-08 10:27:16 +02:00
2019-09-08 10:27:16 +02:00
2019-08-20 13:45:53 +09:00
2019-09-08 10:27:16 +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

<link>
	use to supply text for the link, requires </link>
	http://www.oasis-open.org/docbook/documentation/reference/html/link.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


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.