mirror of
https://github.com/ruby/ruby.git
synced 2025-08-24 05:25:34 +02:00
![]() 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`:
|
||
---|---|---|
.. | ||
css | ||
fonts | ||
images | ||
js | ||
.document | ||
_footer.rhtml | ||
_head.rhtml | ||
_sidebar_classes.rhtml | ||
_sidebar_extends.rhtml | ||
_sidebar_in_files.rhtml | ||
_sidebar_includes.rhtml | ||
_sidebar_installed.rhtml | ||
_sidebar_methods.rhtml | ||
_sidebar_navigation.rhtml | ||
_sidebar_pages.rhtml | ||
_sidebar_parent.rhtml | ||
_sidebar_search.rhtml | ||
_sidebar_sections.rhtml | ||
_sidebar_table_of_contents.rhtml | ||
_sidebar_VCS_info.rhtml | ||
class.rhtml | ||
index.rhtml | ||
page.rhtml | ||
servlet_not_found.rhtml | ||
servlet_root.rhtml | ||
table_of_contents.rhtml |