Skip to main content

nxdoc:generate-docs

Generate Docs Executor

Executor for generating documentation for a single project.

Options

project

  • (string): The project that docs should be generated for.

outputDirectory

  • (string): Where should the generated docs be placed?

Default: "docs/{projectName}"

gettingStartedFile

  • (string): File contents to place before the API reference section for each package. <src> is replaced by the package's root.

Default: "&lt;src&gt;/README.md"

skipFrontMatter

  • (boolean): NxDoc generates frontmatter suitable for docusaurus by default.

check

  • (boolean): Error if documentation would change. Useful for CI.