README.rdoc 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. = \RDoc - Ruby Documentation System
  2. home :: https://github.com/rdoc/rdoc
  3. rdoc :: http://docs.seattlerb.org/rdoc
  4. bugs :: https://github.com/rdoc/rdoc/issues
  5. == Description
  6. RDoc produces HTML and command-line documentation for Ruby projects. RDoc
  7. includes the +rdoc+ and +ri+ tools for generating and displaying online
  8. documentation.
  9. See RDoc for a description of RDoc's markup and basic use.
  10. == Synopsis
  11. To learn RDoc's syntax and directives for documenting your ruby project see
  12. RDoc::Markup. RDoc::Parser::Ruby and RDoc::Parser::C have additional
  13. directives (such as metaprogrammed methods) for documenting Ruby and C files
  14. respectively.
  15. To generate HTML documentation for your project run <tt>rdoc .</tt> in your
  16. project's root directory.
  17. To determine how well your project is documented run <tt>rdoc -C lib</tt> to
  18. get a documentation coverage report. <tt>rdoc -C1 lib</tt> includes parameter
  19. names in the documentation coverage report.
  20. To generate documentation using +rake+ see RDoc::Task.
  21. To generate documentation programmatically:
  22. gem 'rdoc'
  23. require 'rdoc/rdoc'
  24. options = RDoc::Options.new
  25. # see RDoc::Options
  26. rdoc = RDoc::RDoc.new
  27. rdoc.document options
  28. # see RDoc::RDoc
  29. == Bugs
  30. If you find a bug, please report it at the RDoc project's
  31. {issues tracker}[https://github.com/rdoc/rdoc/issues] on github.
  32. == License
  33. RDoc is Copyright (c) 2001-2003 Dave Thomas, The Pragmatic Programmers.
  34. Portions (c) 2007-2011 Eric Hodel. Portions copyright others, see individual
  35. files for details.
  36. It is free software, and may be redistributed under the terms specified in
  37. LICENSE.txt.
  38. == Warranty
  39. This software is provided "as is" and without any express or implied
  40. warranties, including, without limitation, the implied warranties of
  41. merchantibility and fitness for a particular purpose.