mirror of
https://github.com/langgenius/dify-plugin-sdks.git
synced 2026-07-22 02:15:22 -04:00
038edf957e
- Added CLI for generating documentation with `generate-docs` command. - Introduced `SchemaDocumentationGenerator` to create structured documentation from schemas. - Implemented `SchemaDoc` class for schema metadata and documentation management. - Updated `PluginConfiguration` to include descriptions for plugin components. - Added support for outside reference fields in the SchemaDocumentationGenerator to improve documentation clarity. - Updated SchemaDoc to include outside_reference_fields parameter. - Modified various entity classes to utilize outside_reference_fields for better schema representation. - Introduced new container type checks and helper methods for handling dynamic fields in documentation generation.
6 lines
165 B
Python
6 lines
165 B
Python
from dify_plugin.core.documentation.generator import SchemaDocumentationGenerator
|
|
|
|
|
|
def generate_docs():
|
|
SchemaDocumentationGenerator().generate_docs("docs.md")
|