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