A set of test cases for evaluating the capabilities and support of documentation generation tools.
The subfolders of ./cases represent meaningful scenarios that are important for library doc generation. In theory, these are ordered in increasing level of difficulty for doc tooling to handle.
1. Single-File JavaScriptA single JavaScript file, with some module-private (non-exported) values, and some exported ones
2. Single-File TypeScriptA single TypeScript file, with some module-private (non-exported) values, and some exported ones
3. Multi-File JavaScriptA single "entry" file, that consumes from multiple other JS files (which are not available directly to consumers for consumption).
4. Multi-File TypeScriptA single "entry" file, that consumes from multiple other TS files (which are not available directly to consumers for consumption).
5. TypeScript Exported TypesTypeScript code that exports Interfaces and Type Aliases in addition to values
6. TypeScript Advanced TypesA couple of tricky TypeScript scenarios, including the merge of a class and namespace.
7. JavaScript consumes TypeScriptA scenario involving a mix of JS and TS files, where the types provided by TS are consumed and used in JSDoc comments
8. No TSConfigA scenario where no local tsconfig.json is found, and a default one must be used for doc generation instead
(c) 2018 LinkedIn
Generated using TypeDoc