@@ -300,14 +300,6 @@ exports.publish = function(taffyData, opts, tutorials) {
300300 // Store GitHub base URL for source file links
301301 githubSourceBaseUrl = docdash . githubSourceBaseUrl || null ;
302302
303- // claim some special filenames in advance, so the All-Powerful Overseer of Filename Uniqueness
304- // doesn't try to hand them out later
305- var indexUrl = helper . getUniqueFilename ( 'index' ) ;
306- // don't call registerLink() on this one! 'index' is also a valid longname
307-
308- var globalUrl = helper . getUniqueFilename ( 'global' ) ;
309- helper . registerLink ( 'global' , globalUrl ) ;
310-
311303 // set up templating
312304 view . layout = conf . default . layoutFile ?
313305 path . getResourcePath ( path . dirname ( conf . default . layoutFile ) ,
@@ -449,20 +441,6 @@ exports.publish = function(taffyData, opts, tutorials) {
449441 generateSourceFiles ( sourceFiles , opts . encoding ) ;
450442 }
451443
452- if ( members . globals . length ) {
453- generate ( '' , 'Global' , [ { kind : 'globalobj' } ] , globalUrl ) ;
454- }
455-
456- // index page displays information from package.json and lists files
457- var files = find ( { kind : 'file' } ) ;
458- var packages = find ( { kind : 'package' } ) ;
459-
460- generate ( '' , 'Home' ,
461- packages . concat (
462- [ { kind : 'mainpage' , readme : opts . readme , longname : ( opts . mainpagetitle ) ? opts . mainpagetitle : 'Main Page' } ]
463- ) . concat ( files ) ,
464- indexUrl ) ;
465-
466444 // set up the lists that we'll use to generate pages
467445 var classes = taffy ( members . classes ) ;
468446 var modules = taffy ( members . modules ) ;
0 commit comments