Only document olx properties marked as part of the API

And mark all olx properties with @api.  The stability level will be used to determine what can change between minor releases.
This commit is contained in:
Tim Schaub
2014-08-21 21:49:06 -06:00
parent fc303cdec7
commit 525456e6cd
2 changed files with 577 additions and 6 deletions

View File

@@ -28,6 +28,10 @@ exports.handlers = {
newDoclet: function(e) {
var doclet = e.doclet;
if (doclet.meta.filename == 'olx.js') {
// do nothing if not marked @api
if (!doclet.stability) {
return;
}
if (doclet.kind == 'typedef') {
lastOlxTypedef = doclet;
olxTypes[doclet.longname] = [];