mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 05:31:20 +00:00 
			
		
		
		
	By default, use a two-column index.
This commit is contained in:
		
							parent
							
								
									7cbf462acf
								
							
						
					
					
						commit
						aa3f9fb7d5
					
				
					 1 changed files with 4 additions and 1 deletions
				
			
		|  | @ -31,6 +31,9 @@ $BODYTEXT = 'bgcolor="#ffffff"'; | |||
| $CHILDLINE = "\n<p><hr>\n"; | ||||
| $VERBOSITY = 0; | ||||
| 
 | ||||
| # default # of columns for the index | ||||
| $INDEX_COLUMNS = 2; | ||||
| 
 | ||||
| 
 | ||||
| # A little painful, but lets us clean up the top level directory a little, | ||||
| # and not be tied to the current directory (as far as I can tell). | ||||
|  | @ -192,7 +195,7 @@ sub make_index_entry { | |||
| 
 | ||||
| sub insert_index{ | ||||
|     my($mark,$datafile) = @_; | ||||
|     my $index = `$myrootdir/tools/buildindex.py $datafile`; | ||||
|     my $index = `$myrootdir/tools/buildindex.py --columns $INDEX_COLUMNS $datafile`; | ||||
|     s/$mark/$index/; | ||||
| } | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Fred Drake
						Fred Drake