A YARD plugin that parses Sorbet type annotations
sig
declarations. (This information is otherwise discarded.)sig
type signatures into corresponding YARD tagsT::Struct
fieldsT::Enum
enumsabstract!
or interface!
are tagged @abstract
mixes_in_class_methods
will attach class methodssig
s in rbi files with source code documentation (rbi files must come after source code in yard configuration)See the Plugin Support section of the YARD docs.
This plugin is used by:
yard-sorbet
itself