Label classes and exceptions explicitly in the documentation (for their

*desc environments).
This commit is contained in:
Fred Drake 2001-03-02 18:57:05 +00:00
parent 0539bfaaa4
commit ab357ecf7f
2 changed files with 19 additions and 17 deletions

View file

@ -882,7 +882,7 @@ sub do_env_excdesc{
local($_) = @_;
my $excname = next_argument();
my $idx = make_str_index_entry("<tt class='exception'>$excname</tt>");
return "<dl><dt><b>$idx</b>\n<dd>" . $_ . '</dl>'
return "<dl><dt><b>exception $idx</b>\n<dd>" . $_ . '</dl>'
}
sub do_env_fulllineitems{ return do_env_itemize(@_); }
@ -895,7 +895,9 @@ sub handle_classlike_descriptor{
$idx = make_str_index_entry(
"<tt class='$what'>$THIS_CLASS</tt> ($what in $THIS_MODULE)" );
$idx =~ s/ \(.*\)//;
return "<dl><dt><b>$idx</b> (<var>$arg_list</var>)\n<dd>" . $_ . '</dl>';
return ("<dl><dt><b>$what $idx</b> (<var>$arg_list</var>)\n<dd>"
. $_
. '</dl>');
}
sub do_env_classdesc{