MintlifyExampleExtractor
Extracts and formats code examples from XML documentation for Mintlify display.Syntax
Inheritance
Constructors
MintlifyExampleExtractor
Parameters
- options MintlifyOptions: The generation options.
- linkResolver MintlifyLinkResolver: The link resolver for cross-references.
Methods
ExtractMemberExamples
Parameters
- member XmlMember: The member to extract examples from.
Returns
string Formatted MDX content containing the examples.ExtractTypeExamples
Parameters
- type XmlMember: The type to extract examples from.
- xmlDocumentation AssemblyXmlDocumentation: The complete XML documentation context.
Returns
string Formatted MDX content containing the examples.GenerateUsageExamples
Parameters
- type XmlMember: The type to generate usage examples for.
- xmlDocumentation AssemblyXmlDocumentation: The complete XML documentation context.