feat(docs-infra): add the ability to expose globals (#34237)
Adds the ability to expose global symbols in the API docs via the `@globalApi` tag. Also supports optionally setting a namespace which will be added to the name automatically (e.g. `foo` will be renamed to `ng.foo`). Relevant APIs should also be exported through the `global.ts` file which will show up under `core/global`. PR Close #34237
This commit is contained in:

committed by
Andrew Kushnir

parent
7a6e326ec6
commit
e7cf1e0580
@ -24,6 +24,8 @@ module.exports =
|
||||
.processor(require('./processors/extractPipeParams'))
|
||||
.processor(require('./processors/matchUpDirectiveDecorators'))
|
||||
.processor(require('./processors/addMetadataAliases'))
|
||||
.processor(require('./processors/addGlobalApiData'))
|
||||
.processor(require('./processors/updateGlobalApiPath'))
|
||||
.processor(require('./processors/computeApiBreadCrumbs'))
|
||||
.processor(require('./processors/filterContainedDocs'))
|
||||
.processor(require('./processors/processClassLikeMembers'))
|
||||
@ -95,6 +97,7 @@ module.exports =
|
||||
'common/testing/index.ts',
|
||||
'common/upgrade/index.ts',
|
||||
'core/index.ts',
|
||||
'core/global.ts',
|
||||
'core/testing/index.ts',
|
||||
'elements/index.ts',
|
||||
'forms/index.ts',
|
||||
|
Reference in New Issue
Block a user