Skip to content

Commit

Permalink
fix(build_docs): fix doc building (#1974)
Browse files Browse the repository at this point in the history
  • Loading branch information
bafolts authored and jayphelps committed Oct 24, 2016
1 parent d55dd87 commit 1bbbe8b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@
"coveralls": "^2.11.13",
"cz-conventional-changelog": "^1.2.0",
"doctoc": "^1.0.0",
"escape-string-regexp": "^1.0.5 ",
"esdoc": "^0.4.7",
"eslint": "^2.12.0",
"fs-extra": "^0.30.0",
Expand Down
8 changes: 5 additions & 3 deletions tools/custom-esdoc-plugin.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

function getTagValue(tag, tagName) {
var unknownTags = tag.unknown;
if (!unknownTags) {
Expand Down Expand Up @@ -47,9 +48,9 @@ exports.onHandleTag = function onHandleTag(ev) {
delete tag.importStyle;
}
if (isHidden) {
ev.data.tag[i] = {name: '', longname: ''};
ev.data.tag[i]['export'] = false;
} else if (owner) {
ev.data.tag[i].builtinExternal = true;
}
if (owner && owner === 'Observable') {
var ownerLongname = getLongname(ev, owner);
tag.kind = 'method';
tag.static = false;
Expand All @@ -61,4 +62,5 @@ exports.onHandleTag = function onHandleTag(ev) {
delete tag.importStyle;
}
}
return ev;
};

0 comments on commit 1bbbe8b

Please sign in to comment.