fluent / fluent-operator

Operate Fluent Bit and Fluentd in the Kubernetes way - Previously known as FluentBit Operator
Apache License 2.0
587 stars 250 forks source link

auto generate plugin docs directory #1120

Closed onecer closed 7 months ago

onecer commented 7 months ago

Is your feature request related to a problem? Please describe.

When I try to gen doc, got this error

$ go run cmd/doc-gen/main.go
Error while generating documentation: open ./docs/plugins/fluentbit/multilineparser/multilineparser.md: no such file or directory

if relate dirs is not exists , gen doc will failed. like multilineparser plugin eg. ./docs/plugins/fluentbit/multilineparser

Describe the solution you'd like

it should be auto created directory when it does not exist.

people don't need to create it manually.

Additional context

No response