Feature #3023
closed
Added by marcandre (Marc-Andre Lafortune) over 14 years ago.
Updated over 13 years ago.
Description
=begin
Currently, rdoc generates url for methods that look like:
.../classes/Enumerable.html#M002713
This has two drawbacks.
-
This URL is subject to change when methods are added/removed. This makes it impossible to reference the documentation of a method.
-
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
- Category changed from doc to lib
- Priority changed from Normal to 3
=begin
I have been meaning to implement this feature in RDoc, but I have been focused on cleanup. Hopefully soon!
=end
- Category set to lib
- Target version set to 1.9.2
=begin
Hi,
This ticket is accepted by Eric Hodel, so I set the target to 1.9.2.
It will be deferred to 1.9.x if the commit is late for implementation
freezing (30 Apr.).
--
Yusuke Endoh mame@tsg.ne.jp
=end
- Status changed from Open to Assigned
=begin
I've attached a patch for this.
Note that the test_rdoc_markup_to_html_crossref makes the issue #3169 I just posted quite obvious. I changed the test only to fit the new naming scheme, and marked the wrong assertions accordingly.
=end
=begin
Implemented in RDoc trunk.
=end
- Status changed from Assigned to Closed
Also available in: Atom
PDF
Like0
Like0Like0Like0Like0Like0Like0