jleyba / js-dossier

A JavaScript documentation generation tool.
Apache License 2.0
149 stars 15 forks source link

Module-local types not documented #93

Open shicks opened 7 years ago

shicks commented 7 years ago

The doc generated for the following code is not particularly useful

goog.module('ns.Foo');
class Foo {
  /** @return {!Builder} */
  static builder() { return new Builder(); }
}
class Builder {
  build() {}
}
exports = Foo;

The documentation shows that builder() returns module$contents$ns$Foo_Builder, but I can't click on the type, nor is there any way to discover that it has a build() method.