mirror of
https://github.com/python/cpython.git
synced 2025-11-09 01:51:26 +00:00
- add comment about $CUSTOM_BUTTONS
- use_icon(): fix the check for whether a supplemental link is being used
This commit is contained in:
parent
3bbd115735
commit
3f26af765d
1 changed files with 2 additions and 1 deletions
|
|
@ -109,6 +109,7 @@ sub custom_driver_hook {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
# $CUSTOM_BUTTONS is only used for the module index link.
|
||||||
$CUSTOM_BUTTONS = '';
|
$CUSTOM_BUTTONS = '';
|
||||||
|
|
||||||
sub make_nav_sectref($$$) {
|
sub make_nav_sectref($$$) {
|
||||||
|
|
@ -163,7 +164,7 @@ sub unlinkify($) {
|
||||||
|
|
||||||
sub use_icon($$$) {
|
sub use_icon($$$) {
|
||||||
my($rel,$str,$title) = @_;
|
my($rel,$str,$title) = @_;
|
||||||
if ($title) {
|
if ($str) {
|
||||||
my $s = "$str";
|
my $s = "$str";
|
||||||
if ($s =~ /\<tex2html_([a-z_]+)_visible_mark\>/) {
|
if ($s =~ /\<tex2html_([a-z_]+)_visible_mark\>/) {
|
||||||
my $r = get_my_icon($1);
|
my $r = get_my_icon($1);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue