Open pselden opened 7 years ago
I got it working by adding a factory like this:
.factory('tsngFileReader', function (jsdocFileReader) {
return {
name: 'tsngFileReader',
defaultPattern: /\.ts$/,
getDocs: jsdocFileReader.getDocs
};
})
And then adding the file reader:
.config(function (readFilesProcessor, writeFilesProcessor, log, tsngFileReader) {
// scrape .ts files for ngdoc comments
readFilesProcessor.fileReaders.push(tsngFileReader);
})
I've started to mix in typescript to my angular 1 library and I'm having trouble getting ngdoc files written in typescript to show up in my documentation.
When I run this with dgeni with typescript processor configured like:
I get the following:
The description of oxModalsService shows up but the individual methods do not.
I'm using the following in my packages:
Any ideas?
I noticed that in the aliases for the doc it says "default" as the first alias.