mirror of
https://github.com/jsdoc/jsdoc.git
synced 2025-12-08 19:46:11 +00:00
rename "Index" to "Home" (#750)
Thanks to @dchambers for the suggestion.
This commit is contained in:
parent
36065d22e8
commit
7807ac021e
@ -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),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user