Update doc options.

This commit is contained in:
John-David Dalton
2016-07-18 00:12:25 -07:00
parent 2696615523
commit bde171e947

View File

@@ -18,10 +18,11 @@ var config = {
'base': { 'base': {
'entryLinks': [ 'entryLinks': [
'<% if (name == "templateSettings" || !/^(?:methods|properties|seq)$/i.test(category)) {' + '<% if (name == "templateSettings" || !/^(?:methods|properties|seq)$/i.test(category)) {' +
'print("[&#x24C3;](https://www.npmjs.com/package/lodash." + name.toLowerCase() + " \\"See the npm package\\")")' + 'print("[npm package](https://www.npmjs.com/package/lodash." + name.toLowerCase() + ")")' +
'} %>' '} %>'
], ],
'path': path.join(basePath, 'lodash.js'), 'path': path.join(basePath, 'lodash.js'),
'sourceLink': '[source](${sourceHref})',
'title': '<a href="https://lodash.com/">lodash</a> <span>v' + version + '</span>', 'title': '<a href="https://lodash.com/">lodash</a> <span>v' + version + '</span>',
'toc': 'categories', 'toc': 'categories',
'url': 'https://github.com/lodash/lodash/blob/' + version + '/lodash.js' 'url': 'https://github.com/lodash/lodash/blob/' + version + '/lodash.js'
@@ -30,7 +31,7 @@ var config = {
'hash': 'github' 'hash': 'github'
}, },
'site': { 'site': {
'tocLink': '#docs' 'tocHref': '#docs'
} }
}; };