YARD(1)

✨ NAME ✨

okay so bestie, welcome to the yard manual page β€” section 1, we're in the big leagues πŸ’… β€” and yard is, and I quote, a documentation tool for Ruby. that's the whole vibe, that's the assignment.


πŸŽ€ SYNOPSIS πŸŽ€

yard command [options]

πŸ’– DESCRIPTION πŸ’–

so like, yard is an extensible documentation generation tool for the Ruby programming language πŸ”₯. it lets you generate documentation that is consistent, actually usable, and exportable to a bunch of formats super easily β€” and it also supports being extended for custom Ruby constructs, like custom class-level definitions. it's giving "your docs but make them make sense" ✨.

below are all the commands you can pass to yard on the command line. want the tea on any specific one? run yard help command from the command line and it will spill for you πŸ’….


πŸ‘‘ COMMANDS πŸ‘‘

  • config β€” views or edits your current global configuration πŸ› οΈ
  • diff β€” returns the object diff of two gems or .yardoc files πŸ‘€
  • display β€” displays a formatted object πŸ’«
  • doc β€” generates documentation. alsoooo yardoc(1) is a synonym of yard doc, so same energy, different name πŸ¦‹
  • gems β€” builds the YARD index for gems πŸ’Ž
  • graph β€” graphs a class diagram using Graphviz πŸ“Š
  • help β€” retrieves help for a command πŸ™‹
  • i18n β€” generates a .pot file from source code and extra documentation 🌍
  • list β€” lists all constant and methods. uses yard doc --list πŸ“‹
  • markups β€” lists all available markup types and libraries 🎨
  • ri β€” a tool to view documentation in the console, like ri(1). and yri(1) is a synonym of yard ri 🫢
  • server β€” runs a local documentation server πŸ–₯️
  • stats β€” prints documentation statistics on a set of files πŸ“ˆ

🌈 SEE ALSO 🌈

yardoc(1), yri(1).


πŸ’œ AUTHORS πŸ’œ

yard has been developed by Loren Segal <lsegal@soen.ca> πŸ‘‘

this manual page has been written for the Debian Project by CΓ©dric Boutillier β€” but it may be used by others 🫢 (yes, that comma crime is in the original, we keep the facts and the punctuation, periodt).


and that's the whole page, bestie!! this was the YARD(1) manual for version 0.9.45, dated 2026-07-23 β€” slay, ate, no crumbs left πŸŒΈπŸ’–βœ¨

πŸ“¦ where this page comes from