summaryrefslogtreecommitdiff
path: root/lib/rdoc
AgeCommit message (Collapse)Author
2023-12-16[ruby/rdoc] Bump up v6.6.2Hiroshi SHIBATA
https://github.com/ruby/rdoc/commit/895f1affc0
2023-12-16[ruby/rdoc] [DOC] nodoc for probably internal methodsNobuyoshi Nakada
https://github.com/ruby/rdoc/commit/f7dd147a8c
2023-12-16[ruby/rdoc] [DOC] Add missing documentsNobuyoshi Nakada
https://github.com/ruby/rdoc/commit/e4c90340d0
2023-12-16[ruby/rdoc] Remove unused method `RDoc::Encoding.remove_frozen_string_literal`Nobuyoshi Nakada
https://github.com/ruby/rdoc/commit/7a8e9a97fa
2023-12-06[ruby/rdoc] Only word-ending colon separates new definitionNobuyoshi Nakada
When followed by non-space characters, rather it looks like a URL or a path name on Windows. https://github.com/ruby/rdoc/commit/72c6560773
2023-12-06[ruby/rdoc] Needs more backslash to match escaping backslashsNobuyoshi Nakada
https://github.com/ruby/rdoc/commit/1904e9076d
2023-12-05[ruby/rdoc] Allow any single-word token upto 2 before C method implementationNobuyoshi Nakada
Previously only unknown word `intern` is allowed between a single-word token before a C method. Now any single-word token, such as `inline` which is used for `ArithmeticSequence` in enumerator.c, is allowed instead. https://github.com/ruby/rdoc/commit/3a214c1dd1
2023-12-05[ruby/rdoc] Reduce matched substring allocationsNobuyoshi Nakada
https://github.com/ruby/rdoc/commit/aaed688a97
2023-12-05[ruby/rdoc] Bump up 6.6.1Hiroshi SHIBATA
https://github.com/ruby/rdoc/commit/7cf353a696
2023-12-05[ruby/rdoc] Early return when `token_stream` is `nil`Toshimaru
https://github.com/ruby/rdoc/commit/04f75d8516 Co-authored-by: Nobuyoshi Nakada <[email protected]>
2023-12-05[ruby/rdoc] fix: fix `NoMethodError` when `token_stream` is niltoshimaru
The change in #1055 might be a breaking change. So, just simply wrap `token_stream` with `Array` https://github.com/ruby/rdoc/commit/d8c19d7fa1 Co-authored-by: Jonathan Hefner <[email protected]>
2023-12-02[ruby/rdoc] Markup punctuations need to be separated with a spaceNobuyoshi Nakada
https://github.com/ruby/rdoc/commit/83f0149fc1
2023-11-27[ruby/rdoc] [DOC] Slightly decorate `em` and `strong`Nobuyoshi Nakada
https://github.com/ruby/rdoc/commit/2161157205
2023-11-27[ruby/rdoc] Place a space between certain character class letters onlyNobuyoshi Nakada
https://github.com/ruby/rdoc/commit/1f568e049d
2023-11-16[ruby/rdoc] Revert "chore: Remove unnecessary argument for `join` method"Nobuyoshi Nakada
This reverts commit https://github.com/ruby/rdoc/commit/4a1c74bc0a09. Since RDoc still supports ruby 2.6 which has not deprecated `$,`, the argument of `Array#join` is not unnecessary yet. https://github.com/ruby/rdoc/commit/72897d32ed
2023-11-16[ruby/rdoc] chore: Remove unnecessary argument for `join` methodtoshimaru
https://github.com/ruby/rdoc/commit/4a1c74bc0a
2023-11-16[ruby/rdoc] fix: Fix NoMethodError for `tokens_to_s` methodtoshimaru
Calling `tokens_to_s` gets an error if `token_stream` is nil: ``` undefined method `compact' for nil:NilClass (NoMethodError) ``` So, fall back to an empty array if `@token_stream` is nil. https://github.com/ruby/rdoc/commit/452e4a2600
2023-11-14[ruby/rdoc] Fix TIDYLINK after bracesNobuyoshi Nakada
(https://github.com/ruby/rdoc/pull/1015) TIDYLINK multi-word label should not include braces. https://github.com/ruby/rdoc/commit/41ad3191e9
2023-11-06Update rdoc parsers generated by racc-1.7.3Hiroshi SHIBATA
2023-11-06[ruby/rdoc] Bump up 6.6.0Hiroshi SHIBATA
https://github.com/ruby/rdoc/commit/9c14229876
2023-10-17[ruby/rdoc] Delay DidYouMean until NotFoundError#message is calledtompng
https://github.com/ruby/rdoc/commit/b59ca2f981
2023-10-03[DOC] Link fixesBurdetteLamar
2023-09-05[ruby/rdoc] Remove code for versions older than Ruby 2.6Nobuyoshi Nakada
https://github.com/ruby/rdoc/commit/0d10f460eb
2023-09-05[ruby/rdoc] Remove code for versions older than Ruby 2.3Nobuyoshi Nakada
https://github.com/ruby/rdoc/commit/a61b777df0
2023-09-05[ruby/rdoc] Omit descriptions and parameter lists for methods defined in C ↵Jeremy Evans
not mentioned in call-seq This allows RDoc to better generate documentation for methods following the Ruby core documentation guide (which omits aliases in call-seq in most cases). This makes documentation for methods defined in C more similar to methods defined in Ruby. For methods defined in Ruby, the method description of the aliased method is already not used (you have to explicitly document the alias to use it). Internally, this adds AnyMethod#has_call_seq? and #skip_description?, and updates Darkfish to: * only show the method name if there is a call-seq for the method, but the call-seq omits the method * to omit the method description if the method is an alias or has aliases and has a call-seq that does not include the method See discussion in https://github.com/ruby/ruby/pull/7316 for details. https://github.com/ruby/rdoc/commit/e3688de49b
2023-09-05[ruby/rdoc] handle symbols declared with `%s`theo-squadracer
https://github.com/ruby/rdoc/commit/ed91c4b784
2023-07-29[ruby/rdoc] Use a more portable way to check if code is parseableBenoit Daloze
* The same as used in irb: https://github.com/ruby/irb/pull/134/files * This works on all Ruby implementations, unlike `return` in BEGIN which can be quite difficult to support. https://github.com/ruby/rdoc/commit/d19f7c66fe
2023-07-05[ruby/rdoc] [DOC] Improve CSS for "toggle source" hovering over one more ↵Masafumi Koba
method signatures This commit improves the behavior of showing the "toggle source" element on mouseover. For example, when a method has one more signatures by using `:call-seq:`, ```ruby # :call-seq: # foo {|element| ... } -> self # foo -> new_enumeration def foo end ``` The current CSS doesn't show "toggle source" even when hovering the second signature `foo -> new_enumeration`. But this change will show "toggle source" always when hovering over any signature. For details about the `.method-header` element, see `lib/rdoc/generator/template/darkfish/class.rhtml`: https://github.com/ruby/rdoc/blob/0e060c69f51ec4a877e5cde69b31d47eaeb2a2b9/lib/rdoc/generator/template/darkfish/class.rhtml#L101-L124 For example, see https://docs.ruby-lang.org/en/3.2/Array.html#method-i-delete
2023-07-05[ruby/rdoc] Add source_code, homepage and changelog uris to gemspec metadata ↵Vinicius Stock
[ci skip] https://github.com/ruby/rdoc/commit/b93687fdd0
2023-07-05[ruby/rdoc] [DOC] Fix to use KeyboardEvent.key over keyCodegemmaro
https://github.com/ruby/rdoc/commit/663edc807c
2023-07-05[ruby/rdoc] Add keydown event listener to focus on search fieldgemmaro
https://github.com/ruby/rdoc/commit/db62e47df2
2023-06-14[ruby/rdoc] Use flat_map for better performancePetrik
https://github.com/ruby/rdoc/commit/76192a280d
2023-06-14Update RDoc::RD parsers generated by racc-1.7.1Hiroshi SHIBATA
2023-06-08Re-generate RDoc::RD parsers with racc-1.7.0Hiroshi SHIBATA
2023-06-03[ruby/rdoc] Auto-correct trailing new linesVinicius Stock
https://github.com/ruby/rdoc/commit/4b68c0728a
2023-05-26[ruby/rdoc] Improve `<summary>` CSS on sidebarMasafumi Koba
- Use a smaller font size for the toggle symbol. (Currently, it seems a little too large) - Use the child combinator (`>`) to unify selectors. - Use `margin-left` instead of whitespace within the `content` property. - Use `::` instead of outdated `:` for the pseudo-element symbol. (See https://developer.mozilla.org/en-US/docs/Web/CSS/::before) https://github.com/ruby/rdoc/commit/61ce0a7d75
2023-05-26[ruby/rdoc] Improve layout CSSMasafumi Koba
- Use the `grid` property for the page layout. - https://caniuse.com/css-grid - Adjust the `<main>` margin. - Make the sidebar responsive and resizable. - https://caniuse.com/css-math-functions - https://caniuse.com/css-resize Note all modern browsers support the new CSS properties and functions used by this change. https://github.com/ruby/rdoc/commit/2db5097c41
2023-05-06[ruby/rdoc] Isolate root dir if specifiedzzak
This ensures only files from the root directory are chosen, in order to allow a clean build from outside the source directory. https://github.com/ruby/rdoc/commit/f3b389aa9e
2023-05-05[ruby/rdoc] Drop the support for 2.5 or earlier because of CVE-2021-31799Nobuyoshi Nakada
https://github.com/ruby/rdoc/commit/26136138aa
2023-05-02[ruby/rdoc] [DOC] stop documenting fallback `MatchData#match_length`Nobuyoshi Nakada
Also empty document of `Object`. https://github.com/ruby/rdoc/commit/ce32a3102b
2023-05-02[ruby/rdoc] Section may not have `label`Nobuyoshi Nakada
https://github.com/ruby/rdoc/commit/945f0cb3e9
2023-05-02[ruby/rdoc] Fix references to nested label in table_of_contentsNobuyoshi Nakada
Fixes https://github.com/ruby/rdoc/pull/1000 https://github.com/ruby/rdoc/commit/291e2b7e8b
2023-04-29[ruby/rdoc] Fix polynominal backtrackingNobuyoshi Nakada
Fix https://github.com/ruby/rdoc/pull/995 https://github.com/ruby/rdoc/commit/1311ca8c50
2023-04-29[ruby/rdoc] Fix polynominal backtrackingNobuyoshi Nakada
Fix https://github.com/ruby/rdoc/pull/995 https://github.com/ruby/rdoc/commit/adfa7db5b9
2023-03-31[ruby/rdoc] Use `File.binread`Nobuyoshi Nakada
https://github.com/ruby/rdoc/commit/987c609df9
2023-03-03Regenerate parsers with racc-1.6.2Hiroshi SHIBATA
2023-02-27Prefer to use File.readlines instead of IO.readlinesHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/7387
2023-02-21[ruby/rdoc] Fix RDoc::Parser::Ruby not being documentedÉtienne Barrié
The calls to require prevent the class from being documented. https://github.com/ruby/rdoc/commit/76283fc42e
2023-02-06[ruby/rdoc] Actually execute RDoc document task for coveragezzak
https://github.com/ruby/rdoc/commit/7e70d41585
2023-02-03[ruby/rdoc] Add newline before returnzzak
https://github.com/ruby/rdoc/commit/6d609cb64c Co-authored-by: Olle Jonsson <[email protected]>