mirror of https://github.com/python/cpython
When there is a Module Index, make sure the icon actually links to it.
This commit is contained in:
parent
4dfad57235
commit
aaa238585f
|
@ -437,7 +437,9 @@ sub add_bbl_and_idx_dummy_commands {
|
|||
. "([\\\\]begin\\s*$O\\d+$C\\s*theindex)";
|
||||
s/$rx/\\textohtmlmoduleindex \1 \\textohtmlindex \2/o;
|
||||
# Add a button to the navigation areas:
|
||||
$CUSTOM_BUTTONS .= $my_icons{'modules'};
|
||||
$CUSTOM_BUTTONS .= ('<a href="modindex.html" title="Module Index">'
|
||||
. $my_icons{'modules'}
|
||||
. '</a>');
|
||||
}
|
||||
else {
|
||||
$CUSTOM_BUTTONS .= $BLANK_ICON;
|
||||
|
|
Loading…
Reference in New Issue