diff --git a/lib/main/build-site.js b/lib/main/build-site.js index 69fe8c795..e8b9da4f6 100644 --- a/lib/main/build-site.js +++ b/lib/main/build-site.js @@ -37,6 +37,10 @@ function build(type) { const $header = $('h1').first().remove(); const version = _.trim($header.find('span').first().text()).slice(1); + // Rename "_" id references to "lodash". + $('#_').attr('id', 'lodash'); + $('[href="#_"]').attr('href', '#lodash'); + // Remove docdown horizontal rules. $('hr').remove();