summaryrefslogtreecommitdiff
path: root/lib/rdoc
AgeCommit message (Collapse)Author
2021-10-16[ruby/rdoc] fix: alias to method with call-seqMike Dalessio
This change fixes alias call-seq to return nil if the method's call-seq does not specify the alias. Previously, the alias's call-seq would be an empty string in this case which broke darkfish rendering. This change also backfills test coverage for 0ead786 which moved call-seq deduplication into AnyMethod. https://github.com/ruby/rdoc/commit/5ce2789b6f
2021-10-16[ruby/rdoc] Support linking #==Mike Dalessio
See related commits: - ebc66662 for #=== - 4943d208 for #[], #[]=, #<<, and #>> https://github.com/ruby/rdoc/commit/8e47f7840a
2021-10-16[ruby/rdoc] feat: add support for :category: on C functionsMike Dalessio
https://github.com/ruby/rdoc/commit/45c92005fe
2021-10-16[ruby/rdoc] fix: comments in C files use the global markup optionMike Dalessio
Previously, Parser::C comments all defaulted to "rdoc" format, even when the user had set a different default with the `--markup=<choice>` option. https://github.com/ruby/rdoc/commit/4643b08a26
2021-10-16[ruby/rdoc] extract Comment creation in Parser::CMike Dalessio
This is a prefactor for fixing comment format handling. https://github.com/ruby/rdoc/commit/a3d366feed
2021-10-11[ruby/rdoc] Update SourceCodePro font filesaycabta
https://github.com/ruby/rdoc/commit/d3201d0d47
2021-09-28Removed needless rake and bundler files for rdocHiroshi SHIBATA
2021-09-11[ruby/rdoc] Convert upper case copyright and registered marksNobuyoshi Nakada
https://github.com/ruby/rdoc/commit/3bca7dc093
2021-09-11[ruby/rdoc] Convert tick double quote in character entity referencesNobuyoshi Nakada
https://github.com/ruby/rdoc/commit/6ed889aac9
2021-09-11[ruby/rdoc] Convert a backtick to an open single quoteNobuyoshi Nakada
https://github.com/ruby/rdoc/commit/82eaefbae4
2021-09-11[ruby/rdoc] Convert single quotes in character entity referencesNobuyoshi Nakada
As well as double quotes. https://github.com/ruby/rdoc/pull/824#discussion_r683173389 https://github.com/ruby/rdoc/commit/09002bdab5
2021-09-03Removed needless Gemfile in ruby repo.Hiroshi SHIBATA
2021-09-03[ruby/rdoc] Add tests for `--template-stylesheets` optionNobuyoshi Nakada
Also flattens `@options.template_stylesheets` when parsing the command lines. Fixes #205 Fixes #828 too https://github.com/ruby/rdoc/commit/857002a763
2021-09-03[ruby/rdoc] minitest is not need to run rubygems test nowHiroshi SHIBATA
https://github.com/ruby/rdoc/commit/27c5f946d2
2021-09-02[ruby/rdoc] Move RDoc::RDoc#load_options to RDoc::RDoc.load_optionsaycabta
https://github.com/ruby/rdoc/commit/ac85e01756
2021-08-10Update parser files of RDoc generated by the latest Raccaycabta
2021-08-10Update parser files of RDoc generated by the latest KPegaycabta
2021-08-10[ruby/rdoc] Use HEAD of kpegaycabta
I compared the results between the latest release of kpeg gem (1.1.0) and HEAD of kpeg gem with `time` command, and the execution time is reduced from 38.35s sec to 35.06 sec. ref. https://github.com/evanphx/kpeg/pull/43 https://github.com/ruby/rdoc/commit/682bcb48ce
2021-08-10[ruby/rdoc] Add "rake clean" task to erase generated parser filesaycabta
https://github.com/ruby/rdoc/commit/4e3e635afa
2021-08-10Import copied Rakefile from original RDoc repositoryaycabta
2021-08-10[ruby/rdoc] Move dev dependency of gettext to Gemfileaycabta
https://github.com/ruby/rdoc/commit/a177377b6f
2021-08-10[ruby/rdoc] Use single quote in Gemfileaycabta
https://github.com/ruby/rdoc/commit/e4b68d414c
2021-08-10Import copied Gemfile from original RDoc repositoryaycabta
2021-07-06[ruby/rdoc] Bump version to 6.3.2Hiroshi SHIBATA
https://github.com/ruby/rdoc/commit/0a3a674583
2021-07-05[ruby/rdoc] Fix links without pathsNobuyoshi Nakada
https://github.com/ruby/rdoc/commit/424bd5db4d
2021-07-05[ruby/rdoc] Fix for explicit http linkNobuyoshi Nakada
https://github.com/ruby/rdoc/commit/caf234665c
2021-07-05[ruby/rdoc] Allow a label in a link to another document textNobuyoshi Nakada
https://github.com/ruby/rdoc/commit/85bb2d33bb
2021-07-05[ruby/rdoc] Support ActiveSupport::Concern.includedaycabta
ref. https://github.com/rails/rails/blob/168ddaa08a63cd956bb7c3ba10be1a7ae36d4ee2/activerecord/lib/active_record/core.rb#L9-L20 https://github.com/ruby/rdoc/commit/a2d651dade Co-authored-by: Fumiaki MATSUSHIMA <mtsmfm@gmail.com>
2021-07-05[ruby/rdoc] Fix chained inclusion ancestors_ofUlysse Buonomo
Fixes #814 Signed-off-by: Ulysse Buonomo <buonomo.ulysse@gmail.com> https://github.com/ruby/rdoc/commit/b45f747216
2021-07-05[ruby/rdoc] Document 'ruby:' to show core documentation in rixstnztk
ri supports 'ruby:' as a kind of "pseudo gem name" to display files of the core Ruby documentation such as syntax and NEWS. Add the appropriate documentation to the description of options shown by "ri --help". https://github.com/ruby/rdoc/commit/a0e5df6702
2021-06-23[ruby/rdoc] Specify working directory for RDoc::Options#check_filesHiroshi SHIBATA
https://github.com/ruby/rdoc/commit/f6cca9bd2f
2021-06-02[ruby/rdoc] Add a dependency on psych gem 4.0.0 or neweraycabta
https://github.com/ruby/rdoc/commit/ebe185c877
2021-05-21Use YAML.safe_load to use the permitted_classes optionaycabta
2021-05-21[ruby/rdoc] Drop support for Ruby 2.4Nobuyoshi Nakada
https://github.com/ruby/rdoc/commit/f480b970cc
2021-05-21[ruby/rdoc] Update rdoc.gemspec by adding lib/rdoc/markup/table.rbYusuke Endoh
Fixes ruby/rdoc#808 https://github.com/ruby/rdoc/commit/80766fd389
2021-05-21[ruby/rdoc] Version 6.3.1aycabta
https://github.com/ruby/rdoc/commit/9307f932b7
2021-05-21[ruby/rdoc] Use File.open to fix the OS Command Injection vulnerability in ↵aycabta
CVE-2021-31799 https://github.com/ruby/rdoc/commit/a7f5d6ab88
2021-05-17lib/rdoc/rdoc.rb: Allow only RDoc::Options in .rdoc_optionsYusuke Endoh
Follow-up of d8fd92f62024d85271a3f1125bc6928409f912e1. Instead of using unsafe_load blindly, RDoc::Options is only supposed to be allowed.
2021-05-17Workaround with fbb4e3f96c10de2240f2d87eac19cf6f62f65fea in rdocHiroshi SHIBATA
2021-04-03[ruby/rdoc] Links to document texts without "rdoc-ref:" prefixNobuyoshi Nakada
While links to generated HTML from RDoc file needs to be prefixed by "rdoc-ref:" currently, in case of explicit references this seems just redundant. Also GitHub RDoc support does not work with this prefix. This patch lets links to such document texts (".rb", ".rdoc" and ".md" now) refer URLs generated by `RDoc::TopLevel#http_url` without the prefix. https://github.com/ruby/rdoc/commit/f18b27b69d
2021-04-03[ruby/rdoc] Treat emphasis tags as excluding other notationsaycabta
And exclusive notations don't exclude other exclusive notations. https://github.com/ruby/rdoc/commit/b8baa9a435
2021-04-03[ruby/rdoc] Treat other tags as word boundariesaycabta
https://github.com/ruby/rdoc/commit/8222f85a17
2021-04-03[ruby/rdoc] Disable other notations in <code> tagsaycabta
https://github.com/ruby/rdoc/commit/0cd3b55210
2021-03-16[ruby/rdoc] Get rid of a trailing spaceNobuyoshi Nakada
https://github.com/ruby/rdoc/commit/7b7b91768e Notes: Merged: https://github.com/ruby/ruby/pull/4274
2021-03-16[ruby/rdoc] Suppress unused variable warning of "text"aycabta
https://github.com/ruby/rdoc/commit/3a4120b155 Notes: Merged: https://github.com/ruby/ruby/pull/4274
2021-03-16[ruby/rdoc] Allow empty .rdoc_optionsaycabta
https://github.com/ruby/rdoc/commit/0c8cb25b50 Notes: Merged: https://github.com/ruby/ruby/pull/4274
2021-03-16[ruby/rdoc] Allow partial default values to be overridden with .rdoc_optionsaycabta
https://github.com/ruby/rdoc/commit/e14800891f Notes: Merged: https://github.com/ruby/ruby/pull/4274
2021-03-16[ruby/rdoc] Fixed CodeFence without blank linesNobuyoshi Nakada
Currently a fenced code block needs a preceding blank line, it should not be required, as: https://github.github.com/gfm/#fenced-code-blocks > A fenced code block may interrupt a paragraph, and does not > require a blank line either before or after. Just recommended: https://docs.github.com/en/github/writing-on-github/creating-and-highlighting-code-blocks > We recommend placing a blank line before and after code blocks > to make the raw formatting easier to read. https://github.com/ruby/rdoc/commit/0e1776caf3 Notes: Merged: https://github.com/ruby/ruby/pull/4274
2021-03-16[ruby/rdoc] Add table styleNobuyoshi Nakada
https://github.com/ruby/rdoc/commit/2219c5ae80 Notes: Merged: https://github.com/ruby/ruby/pull/4274
2021-03-16[ruby/rdoc] Support GFM tableNobuyoshi Nakada
https://github.com/ruby/rdoc/commit/9dc933df16 Notes: Merged: https://github.com/ruby/ruby/pull/4274