diff options
author | Fred Drake <fdrake@acm.org> | 2004-01-08 14:57:27 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2004-01-08 14:57:27 (GMT) |
commit | 4f687b305162d8e3babc72eda37fd88bba40b1b2 (patch) | |
tree | 66f797f0b81ed43ce9507f60ae9bb0da9f48c56c /Doc/perl | |
parent | 91f5cbe264682e180216d6cafb358d5e1964d41d (diff) | |
download | cpython-4f687b305162d8e3babc72eda37fd88bba40b1b2.zip cpython-4f687b305162d8e3babc72eda37fd88bba40b1b2.tar.gz cpython-4f687b305162d8e3babc72eda37fd88bba40b1b2.tar.bz2 |
add new reference macro: \seelink
Diffstat (limited to 'Doc/perl')
-rw-r--r-- | Doc/perl/python.perl | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Doc/perl/python.perl b/Doc/perl/python.perl index 5ef3b27..89e12d5 100644 --- a/Doc/perl/python.perl +++ b/Doc/perl/python.perl @@ -1950,6 +1950,19 @@ sub do_cmd_seetitle{ . $_; } +sub do_cmd_seelink{ + local($_) = @_; + my $url = next_argument(); + my $linktext = next_argument(); + my $text = next_argument(); + my $icon = get_link_icon($url); + return '<dl compact class="seeurl">' + . "\n <dt><a href='$url'" + . "\n >$linktext$icon</a></dt>" + . "\n <dd>$text</dd>\n </dl>" + . $_; +} + sub do_cmd_seeurl{ local($_) = @_; my $url = next_argument(); |