Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit2f90d9f

Browse files
committed
Update link guidelines.
1 parentfeba07f commit2f90d9f

File tree

1 file changed

+10
-12
lines changed

1 file changed

+10
-12
lines changed

‎doc/src/sgml/README.links

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- $PostgreSQL: pgsql/doc/src/sgml/README.links,v 1.2 2009/01/10 16:03:15 momjian Exp $ -->
1+
<!-- $PostgreSQL: pgsql/doc/src/sgml/README.links,v 1.3 2009/01/10 16:58:39 momjian Exp $ -->
22

33
Linking within SGML documents can be confusing, so here is a summary:
44

@@ -7,22 +7,20 @@ Intra-document Linking
77
----------------------
88

99
<xref>
10-
used to linkto a section without supplying text forthe link;
11-
text comes from the link target; has noclose tag
10+
use togetlinktext from the title ofthetargetlink; has no
11+
close tag
1212
http://www.oasis-open.org/docbook/documentation/reference/html/xref.html
1313

1414
<link>
15-
allows linktextto be supplied, requires </link>
15+
use to supplytextfor the link, requires </link>
1616
http://www.oasis-open.org/docbook/documentation/reference/html/link.html
1717

18-
1918
linkend=
20-
controls the target of the link/xref
19+
controls the target of the link/xref, required
2120

2221
endterm=
23-
allows the text of the link/xref to be taken from a different
24-
link target; endterm in a <link> overrides the supplied text
25-
22+
for <xref>, allows the text of the link/xref to be taken from a
23+
different link target title
2624

2725

2826
External Linking
@@ -34,12 +32,12 @@ External Linking
3432
http://www.oasis-open.org/docbook/documentation/reference/html/ulink.html
3533

3634
url=
37-
used by <ulink> to specify the URL
35+
used by <ulink> to specify the URL, required
3836

3937

4038
Guidelines
4139
----------
4240

43-
o Do not use endterm with <link> because the supplied text is ignored; use
44-
<xref>
41+
o If you want to supply text, use <link>, else <xref>
4542
o Do not use text with <ulink> so the URL appears in printed output
43+
o You can supply text at the target location with 'xreflabel'

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp