From 5fb77bcf480865fdc9eb4fc737d8d3efb90601ab Mon Sep 17 00:00:00 2001 From: David Halls Date: Tue, 6 Jun 2017 14:38:27 +0100 Subject: [PATCH] fix(html output): Fix links between navigation and items in HTML documentation --- __tests__/__snapshots__/bin.js.snap | 40 ++++++++++++++--------------- src/default_theme/index._ | 8 +++--- src/default_theme/section_list._ | 2 +- 3 files changed, 25 insertions(+), 25 deletions(-) diff --git a/__tests__/__snapshots__/bin.js.snap b/__tests__/__snapshots__/bin.js.snap index 878415f05..094c73747 100644 --- a/__tests__/__snapshots__/bin.js.snap +++ b/__tests__/__snapshots__/bin.js.snap @@ -50,31 +50,31 @@ exports[`--config 1`] = `
  • Static members
  • .isClass
  • .isWeird
  • .isBuffer
  • .isArrayOfBuffers
  • .MAGIC_NUMBER
  • @@ -86,13 +86,13 @@ exports[`--config 1`] = `
  • Instance members
  • #getFoo
  • #withOptions
  • @@ -105,7 +105,7 @@ exports[`--config 1`] = `
  • Events
  • ⓔ event
  • @@ -171,7 +171,7 @@ exports[`--config 1`] = `
  • Instance members
  • #bar
  • @@ -198,7 +198,7 @@ exports[`--config 1`] = `
  • Static members
  • .passthrough
  • @@ -311,7 +311,7 @@ PeerId.create({ bits: Static Members
    -
    +
    @@ -388,7 +388,7 @@ This is a [link to something that does not exist]DoesNot
    -
    +
    @@ -456,7 +456,7 @@ the referenced class type

    -
    +
    @@ -533,7 +533,7 @@ the referenced class type

    -
    +
    @@ -608,7 +608,7 @@ k.isArrayOfBuffers();
    -
    +
    @@ -662,7 +662,7 @@ k.isArrayOfBuffers();
    Instance Members
    -
    +
    @@ -723,7 +723,7 @@ k.isArrayOfBuffers();
    -
    +
    @@ -826,7 +826,7 @@ k.isArrayOfBuffers();
    Events
    -
    +
    @@ -1199,7 +1199,7 @@ like a klass. This needs a Instance Members
    -
    +
    @@ -1296,7 +1296,7 @@ like a klass. This needs a Static Members
    -
    +
    diff --git a/src/default_theme/index._ b/src/default_theme/index._ index 99392f6d8..69e28abb0 100644 --- a/src/default_theme/index._ +++ b/src/default_theme/index._ @@ -37,7 +37,7 @@
  • Static members
  • <% doc.members.static.forEach(function(member) { %>
  • .<%- member.name %>
  • @@ -49,7 +49,7 @@
  • Instance members
  • <% doc.members.instance.forEach(function(member) { %>
  • #<%- member.name %>
  • @@ -61,7 +61,7 @@
  • Inner members
  • <% doc.members.inner.forEach(function(member) { %>
  • #<%- member.name %>
  • @@ -73,7 +73,7 @@
  • Events
  • <% doc.members.events.forEach(function(member) { %>
  • ⓔ <%- member.name %>
  • diff --git a/src/default_theme/section_list._ b/src/default_theme/section_list._ index 904483ccc..7063465fe 100644 --- a/src/default_theme/section_list._ +++ b/src/default_theme/section_list._ @@ -1,6 +1,6 @@
    <% members.forEach(function(member) { %> -
    +