"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "tools/dgeni/docs-package.ts" between
components-12.0.3.tar.gz and components-12.0.4.tar.gz

About: components offers Component infrastructure and Material Design components for Angular.

docs-package.ts  (components-12.0.3):docs-package.ts  (components-12.0.4)
skipping to change at line 13 skipping to change at line 13
import {Host} from 'dgeni-packages/typescript/services/ts-host/host'; import {Host} from 'dgeni-packages/typescript/services/ts-host/host';
import {TypeFormatFlags} from 'typescript'; import {TypeFormatFlags} from 'typescript';
import {HighlightNunjucksExtension} from './nunjucks-tags/highlight'; import {HighlightNunjucksExtension} from './nunjucks-tags/highlight';
import {patchLogService} from './patch-log-service'; import {patchLogService} from './patch-log-service';
import {AsyncFunctionsProcessor} from './processors/async-functions'; import {AsyncFunctionsProcessor} from './processors/async-functions';
import {categorizer} from './processors/categorizer'; import {categorizer} from './processors/categorizer';
import {DocsPrivateFilter} from './processors/docs-private-filter'; import {DocsPrivateFilter} from './processors/docs-private-filter';
import {EntryPointGrouper} from './processors/entry-point-grouper'; import {EntryPointGrouper} from './processors/entry-point-grouper';
import {FilterDuplicateExports} from './processors/filter-duplicate-exports'; import {FilterDuplicateExports} from './processors/filter-duplicate-exports';
import {mergeInheritedProperties} from './processors/merge-inherited-properties' ; import {mergeInheritedProperties} from './processors/merge-inherited-properties' ;
import {resolveInheritedDocs} from './processors/resolve-inherited-docs';
// Dgeni packages that the Material docs package depends on. // Dgeni packages that the Material docs package depends on.
const jsdocPackage = require('dgeni-packages/jsdoc'); const jsdocPackage = require('dgeni-packages/jsdoc');
const nunjucksPackage = require('dgeni-packages/nunjucks'); const nunjucksPackage = require('dgeni-packages/nunjucks');
const typescriptPackage = require('dgeni-packages/typescript'); const typescriptPackage = require('dgeni-packages/typescript');
/** /**
* Dgeni package for the Angular Material docs. This just defines the package, b ut doesn't * Dgeni package for the Angular Material docs. This just defines the package, b ut doesn't
* generate the docs yet. * generate the docs yet.
* *
skipping to change at line 38 skipping to change at line 39
* *
* Similar to AngularJS, there is also a `config` lifecycle hook, that can be us ed to * Similar to AngularJS, there is also a `config` lifecycle hook, that can be us ed to
* configure specific processors, services before the procession begins. * configure specific processors, services before the procession begins.
*/ */
export const apiDocsPackage = new Package('material2-api-docs', [ export const apiDocsPackage = new Package('material2-api-docs', [
jsdocPackage, jsdocPackage,
nunjucksPackage, nunjucksPackage,
typescriptPackage, typescriptPackage,
]); ]);
// Processor that resolves inherited docs of class docs. The resolved docs will
// be added to the pipeline so that the JSDoc processors can capture these too.
// Note: needs to use a factory function since the processor relies on DI.
apiDocsPackage.processor(resolveInheritedDocs);
// Processor that filters out duplicate exports that should not be shown in the docs. // Processor that filters out duplicate exports that should not be shown in the docs.
apiDocsPackage.processor(new FilterDuplicateExports()); apiDocsPackage.processor(new FilterDuplicateExports());
// Processor that merges inherited properties of a class with the class doc. // Processor that merges inherited properties of a class with the class doc.
// Note: needs to use a factory function since the processor relies on DI. // Note: needs to use a factory function since the processor relies on DI.
apiDocsPackage.processor(mergeInheritedProperties); apiDocsPackage.processor(mergeInheritedProperties);
// Processor that filters out symbols that should not be shown in the docs. // Processor that filters out symbols that should not be shown in the docs.
apiDocsPackage.processor(new DocsPrivateFilter()); apiDocsPackage.processor(new DocsPrivateFilter());
 End of changes. 2 change blocks. 
0 lines changed or deleted 6 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)