snippetbashTip
yard — Documentation tool for Ruby. More information: <https://rubydoc.info/gems/yard/file/docs/GettingStar
Viewed 0 times
rubycommandclimoretooldocumentationforyard
Problem
How to use the
yard command: Documentation tool for Ruby. More information: <https://rubydoc.info/gems/yard/file/docs/GettingStarted.md#using-yard-to-generate-documentation>.Solution
yard — Documentation tool for Ruby. More information: <https://rubydoc.info/gems/yard/file/docs/GettingStarted.md#using-yard-to-generate-documentation>.Create the documentation:
yardCreate the documentation and save it to one file:
yard --one-fileList all undocumented objects:
yard stats --list-undocCode Snippets
Create the documentation
yardCreate the documentation and save it to one file
yard --one-fileList all undocumented objects
yard stats --list-undocContext
tldr-pages: common/yard
Revisions (0)
No revisions yet.