mirror of https://github.com/python/cpython
add_module_idx(), add_idx_hook():
Change the message printed before running buildindex.py; "Doing the index..." wasn't clear and could be misinterpreted with an inappropriate mindset. ;-)
This commit is contained in:
parent
0237909e42
commit
9bbdce5945
|
@ -236,7 +236,7 @@ sub insert_index{
|
||||||
}
|
}
|
||||||
|
|
||||||
sub add_idx{
|
sub add_idx{
|
||||||
print "\nDoing the index ...";
|
print "\nBuilding HTML for the index ...";
|
||||||
close(IDXFILE);
|
close(IDXFILE);
|
||||||
insert_index($idx_mark, 'index.dat', $INDEX_COLUMNS, 1);
|
insert_index($idx_mark, 'index.dat', $INDEX_COLUMNS, 1);
|
||||||
}
|
}
|
||||||
|
@ -246,7 +246,7 @@ $idx_module_mark = '<tex2html_idx_module_mark>';
|
||||||
$idx_module_title = 'Module Index';
|
$idx_module_title = 'Module Index';
|
||||||
|
|
||||||
sub add_module_idx{
|
sub add_module_idx{
|
||||||
print "\nDoing the module index ...";
|
print "\nBuilding HTML for the module index ...";
|
||||||
my $key;
|
my $key;
|
||||||
open(MODIDXFILE, '>modindex.dat') || die "\n$!\n";
|
open(MODIDXFILE, '>modindex.dat') || die "\n$!\n";
|
||||||
foreach $key (keys %Modules) {
|
foreach $key (keys %Modules) {
|
||||||
|
|
Loading…
Reference in New Issue