From d1cb9dc3c407a9bee5a09d7941ffb7cf48fe0668 Mon Sep 17 00:00:00 2001 From: Stan Lo Date: Sat, 14 Dec 2024 20:12:41 +0800 Subject: [PATCH] Fix dead links in the markup reference page (#1242) --- doc/rdoc/markup_reference.rb | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/doc/rdoc/markup_reference.rb b/doc/rdoc/markup_reference.rb index defa9f66c9..5b5cdfc706 100644 --- a/doc/rdoc/markup_reference.rb +++ b/doc/rdoc/markup_reference.rb @@ -972,22 +972,22 @@ # if that item exists. # The referenced item may be a class, module, method, file, etc. # -# - Class: Alias[rdoc-ref:RDoc::Alias] links to Alias[rdoc-ref:RDoc::Alias]. -# - Module: RDoc[rdoc-ref:RDoc] links to RDoc[rdoc-ref:RDoc]. -# - Method: foo[rdoc-ref:RDoc::Markup::ToHtml#handle_regexp_RDOCLINK] -# links to foo[rdoc-ref:RDoc::Markup::ToHtml#handle_regexp_RDOCLINK]. -# - Constant: bar[rdoc-ref:RDoc::Markup::ToHtml::LIST_TYPE_TO_HTML] -# links to bar[rdoc-ref:RDoc::Markup::ToHtml::LIST_TYPE_TO_HTML]. -# - Attribute: baz[rdoc-ref:RDoc::Markup::ToHtml#code_object] -# links to baz[rdoc-ref:RDoc::Markup::ToHtml#code_object]. -# - Alias: bad[rdoc-ref:RDoc::MarkupReference#dummy_instance_alias] links to -# bad[rdoc-ref:RDoc::MarkupReference#dummy_instance_alias]. +# - Class: Alias[rdoc-ref:RDoc::Alias] generates Alias[rdoc-ref:RDoc::Alias]. +# - Module: RDoc[rdoc-ref:RDoc] generates RDoc[rdoc-ref:RDoc]. +# - Method: foo[rdoc-ref:RDoc::MarkupReference#dummy_instance_method] +# generates foo[rdoc-ref:RDoc::MarkupReference#dummy_instance_method]. +# - Constant: bar[rdoc-ref:RDoc::MarkupReference::DUMMY_CONSTANT] +# generates bar[rdoc-ref:RDoc::MarkupReference::DUMMY_CONSTANT]. +# - Attribute: baz[rdoc-ref:RDoc::MarkupReference#dummy_attribute] +# generates baz[rdoc-ref:RDoc::MarkupReference#dummy_attribute]. +# - Alias: bad[rdoc-ref:RDoc::MarkupReference#dummy_instance_alias] +# generates bad[rdoc-ref:RDoc::MarkupReference#dummy_instance_alias]. # # If the referenced item does not exist, no link is generated # and entire rdoc-ref: square-bracketed clause is removed # from the resulting text. # -# - Nosuch[rdoc-ref:RDoc::Nosuch] is rendered as +# - Nosuch[rdoc-ref:RDoc::Nosuch] generates # Nosuch[rdoc-ref:RDoc::Nosuch]. # #