Skip to main content

Docgen

Usage: polywrap docgen|o <action> [options]
Generate wrapper documentation
Arguments:
action
schema Generate GraphQL schema
docusaurus Generate Docusaurus markdown
jsdoc Generate JSDoc markdown
(choices: "schema", "docusaurus", "jsdoc")
Options:
-m, --manifest-file <path> Path to the project manifest file
(default: polywrap.yaml | polywrap.yml |
polywrap.app.yaml | polywrap.app.yml |
polywrap.plugin.yaml |
polywrap.plugin.yml)
-g, --docgen-dir <path> Output directory for generated docs
(default: ./docs)
-c, --client-config <config-path> Add custom configuration to the
PolywrapClient
-i, --imports Also generate docs for dependencies
-h, --help display help for command