docs

package
v0.0.11 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 27, 2025 License: AGPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DocGenerator

type DocGenerator struct {
	// contains filtered or unexported fields
}

DocGenerator 文档生成器 负责生成插件文档

func NewDocGenerator

func NewDocGenerator(registry registry.PluginRegistry, logger hclog.Logger) *DocGenerator

NewDocGenerator 创建一个新的文档生成器

func (*DocGenerator) GenerateAllPluginDocs

func (g *DocGenerator) GenerateAllPluginDocs(outputDir string) error

GenerateAllPluginDocs 生成所有插件文档

func (*DocGenerator) GeneratePluginDetailDoc

func (g *DocGenerator) GeneratePluginDetailDoc(pluginID string) (string, error)

GeneratePluginDetailDoc 生成插件详情文档

func (*DocGenerator) GeneratePluginDiagram

func (g *DocGenerator) GeneratePluginDiagram(outputPath string) error

GeneratePluginDiagram 生成插件依赖关系图

func (*DocGenerator) GeneratePluginListDoc

func (g *DocGenerator) GeneratePluginListDoc() (string, error)

GeneratePluginListDoc 生成插件列表文档

func (*DocGenerator) LoadTemplate

func (g *DocGenerator) LoadTemplate(name, content string) error

LoadTemplate 加载模板

func (*DocGenerator) LoadTemplateFromFile

func (g *DocGenerator) LoadTemplateFromFile(name, path string) error

LoadTemplateFromFile 从文件加载模板

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL