Age | Commit message (Collapse) | Author |
|
https://github.com/ruby/rdoc/commit/895f1affc0
|
|
https://github.com/ruby/rdoc/commit/f7dd147a8c
|
|
https://github.com/ruby/rdoc/commit/e4c90340d0
|
|
https://github.com/ruby/rdoc/commit/7a8e9a97fa
|
|
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
|
|
https://github.com/ruby/rdoc/commit/1904e9076d
|
|
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
|
|
https://github.com/ruby/rdoc/commit/aaed688a97
|
|
https://github.com/ruby/rdoc/commit/7cf353a696
|
|
https://github.com/ruby/rdoc/commit/04f75d8516
Co-authored-by: Nobuyoshi Nakada <[email protected]>
|
|
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]>
|
|
https://github.com/ruby/rdoc/commit/83f0149fc1
|
|
https://github.com/ruby/rdoc/commit/2161157205
|
|
https://github.com/ruby/rdoc/commit/1f568e049d
|
|
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
|
|
https://github.com/ruby/rdoc/commit/4a1c74bc0a
|
|
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
|
|
(https://github.com/ruby/rdoc/pull/1015)
TIDYLINK multi-word label should not include braces.
https://github.com/ruby/rdoc/commit/41ad3191e9
|
|
|
|
https://github.com/ruby/rdoc/commit/9c14229876
|
|
https://github.com/ruby/rdoc/commit/b59ca2f981
|
|
|
|
https://github.com/ruby/rdoc/commit/0d10f460eb
|
|
https://github.com/ruby/rdoc/commit/a61b777df0
|
|
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
|
|
https://github.com/ruby/rdoc/commit/ed91c4b784
|
|
* 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
|
|
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
|
|
[ci skip]
https://github.com/ruby/rdoc/commit/b93687fdd0
|
|
https://github.com/ruby/rdoc/commit/663edc807c
|
|
https://github.com/ruby/rdoc/commit/db62e47df2
|
|
https://github.com/ruby/rdoc/commit/76192a280d
|
|
|
|
|
|
https://github.com/ruby/rdoc/commit/4b68c0728a
|
|
- 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
|
|
- 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
|
|
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
|
|
https://github.com/ruby/rdoc/commit/26136138aa
|
|
Also empty document of `Object`.
https://github.com/ruby/rdoc/commit/ce32a3102b
|
|
https://github.com/ruby/rdoc/commit/945f0cb3e9
|
|
Fixes https://github.com/ruby/rdoc/pull/1000
https://github.com/ruby/rdoc/commit/291e2b7e8b
|
|
Fix https://github.com/ruby/rdoc/pull/995
https://github.com/ruby/rdoc/commit/1311ca8c50
|
|
Fix https://github.com/ruby/rdoc/pull/995
https://github.com/ruby/rdoc/commit/adfa7db5b9
|
|
https://github.com/ruby/rdoc/commit/987c609df9
|
|
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/7387
|
|
The calls to require prevent the class from being documented.
https://github.com/ruby/rdoc/commit/76283fc42e
|
|
https://github.com/ruby/rdoc/commit/7e70d41585
|
|
https://github.com/ruby/rdoc/commit/6d609cb64c
Co-authored-by: Olle Jonsson <[email protected]>
|