summaryrefslogtreecommitdiff
path: root/ruby_parser.c
diff options
context:
space:
mode:
authorMasafumi Koba <473530+ybiquitous@users.noreply.github.com>2023-07-05 13:09:04 +0900
committergit <svn-admin@ruby-lang.org>2023-07-05 04:09:08 +0000
commit62b4983416022d3b286b5b1f9fbd908e9a0cfb6d (patch)
tree2143c54a4d4f062a16375788c7c87a8bdca5ac29 /ruby_parser.c
parentf9288fb585bfc897d51f8836637a5231fb30379d (diff)
[ruby/rdoc] [DOC] Improve CSS for "toggle source" hovering over one more 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
Diffstat (limited to 'ruby_parser.c')
0 files changed, 0 insertions, 0 deletions