Project

General

Profile

Actions

Feature #3023

closed

RDoc urls

Added by marcandre (Marc-Andre Lafortune) about 14 years ago. Updated almost 13 years ago.

Status:
Closed
Target version:
[ruby-core:29053]

Description

=begin
Currently, rdoc generates url for methods that look like:

.../classes/Enumerable.html#M002713

This has two drawbacks.

  1. This URL is subject to change when methods are added/removed. This makes it impossible to reference the documentation of a method.

  2. There is no way to know what method this refers to just by looking at it.

If instead the url looked like:

.../classes/Enumerable.html#map-instance_method

then it would be human readable and RESTful.

The method name simply need to be URI encoded and suffixed with either instance_method, class_method, or -constant.
=end


Files

rdoc_url.patch (4.5 KB) rdoc_url.patch marcandre (Marc-Andre Lafortune), 04/19/2010 09:41 AM
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0