-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
David Manzanares
committed
Nov 24, 2017
1 parent
1902105
commit 84dcd28
Showing
9 changed files
with
149 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
node_modules/ | ||
docs/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{ | ||
"source": { | ||
"include": [ | ||
"src" | ||
] | ||
}, | ||
"templates": { | ||
"default": { | ||
"outputSourceFiles": false, | ||
"useLongnameInNav": true | ||
} | ||
}, | ||
"plugins": [ | ||
"plugins/markdown" | ||
], | ||
"opts": { | ||
"recurse": true, | ||
"destination": "./docs/internal" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
/** | ||
* Define @api tag | ||
*/ | ||
exports.defineTags = function (dictionary) { | ||
dictionary.defineTag('api', { | ||
mustHaveValue: false, | ||
canHaveType: false, | ||
canHaveName: false, | ||
onTagged: function (doclet, tag) { | ||
doclet.public = true; | ||
} | ||
}); | ||
}; | ||
|
||
/* | ||
* Only items with @api annotation should be documented | ||
*/ | ||
|
||
exports.handlers = { | ||
parseComplete: function (e) { | ||
var doclets = e.doclets; | ||
for (var i = 0; i < doclets.length; i++) { | ||
doclets[i].undocumented = !doclets[i].public; | ||
} | ||
} | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{ | ||
"source": { | ||
"include": [ | ||
"src" | ||
] | ||
}, | ||
"templates": { | ||
"default": { | ||
"outputSourceFiles": false, | ||
"useLongnameInNav": true | ||
} | ||
}, | ||
"plugins": [ | ||
"plugins/api", | ||
"plugins/markdown" | ||
], | ||
"opts": { | ||
"recurse": true, | ||
"destination": "./docs/public" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters