NgDoc

Getting Started
What is NgDoc? Installation Configuration NEW OPTIONS SSR Migrations
Writing content
Pages and categories UPDATED Blockquotes NEW STYLES Images and embeds NEW Code blocks Mermaid diagrams NEW Nunjucks Demo and Demo Pane Playground Keywords
API Documentation
Auto generation Documenting declarations Rendering API NEW
Customization
Page Processors Page Skeleton Layout Search Themes UPDATED Icons
Recipes
Performance Ignoring file lines
API References Develop
@ng-doc/app / Function

provideMainPageProcessor

Provide a main processor to replace html nodes with an Angular component. Main processors are run before custom processors.

Presentation

function provideMainPageProcessor(
  processors: NgDocPageProcessor<unknown> | NgDocPageProcessor<unknown>[],
): Provider[];

Returns

Provider[]

Parameters

NameTypeDescription
processors
NgDocPageProcessor<unknown> | NgDocPageProcessor<unknown>[]

The processor to provide.

  • Presentation
  • Returns
  • Parameters
MIT © 2023 Aleksandr Skoropad