]> git.sur5r.net Git - cc65/commit
Fixed the SGML <htmlurl> and <url> tags. 107/head
authorGreg King <gregdk@users.sf.net>
Mon, 14 Apr 2014 09:54:13 +0000 (05:54 -0400)
committerGreg King <gregdk@users.sf.net>
Mon, 14 Apr 2014 09:54:13 +0000 (05:54 -0400)
commitbb9aa7558f724445217afd7042cb3c3e9e248970
treee9b708ccec255c607c7262e10c8d54e9c56a1e5e
parent4e14a9dbb9f249f7229eb38cececa3905649dd36
Fixed the SGML <htmlurl> and <url> tags.

Those tags have two attributes: "url=" and "name=".  In the non-HTML output formats, <url> shows both fields, while <htmlurl> shows only the name field (as the HTML format always does.)  Thus, the general rules are
1. If the two attributes are different, then use <url>.
2. If they are similar, then use <htmlurl>.
3. If they are the same, then consider using <url> without the "name=" attribute.
(The reason for rules 2 and 3 is that the same text shouldn't be shown twice.)

There can be exceptions.  Example: "od65.sgml" has <htmlurl> because the URL
would disturb the flow of a sentence.
21 files changed:
doc/apple2.sgml
doc/apple2enh.sgml
doc/atari.sgml
doc/c128.sgml
doc/c16.sgml
doc/c64.sgml
doc/ca65.sgml
doc/debugging.sgml
doc/dio.sgml
doc/funcref.sgml
doc/geos.sgml
doc/ld65.sgml
doc/library.sgml
doc/lynx.sgml
doc/nes.sgml
doc/od65.sgml
doc/pet.sgml
doc/plus4.sgml
doc/supervision.sgml
doc/using-make.sgml
doc/vic20.sgml