aboutsummaryrefslogtreecommitdiffstats
path: root/lib/rdoc
Commit message (Collapse)AuthorAgeFilesLines
* fix typos inspired by r40825kazu2013-05-191-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40829 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix typos. Patch by k_takata.ktsj2013-05-192-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40825 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/generator/darkfish.rb: Set encoding on output template todrbrain2013-02-081-12/+12
| | | | | | | | | | user-specified encoding. * test/rdoc/test_rdoc_generator_darkfish.rb: Test for above. * lib/rdoc.rb: Bump version git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39154 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc: Import RDoc 4.0.0.rc.2drbrain2013-02-061-7/+9
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39102 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/servlet.rb: Fixed root search paths, filesystem pathsdrbrain2013-02-051-15/+19
| | | | | | | | instead of HTTP paths were returned. * test/rdoc/test_rdoc_servlet.rb: Test for above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39071 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/generator/darkfish.rb: Fixed debug message. RDoc bug #174drbrain2013-01-252-5/+7
| | | | | | | | | | | by Thomas Leitner. * lib/rdoc/store.rb: Fixed deletion of ri attribute data when a class was loaded then saved. RDoc bug #171 by Thomas Leitner. * test/rdoc/test_rdoc_store.rb: Test for above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38930 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/servlet.rb: Fixed display of site and home documentation.drbrain2013-01-236-1/+19
| | | | | | | | | | | | | | | | | | | | | | | Fixes rdoc issue #170 by Thomas Leitner. * test/rdoc/test_rdoc_servlet.rb: Test for above. * lib/rdoc/code_object.rb: Split #initialize_visibility from #initialize for reuse when loading a stored object. Fixes rdoc issue #171 by Thomas Leitner. * lib/rdoc/any_method.rb: Initialize visibility for #display? For rdoc issue #171 * lib/rdoc/attr.rb: ditto. * lib/rdoc/class_module.rb: ditto. * lib/rdoc/top_level.rb: ditto. * test/rdoc/test_rdoc_any_method.rb: Test for above. * test/rdoc/test_rdoc_attr.rb: ditto. * test/rdoc/test_rdoc_class_module.rb: ditto. * test/rdoc/test_rdoc_constant.rb: ditto. * test/rdoc/test_rdoc_top_level.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38899 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * .document: Removed extra spacedrbrain2013-01-161-0/+1
| | | | | | | | | | | | * lib/irb/lc/.document: Hide help-message * lib/minitest/.document: Hide README.txt * lib/rake/lib/.document: Hide project.rake * lib/rdoc/generator/template/json_index/.document: Hide JavaScript files * lib/rubygems/ssl_certs/.document: Hide PEM files. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38845 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/top_level.rb: Fixed extension trimming for page names indrbrain2013-01-141-1/+1
| | | | | | | | RDoc HTML output. [ruby-trunk - Bug #7673] * test/rdoc/test_rdoc_top_level.rb: Test for above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38814 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/cross_reference.rb: Fixed matching of C#=== or #===. RDocdrbrain2013-01-044-12/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | bug #164 * test/rdoc/test_rdoc_cross_reference.rb: Test for above. * lib/rdoc/parser/changelog.rb: Fixed parsing of dates. RDoc bug #165 * test/rdoc/test_rdoc_parser_changelog.rb: Test for above. * lib/rdoc/parser.rb: Fixed parsing multibyte files with incomplete characters at byte 1024. [ruby-trunk - Bug #6393] Fixed handling of -E. [ruby-trunk - Bug #6392] * test/rdoc/test_rdoc_options.rb: Test for above. * test/rdoc/test_rdoc_parser.rb: ditto. * test/rdoc/test_rdoc_parser_c.rb: ditto. * test/rdoc/test_rdoc_parser_changelog.rb: ditto. * test/rdoc/test_rdoc_parser_markdown.rb: ditto. * test/rdoc/test_rdoc_parser_rd.rb: ditto. * test/rdoc/test_rdoc_rdoc.rb: ditto. * lib/rdoc/tom_doc.rb: Fixed parsing of [] in TomDoc arguments list. RDoc bug #167 * test/rdoc/test_rdoc_tom_doc.rb: Test for above. * lib/rdoc.rb: Update version. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38690 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/parser/ruby.rb: Ignore methods defined on constants todrbrain2012-12-201-4/+23
| | | | | | | | | prevent modules with the names of constants from appearing in the documentation. * test/rdoc/test_rdoc_parser_ruby.rb: Test for the above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38490 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/markup/to_html.rb (class RDoc): Added current heading anddrbrain2012-12-202-0/+25
| | | | | | | | | | | | top links to headings. * lib/rdoc/generator/template/darkfish/rdoc.css: ditto * test/rdoc/test_rdoc_generator_markup.rb: Test for above * test/rdoc/test_rdoc_markup_to_html.rb: ditto * test/rdoc/test_rdoc_comment.rb: Removed trailing whitespace. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38487 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/encoding.rb: Do not remove #! line from document whendrbrain2012-12-182-3/+12
| | | | | | | | | | | | | setting encoding. This allows ruby executables to be parsed as ruby files. * test/rdoc/test_rdoc_encoding.rb: Test for above. * lib/rdoc/parser.rb: Set the parser file name of ruby executables correctly. * test/rdoc/test_rdoc_parser.rb: Test for above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38446 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/store.rb: Work around RDoc stores from older versions ofdrbrain2012-12-181-0/+3
| | | | | | | | RDoc. * test/rdoc/test_rdoc_store.rb: Test for above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38444 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/ruby_lex.rb: Return a TkHEREDOC instead of a TkSTRING whendrbrain2012-12-182-4/+21
| | | | | | | | | | the heredoc identifier is followed by a line-end. This allows proper display of some HEREDOCs in source view. * lib/rdoc/ruby_token.rb: Added TkHEREDOC * test/rdoc/test_rdoc_ruby_lex.rb: Test for above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38443 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc.rb: Updated VERSION.drbrain2012-12-166-67/+144
| | | | | | | | | | | | | | | | | | | | | | | | | * lib/rdoc/markup/attribute_manager.rb: Removed useless empty check. * lib/rdoc/markup/to_markdown.rb: Support links from other formats. * lib/rdoc/markup/formatter.rb: ditto. * lib/rdoc/markup/to_html.rb: ditto. * test/rdoc/test_rdoc_markup_formatter.rb: Test for above. * test/rdoc/test_rdoc_markup_to_html.rb: ditto. * test/rdoc/test_rdoc_markup_to_markdown.rb: ditto. * lib/rdoc/rd/block_parser.rb: Improved footnote display. Worked around bug in footnote conversion to Markdown. * test/rdoc/test_rdoc_rd_block_parser.rb: Test for above. * lib/rdoc/rd/inline_parser.rb: Fixed bug with emphasis inside verbatim. * test/rdoc/test_rdoc_rd_inline_parser.rb: Test for above. * test/rdoc/test_rdoc_parser_rd.rb: Use mu_pp, use shortcut methods. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38418 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/rubygems_hook.rb: Fixed generation of documentation.drbrain2012-12-142-11/+17
| | | | | | | | | | | | Disabled rdoc generation by default to match RubyGems defaults. Reduced diff with RubyGems::RDoc. * test/rdoc/test_rdoc_rubygems_hook.rb: Tests for the above. * test/rubygems/test_gem_rdoc.rb: ditto. * lib/rdoc/store.rb: Removed useless variable assignment git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38373 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/class_module.rb: Fixed duplicate comments for classes anddrbrain2012-12-134-33/+168
| | | | | | | | | | | | | | | modules from C. * test/rdoc/test_rdoc_class_module.rb: Test for the above. * lib/rdoc/parser/c.rb: Reload C variable names to allow proper updates of an ri store for C files. * lib/rdoc/rdoc.rb: ditto. * lib/rdoc/store.rb: ditto. * test/rdoc/test_rdoc_parser_c.rb: Test for the above. * test/rdoc/test_rdoc_store.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38362 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/class_module.rb: Added RDoc::ClassModule#documented? whichdrbrain2012-12-123-3/+17
| | | | | | | | | | | | | | | | checks comment_location. Hide RDoc::ClassModule#comment=. * test/rdoc/test_rdoc_class_module.rb: Test for above. * lib/rdoc/generator/template/darkfish/_sidebar_table_of_contents.rhtml: Fix display of the table of contents in the sidebar. * lib/rdoc/generator/template/darkfish/table_of_contents.rhtml: Use #comment_location when displaying classes or modules. * test/rdoc/test_rdoc_store.rb: Use comment_location. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38338 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/options.rb: Added --page-dir option for moving pages indrbrain2012-12-112-1/+42
| | | | | | | | | | doc/ to the top-level. * lib/rdoc/rdoc.rb: ditto. * test/rdoc/test_rdoc_options.rb: Test for the above. * test/rdoc/test_rdoc_rdoc.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38311 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/markdown/entities.rb: Added documentation.drbrain2012-12-083-6/+9
| | | | | | | | | | * lib/rdoc/parser/ruby.rb: Updated style * lib/rdoc/ruby_lex.rb: Parse characters up to \u{FFFFF} * test/rdoc/test_rdoc_ruby_lex.rb: Test for above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38277 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/markup/to_joined_paragraph.rb: Completed documentationdrbrain2012-12-076-16/+219
| | | | | | | | | | | | | | | | | | * lib/rdoc/parser/c.rb: ditto * lib/rdoc/parser/changelog.rb: ditto * lib/rdoc/servlet.rb: ditto * lib/rdoc/store.rb: ditto * lib/rdoc/store.rb: Improved HTML error page. Completed documentation * lib/rdoc/parser/ruby.rb: Fixed bug attaching a comment to A::B = 42 * test/rdoc/test_rdoc_parser_ruby.rb: Test for above * test/rdoc/test_rdoc_comment.rb: Removed garbage git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38256 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/context.rb: Don't warn for duplicate methods while loading.drbrain2012-12-061-5/+7
| | | | | | | * test/rdoc/test_rdoc_context.rb: Test for above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38231 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc*: Improved display of ChangeLog files as HTML.drbrain2012-12-055-13/+50
| | | | | | | * test/rdoc*: Test for above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38226 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/parser/changelog.rb: Parse more ChangeLog file variations.drbrain2012-12-051-14/+36
| | | | | | | * test/rdoc/test_rdoc_parser_changelog.rb: Test for above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38208 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/parser/changelog.rb: Added a ChangeLog parser to RDoc.drbrain2012-12-042-0/+111
| | | | | | | | * lib/rdoc/parser.rb: ditto * test/rdoc/test_rdoc_parser_changelog.rb: Test for above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38178 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/ri/driver.rb: Fixed ri page display for files withdrbrain2012-12-031-1/+5
| | | | | | | | extensions. * test/rdoc/test_rdoc_ri_driver.rb: Test for above git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38169 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/parser.rb: Improved modeline support. Patch by nobu.drbrain2012-12-021-2/+9
| | | | | | | * test/rdoc/test_rdoc_parser.rb: Test for above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38149 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/parser.rb: Parse files with a -*- rdoc -*- modelinedrbrain2012-12-011-1/+22
| | | | | | | * test/rdoc/test_rdoc_parser.rb: Test for above git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38135 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* markdown.rb: \rnobu2012-12-011-2/+2
| | | | | | | * lib/rdoc/markdown.rb (RDoc::Markdown): use \r instead of raw control code. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38102 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/ri/driver.rb: Relaxed matching for pages to be moredrbrain2012-11-301-2/+4
| | | | | | | | user-friendly. * test/rdoc/test_rdoc_ri_driver.rb: Test for above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38021 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/markdown.rb: Fixed warnings with -wdrbrain2012-11-301-71/+35
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38017 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/generator/darkfish.rb: Silenced warningdrbrain2012-11-296-9/+22
| | | | | | | | | | | | | | | | | | | | | | * test/rdoc/test_rdoc_rdoc.rb: ditto * lib/rdoc/markup/parser.rb: Use byteslice when available for performance * test/rdoc/test_rdoc_markup_parser.rb: Test for above * lib/rdoc/test_case.rb: ditto * lib/rdoc/parser/ruby.rb: Fixed bug parsing yield({}) * test/rdoc/test_rdoc_parser_ruby.rb (end): * lib/rdoc/rubygems_hook.rb: Skip default gems. Display generator name properly. * test/rdoc/test_rdoc_rubygems_hook.rb: Test for above * lib/rdoc/servlet.rb: Fixed typo. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38013 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/test_case.rb (RDoc::TestCase#verbose_capture_io):naruse2012-11-291-0/+14
| | | | | | | | | defined for asserts of warnings. * test/rdoc: use verbose_capture_io on asserts of warnings. they failed when tests was run with RUBYOPT=-W0. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37978 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* remove trailing spaces.nobu2012-11-295-114/+114
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37965 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/servlet.rb: Add support for serving documentation from adrbrain2012-11-282-9/+10
| | | | | | | | | | subdirectory. * lib/rdoc/generator/darkfish.rb: ditto * test/rdoc/test_rdoc_servlet.rb: Test for above * test/rdoc/test_rdoc_servlet.rb: ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37927 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/*: Added --root option for building documentation outsidedrbrain2012-11-2713-30/+71
| | | | | | | | | the source directory. * test/rdoc/*: ditto * common.mk (rdoc): Added --root to rdoc rule git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37896 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/rubygems_hook.rb: Updated for (upcoming) RubyGems 2drbrain2012-11-271-3/+11
| | | | | | | | import. * test/rdoc/test_rdoc_rubygems_hook.rb: ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37892 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc*: Updated to RDoc 4.0 (pre-release)drbrain2012-11-27132-3441/+30161
| | | | | | | | | * bin/rdoc: ditto * test/rdoc: ditto * NEWS: Updated with RDoc 4.0 information git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37889 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/parser.rb (RDoc.binary?): fix wrong regexp.naruse2012-05-031-1/+1
| | | | | | [ruby-core:44798] [Bug #6393] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35534 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rdoc: --extension option fixnobu2012-05-031-3/+11
| | | | | | | | | | | * lib/rdoc/parser.rb (RDoc.alias_extension): a real file is irrelevant to aliasing. [ruby-core:44796][Bug #6392] * lib/rdoc/parser.rb (RDoc.zip?): non-existent file will not be a zip file. * lib/rdoc/parser.rb (RDoc.can_parse_by_name): accept aliased extension file names. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35532 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rdoc: non-binary multibytenobu2012-05-031-5/+5
| | | | | | | * lib/rdoc/parser.rb (RDoc.binary?): binary read data may have incomplete multibyte sequence. [ruby-core:44798][Bug #6393] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35531 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/task.rb: suppress overriding deprecated class warning.nobu2012-03-291-0/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35171 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/encoding.rb (RDoc::Encoding.read_file): fixup newline charsusa2011-11-301-0/+1
| | | | | | | | | | | | | on Windows. see https://github.com/rdoc/rdoc/issues/87 * test/rdoc/test_rdoc_markup_pre_process.rb (TestRDocMarkupPreProcess#test_include_file, TestRDocMarkupPreProcess#test_include_file_encoding_incompatible): follow above change. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33902 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc: Import RDoc 3.9.4. Typo and grammar fixes by Luke Gruber.drbrain2011-08-262-17/+16
| | | | | | | [Ruby 1.9 - Bug #5203] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33088 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc: Update to RDoc 3.9.3. Fixes RDoc with `ruby -Ku`. Allowsdrbrain2011-08-235-3/+21
| | | | | | | | HTTPS image paths to be turned into <img> tags. Prevents special markup inside <tt> from being processed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33043 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc: Import RDoc 3.9.2. Fixes TIDYLINK for HTML output.drbrain2011-08-111-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32935 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc.rb: Import RDoc 3.9.1. Fixes bugs in the RDoc::Markupdrbrain2011-08-013-7/+14
| | | | | | | parser. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32794 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc: Update to RDoc 3.9. Fixed `ri []`, stopdoc creating andrbrain2011-07-3118-282/+512
| | | | | | | object reference, nodoc for class aliases, verbatim === lines. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32767 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc: Update to RDoc 3.8 which contains fixes for documentationdrbrain2011-06-296-42/+59
| | | | | | | in trunk. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32305 b2dd03c8-39d4-4d8f-98ff-823fe69b080e