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.
This commit is contained in:
parent
ec77e6590d
commit
5942b439b3
|
@ -607,7 +607,7 @@ sub define_module{
|
|||
}
|
||||
$word = "$word " if $word;
|
||||
$THIS_MODULE = "$name";
|
||||
$INDEX_SUBITEM = "(in $name)";
|
||||
$INDEX_SUBITEM = "(in module $name)";
|
||||
print "[$name]";
|
||||
return make_mod_index_entry(
|
||||
"<tt class='module'>$name</tt> (${word}module)", 'DEF');
|
||||
|
|
Loading…
Reference in New Issue