ruby/lib/rdoc/generator/template/darkfish
Jeremy Evans 3f6c92e9d5 [ruby/rdoc] Omit descriptions and parameter lists for methods defined in C 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.

e3688de49b
2023-09-05 00:45:42 +00:00
..
css [ruby/rdoc] [DOC] Improve CSS for "toggle source" hovering over one more method signatures 2023-07-05 04:09:08 +00:00
fonts
images
js [ruby/rdoc] [DOC] Fix to use KeyboardEvent.key over keyCode 2023-07-05 03:39:18 +00:00
.document
_footer.rhtml
_head.rhtml [ruby/rdoc] Escape search results 2022-10-07 12:12:09 +09:00
_sidebar_classes.rhtml [ruby/rdoc] Start with open when only one visible class/module 2022-03-14 14:48:13 +09:00
_sidebar_extends.rhtml
_sidebar_in_files.rhtml
_sidebar_includes.rhtml
_sidebar_installed.rhtml
_sidebar_methods.rhtml
_sidebar_navigation.rhtml
_sidebar_pages.rhtml [ruby/rdoc] Escape file names 2022-10-07 12:12:08 +09:00
_sidebar_parent.rhtml
_sidebar_search.rhtml [ruby/rdoc] Add keydown event listener to focus on search field 2023-07-05 03:37:28 +00:00
_sidebar_sections.rhtml
_sidebar_table_of_contents.rhtml [ruby/rdoc] Darkfish: Nest sidebar ToC as a tree of headings 2022-11-27 17:18:16 +00:00
_sidebar_VCS_info.rhtml
class.rhtml [ruby/rdoc] Omit descriptions and parameter lists for methods defined in C not mentioned in call-seq 2023-09-05 00:45:42 +00:00
index.rhtml [ruby/rdoc] Escape main title 2022-10-07 12:09:23 +09:00
page.rhtml
servlet_not_found.rhtml
servlet_root.rhtml
table_of_contents.rhtml [ruby/rdoc] Use flat_map for better performance 2023-06-14 23:47:25 +00:00