summaryrefslogtreecommitdiff
path: root/lib/rdoc
AgeCommit message (Collapse)Author
2022-03-16[ruby/rdoc] Fix full name of known classNobuyoshi Nakada
Properly set the name of `File::Constants`, which is the only name with a namespace in `RDoc::KNOWN_CLASSES`, and fixes longstanding bug that `File::Constants` becomes `File::File::Constants`. When it is generated by `rb_file_const` in dir.c, `name` is set to the qualified name as same as `full_name`, and generated in the normal way in file.c later, already set `full_name` is cleared and `name` will be constructed from the enclosing namespace and the `name`. It will results in duplicated namespace, `File::File::Constants`. https://github.com/ruby/rdoc/commit/3a8d6df562
2022-03-14[ruby/rdoc] Start with open when only one visible class/moduleNobuyoshi Nakada
https://github.com/ruby/rdoc/commit/6bb93001db
2022-03-14[ruby/rdoc] Fold class and module indexNobuyoshi Nakada
https://github.com/ruby/rdoc/commit/4c7c46fcc4
2022-03-13[ruby/rdoc] Refine `pretty_print`Nobuyoshi Nakada
https://github.com/ruby/rdoc/commit/acb91ea74a
2022-03-13[ruby/rdoc] Clean documents for backwards compatibilityNobuyoshi Nakada
https://github.com/ruby/rdoc/commit/23e61a208e
2022-03-11[ruby/rdoc] Scrollable sidebarMasafumi Koba
This change makes the sidebar scrollable via `position: sticky` and `overflow: auto`; See also <https://caniuse.com/?search=sticky> https://github.com/ruby/rdoc/commit/4d52e24840
2022-03-09[ruby/rdoc] Support crossref of methods with multiple argumentsPeter Zhu
For example, consider the following markup: C1#m(a, b) Before this patch, it generated this HTML: <p><a href=\"C1.html#method-i-m\"><code>C1#m</code></a>(a, b)</p> Which places the method arguments outside of the link. Now it generates this HTML: <a href=\"C1.html#method-i-m\"><code>C1#m(a, b)</code></a> https://github.com/ruby/rdoc/commit/05a2b2222b
2022-03-02[ruby/rdoc] Use `Marshal.load io` instead of `Marshal.load io.read`Kazuhiro NISHIYAMA
https://github.com/ruby/rdoc/commit/135198a31c
2022-02-22[ruby/rdoc] Prefer `require 'cgi/util'` instead of `require 'cgi'`Yusuke Endoh
RDoc is using only CGI.escape, escapeHTML, and unescape. We don't have to load the whole source code of cgi gem. https://github.com/ruby/rdoc/commit/d096222cc2
2022-02-12[ruby/rdoc] Dump plain objects as `RDoc::Options`Nobuyoshi Nakada
So that the generated `.rdoc_options` file is loadable. https://github.com/ruby/rdoc/commit/6cf6e1647b
2022-02-12[ruby/rdoc] Update generated filesNobuyoshi Nakada
2022-02-12[ruby/rdoc] Relative loading for easier development ↵Ulysse Buonomo
(https://github.com/ruby/rdoc/pull/821) This patch makes sure we only load relative code. Hence when coding or testing rdoc, we'll be sure to always be using the correct code. Discussion started at https://github.com/ruby/rdoc/pull/817. Signed-off-by: Ulysse Buonomo <buonomo.ulysse@gmail.com> https://github.com/ruby/rdoc/commit/aa41bd48eb Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org>
2022-02-12[ruby/rdoc] Optimize RawLine by using a regexp instead of negative ↵Yusuke Endoh
look-ahead rule This improves the performance in some cases. `rdoc .../gems/sinatra-2.1.0/README.md` takes 10.5 sec. before this change, and 7.1 sec. after this change. `make rdoc` of ruby/ruby takes 19.3 sec. before this change, 18.1 sec. after this change. https://github.com/ruby/rdoc/commit/7cf8281e3e
2022-02-09[ruby/rdoc] Simplify attribute exclusiveness conditionsNobuyoshi Nakada
https://github.com/ruby/rdoc/commit/45e33c4b85
2022-02-09[ruby/rdoc] Get rid of ruby-mode.el confusionsNobuyoshi Nakada
https://github.com/ruby/rdoc/commit/63fac51198
2022-02-09[ruby/rdoc] Allow cross references to negation operator methodNobuyoshi Nakada
https://github.com/ruby/rdoc/commit/69cafb213a
2022-02-09[ruby/rdoc] Allow cross references to logical operator methodsNobuyoshi Nakada
https://github.com/ruby/rdoc/commit/17c0da304d
2022-02-09[ruby/rdoc] Skip parentheses on singleton class declarationSoutaro Matsumoto
https://github.com/ruby/rdoc/commit/b6c6d4f978
2022-02-09[ruby/rdoc] Allow cross references to backtick methodNobuyoshi Nakada
https://github.com/ruby/rdoc/commit/52c33157f1
2022-02-09[ruby/rdoc] Allow cross references to operator methodsNobuyoshi Nakada
Make operator methods, e.g., `Regexp#=~`, `Integer#<=>`, cross reference targets. https://github.com/ruby/rdoc/commit/5d332a4128
2022-02-09[ruby/rdoc] Support all struct definition functionsNobuyoshi Nakada
Currently only `rb_struct_define_without_accessor` is supported by https://github.com/ruby/rdoc/pull/73. We should support other three functions too. https://github.com/ruby/rdoc/commit/d42288f06c
2022-01-24[ruby/rdoc] Fix typo in RDoc::Task examplegemmaro
https://github.com/ruby/rdoc/commit/7a77e55c2a
2021-12-24[ruby/rdoc] Version 6.4.0aycabta
https://github.com/ruby/rdoc/commit/4797f28df8
2021-12-09[ruby/rdoc] Resolve class and method of the same name correctlyaycabta
https://github.com/ruby/rdoc/commit/1e16284fe5
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