GeneratorDoc
A component that creates a GeneratorDoc block for generator functions.
import { GeneratorDoc } from "@alloy-js/python";
<GeneratorDoc deprecated="string" description={Children[]} examples={Children[]} note="string" parameters={ParameterDescriptor[]} raises={string[]} seeAlso={string[]} style={"google"} warning="string" yields="string" />import { GeneratorDoc } from "@alloy-js/python/stc";
GeneratorDoc({ deprecated: string, description: Children[], examples: Children[], note: string, parameters: ParameterDescriptor[], raises: string[], seeAlso: string[], style: "google", warning: string, yields: string,}).children(children)| deprecated | optional string | |
| description | Children[] | |
| examples | optional Children[] | |
| note | optional string | |
| parameters | optional ParameterDescriptor[] | |
| raises | optional string[] | |
| seeAlso | optional string[] | |
| style | optional “google” | |
| warning | optional string | |
| yields | optional string |