From 02be5b808ecd147192ff8cc13ceed0f151f2a38f Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Tue, 30 Aug 2016 22:32:32 -0700 Subject: [PATCH] =?UTF-8?q?Rename=20=E2=80=9C=5F=E2=80=9D=20id=20reference?= =?UTF-8?q?s=20to=20=E2=80=9Clodash=E2=80=9D.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/main/build-site.js | 4 ++++ 1 file changed, 4 insertions(+) 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();