mirror of https://github.com/python/cpython.git
Fix some remaining index & consistency nits. (Many data member
references were being omitted from the general index.)
This commit is contained in:
parent
c3fcd6fa0e
commit
085b8121eb
|
@ -261,7 +261,7 @@ sub do_cmd_platform{
|
||||||
my $platform = next_argument();
|
my $platform = next_argument();
|
||||||
$ModulePlatforms{$THIS_MODULE} = $platform;
|
$ModulePlatforms{$THIS_MODULE} = $platform;
|
||||||
$platform = "Macintosh"
|
$platform = "Macintosh"
|
||||||
if $platform eq "Mac";
|
if $platform eq 'Mac';
|
||||||
return "\n<p class=availability>Availability: <span"
|
return "\n<p class=availability>Availability: <span"
|
||||||
. "\n class=platform>$platform</span>.</p>\n" . $_;
|
. "\n class=platform>$platform</span>.</p>\n" . $_;
|
||||||
}
|
}
|
||||||
|
@ -733,9 +733,9 @@ sub do_env_memberdesc{
|
||||||
$class = $THIS_CLASS
|
$class = $THIS_CLASS
|
||||||
unless $class;
|
unless $class;
|
||||||
my $extra = '';
|
my $extra = '';
|
||||||
$extra = " ($class_name attribute)"
|
$extra = " ($class attribute)"
|
||||||
if (!($class eq ''));
|
if ($class ne '');
|
||||||
my $idx = make_str_index_entry("<tt>$member</tt>$extra");
|
my $idx = make_str_index_entry("<tt class=member>$member</tt>$extra");
|
||||||
$idx =~ s/ \(.*\)//;
|
$idx =~ s/ \(.*\)//;
|
||||||
$idx =~ s/\(\)//;
|
$idx =~ s/\(\)//;
|
||||||
return "<dl><dt><b>$idx</b>\n<dd>" . $_ . '</dl>';
|
return "<dl><dt><b>$idx</b>\n<dd>" . $_ . '</dl>';
|
||||||
|
@ -749,8 +749,8 @@ sub do_cmd_memberline{
|
||||||
$class = $THIS_CLASS
|
$class = $THIS_CLASS
|
||||||
unless $class;
|
unless $class;
|
||||||
my $extra = '';
|
my $extra = '';
|
||||||
$extra = " ($class_name attribute)"
|
$extra = " ($class attribute)"
|
||||||
if (!($class eq ''));
|
if ($class ne '');
|
||||||
my $idx = make_str_index_entry("<tt class=member>$member</tt>$extra");
|
my $idx = make_str_index_entry("<tt class=member>$member</tt>$extra");
|
||||||
$idx =~ s/ \(.*\)//;
|
$idx =~ s/ \(.*\)//;
|
||||||
$idx =~ s/\(\)//;
|
$idx =~ s/\(\)//;
|
||||||
|
@ -761,7 +761,7 @@ sub do_env_memberdescni{
|
||||||
local($_) = @_;
|
local($_) = @_;
|
||||||
next_optional_argument();
|
next_optional_argument();
|
||||||
my $member = next_argument();
|
my $member = next_argument();
|
||||||
return "<dl><dt><b>$member</b>\n<dd>" . $_ . '</dl>';
|
return "<dl><dt><b><tt class=member>$member</tt></b>\n<dd>" . $_ . '</dl>';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -769,7 +769,7 @@ sub do_cmd_memberlineni{
|
||||||
local($_) = @_;
|
local($_) = @_;
|
||||||
next_optional_argument();
|
next_optional_argument();
|
||||||
my $member = next_argument();
|
my $member = next_argument();
|
||||||
return "<dt><b>$member</b><dd>" . $_;
|
return "<dt><b><tt class=member>$member</tt></b><dd>" . $_;
|
||||||
}
|
}
|
||||||
|
|
||||||
@col_aligns = ("<td>", "<td>", "<td>", "<td>");
|
@col_aligns = ("<td>", "<td>", "<td>", "<td>");
|
||||||
|
|
Loading…
Reference in New Issue