Documentation Generators

YARD – Ruby documentation tool

YARD is a documentation generation tool for the Ruby programming language.

It enables the user to generate consistent, usable documentation that can be exported to a number of formats very easily, and also supports extending for custom Ruby constructs such as custom class level definitions.

YARD is free and open source software.

Key Features

  • RDoc/SimpleMarkup Formatting Compatibility: YARD is made to be compatible with RDoc formatting. YARD does no processing on RDoc documentation strings, and leaves this up to the output generation tool to decide how to render the documentation.
  • Yardoc Meta-tag Formatting Like Python, Java, Objective-C and other languages: YARD uses a ‘@tag’ style definition syntax for meta tags alongside regular code documentation. YARD also supports an optional “types” declarations for certain tags. This allows the developer to document type signatures for ruby methods and parameters
  • Custom Constructs and Extensibility of YARD: YARD is designed to be extended and customized by plugins.
  • Raw Data Output: YARD also outputs documented objects as raw data (the dumped Namespace) which can be reloaded to do generation at a later date, or even auditing on code.
  • Local Documentation Server: YARD can serve documentation for projects or installed gems (similar to gem server) with the added benefit of dynamic searching, as well as live reloading.
  • Template Customization – customize templates using a specially designed templating system. The design allows plugin developers to make small modifications to a template without breaking changes that may have been made from another plugin. This means you can install multiple plugins that each make independent modifications without running into problems with your template. It also allows you to easily make small changes (like adding your own stylesheets) without digging into any markup.

Website: yardoc.org
Support: Guides, Mailing List, GitHub Code Repository
Developer: Loren Segal
License: MIT License

YARD is written in Ruby. Learn Ruby with our recommended free books and free tutorials.


Related Software

Documentation Generators
JSDocAPI documentation generator for JavaScript
JavadocGenerate API documentation in HTML format
SphinxCreate intelligent and beautiful documentation for Python projects
phpDocumentorComplete documentation solution for PHP
DoxygenDocumentation system for C, C++, Java, Python and other languages
DocusaurusBuild, deploy and maintain documentation websites
mdBookCreate modern online books from Markdown files
YARDRuby documentation tool
StarlightDocumentation website framework
DoccoLiterate-programming-style documentation generator
Natural DocsDocumentation generator that supports 21 different languages
QuartoScientific and technical publishing system
AntoraModular documentation site generator
CryccoQuick and dirty documentation generator
ROBODocDocumentation tool similar to Javadoc

Read our verdict in the software roundup.


Best Free and Open Source Software Explore our comprehensive directory of recommended free and open source software. Our carefully curated collection spans every major software category.

This directory is part of our ongoing series of informative articles for Linux enthusiasts. It features hundreds of detailed reviews, along with open source alternatives to proprietary solutions from major corporations such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk.

You’ll also find interesting projects to try, hardware coverage, free programming books and tutorials, and much more.

Discovered a useful open source Linux program that we haven’t covered yet? Let us know by completing this form.
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted