Also consider linked symbols as documented
This commit is contained in:
@@ -73,7 +73,7 @@ exports.handlers = {
|
||||
}
|
||||
}
|
||||
if (api.indexOf(e.doclet.longname) > -1) {
|
||||
// Add params and events of API symbols to the API
|
||||
// Add params, links and events of API symbols to the API
|
||||
var names, name;
|
||||
var params = e.doclet.params;
|
||||
if (params) {
|
||||
@@ -89,6 +89,14 @@ exports.handlers = {
|
||||
}
|
||||
}
|
||||
}
|
||||
var links = e.doclet.comment.match(/\{@link ([^\}]*)\}/g);
|
||||
if (links) {
|
||||
for (i=0, ii=links.length; i < ii; ++i) {
|
||||
if (unexported.indexOf(links[i]) === -1) {
|
||||
unexported.push(links[i].match(/\{@link (.*)\}/)[1]);
|
||||
}
|
||||
}
|
||||
}
|
||||
var fires = e.doclet.fires;
|
||||
var event;
|
||||
if (fires) {
|
||||
|
||||
Reference in New Issue
Block a user