LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

yard

Ruby documentation generator

TLDR

Generate docs
$ yard doc
copy
Start server
$ yard server
copy
List undocumented
$ yard stats --list-undoc
copy
Generate for specific files
$ yard doc [lib/**/*.rb]
copy
Generate for gems
$ yard gems
copy
Show documentation for a class or method
$ yard ri [ClassName]
copy

SYNOPSIS

yard command [options]

DESCRIPTION

yard (Yay! A Ruby Documentation Tool) generates API documentation from Ruby source code. It parses specially formatted comments above classes, modules, and methods to produce browsable HTML documentation with cross-references and search.YARD uses its own tag syntax (such as @param, @return, @example) within comments to describe method signatures, return types, and usage examples. It also supports Markdown and other markup formats for free-form documentation within comments.The server subcommand starts a local web server for live documentation browsing during development. The stats subcommand reports documentation coverage, and --list-undoc identifies undocumented code. Templates control the HTML output layout and can be customized or replaced entirely.

PARAMETERS

doc

Generate docs.
server
Start server.
stats
Show statistics.
gems
Document gems.
ri
Show documentation.
diff
Show changes in documentation.
--list-undoc
List undocumented objects.

CAVEATS

Ruby-specific. YARD syntax in comments. Gem required.

HISTORY

YARD (Yay! A Ruby Documentation Tool) was created as a modern replacement for RDoc.

SEE ALSO

rdoc(1), ri(1), ruby(1), gem(1), bundle(1)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid