From aa4dbde84129177571f1b9e444a9e2fe12dc3509 Mon Sep 17 00:00:00 2001 From: Tim Schaub Date: Fri, 11 Jul 2014 19:47:49 -0600 Subject: [PATCH] Remove static and other attributes from the docs --- apidoc/template/publish.js | 11 ----------- apidoc/template/tmpl/navigation.tmpl | 1 - 2 files changed, 12 deletions(-) diff --git a/apidoc/template/publish.js b/apidoc/template/publish.js index 067e3efa96..6f630ccad8 100644 --- a/apidoc/template/publish.js +++ b/apidoc/template/publish.js @@ -79,14 +79,6 @@ function addSignatureTypes(f) { f.signature = (f.signature || '') + ''+(types.length? ' :'+types.join('|') : '')+' '; } -function addAttribs(f) { - var attribs = helper.getAttribs(f); - - if (attribs.length) { - f.attribs = '' + htmlsafe(attribs.length ? attribs.join(',') : '') + ' '; - } -} - function shortenPaths(files, commonPrefix) { // always use forward slashes var regexp = new RegExp('\\\\', 'g'); @@ -404,7 +396,6 @@ exports.publish = function(taffyData, opts, tutorials) { if ( needsSignature(doclet) ) { addSignatureParams(doclet); addSignatureReturns(doclet); - addAttribs(doclet); } }); @@ -414,12 +405,10 @@ exports.publish = function(taffyData, opts, tutorials) { if (doclet.kind === 'member') { addSignatureTypes(doclet); - addAttribs(doclet); } if (doclet.kind === 'constant') { addSignatureTypes(doclet); - addAttribs(doclet); doclet.kind = 'member'; } }); diff --git a/apidoc/template/tmpl/navigation.tmpl b/apidoc/template/tmpl/navigation.tmpl index 6c175874ac..278cf48d22 100644 --- a/apidoc/template/tmpl/navigation.tmpl +++ b/apidoc/template/tmpl/navigation.tmpl @@ -15,7 +15,6 @@ var self = this; 0)) { ?> - static