diff options
Diffstat (limited to 'docs/config/processors/pages-data.js')
| -rw-r--r-- | docs/config/processors/pages-data.js | 5 | 
1 files changed, 3 insertions, 2 deletions
| diff --git a/docs/config/processors/pages-data.js b/docs/config/processors/pages-data.js index 35ed242f..ff419423 100644 --- a/docs/config/processors/pages-data.js +++ b/docs/config/processors/pages-data.js @@ -103,7 +103,7 @@ var navGroupMappers = {        return {          name: page.name,          href: page.path, -        type: 'error' +        type: page.docType === 'errorNamespace' ? 'section' : 'error'        };      })];    }, @@ -142,7 +142,8 @@ module.exports = {      // We are only interested in docs that are in a area and not landing pages      var navPages = _.filter(docs, function(page) { -      return page.area && page.docType != 'componentGroup'; +      return page.area && +        page.docType != 'componentGroup';      });      // Generate an object collection of pages that is grouped by area e.g. | 
