Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5942b43

Browse files
committed
define_module(): Change the "index sub-item" for definitions at module
scope to be " (in module <name>)" instead of " (in <name>)" to be consistent with \withsubitem usage throughout the documentation. This achieves consistency in indexing throughout the documentation.
1 parent ec77e65 commit 5942b43

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Doc/perl/python.perl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -607,7 +607,7 @@ sub define_module{
607607
}
608608
$word = "$word " if $word;
609609
$THIS_MODULE = "$name";
610-
$INDEX_SUBITEM = "(in $name)";
610+
$INDEX_SUBITEM = "(in module $name)";
611611
print "[$name]";
612612
return make_mod_index_entry(
613613
"<tt class='module'>$name</tt> (${word}module)", 'DEF');

0 commit comments

Comments
 (0)