rename "Index" to "Home" (#750)

Thanks to @dchambers for the suggestion.
This commit is contained in:
Jeff Williams 2014-11-08 10:54:14 -08:00
parent 36065d22e8
commit 7807ac021e

View File

@ -297,7 +297,7 @@ function attachModuleSymbols(doclets, modules) {
* @return {string} The HTML for the navigation sidebar.
*/
function buildNav(members) {
var nav = '<h2><a href="index.html">Index</a></h2>',
var nav = '<h2><a href="index.html">Home</a></h2>',
seen = {},
hasClassList = false,
classNav = '',
@ -613,7 +613,7 @@ exports.publish = function(taffyData, opts, tutorials) {
var files = find({kind: 'file'}),
packages = find({kind: 'package'});
generate('Index',
generate('Home',
packages.concat(
[{kind: 'mainpage', readme: opts.readme, longname: (opts.mainpagetitle) ? opts.mainpagetitle : 'Main Page'}]
).concat(files),