mirror of
				https://github.com/python/cpython.git
				synced 2025-10-30 21:21:22 +00:00 
			
		
		
		
	When there is a Module Index, make sure the icon actually links to it.
This commit is contained in:
		
							parent
							
								
									4dfad57235
								
							
						
					
					
						commit
						aaa238585f
					
				
					 1 changed files with 3 additions and 1 deletions
				
			
		|  | @ -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…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Fred Drake
						Fred Drake