Crate reference_doc

source ·


Derive Macros§

  • Macro that adds an implementation of the trait MarkdownReferenceDocGenerator to structs with derive(ReferenceDoc). The trait adds the fn get_markdown_reference_docs(). The return value is generated by consuming the struct’s field names, types, and doc comments. Markdown headers in the doc comments are appropriately indented based on the context in which they appear.