From 71844a2c274366cf9034299fcae0027dba87e910 Mon Sep 17 00:00:00 2001
From: Amauri Bizerra <10775696+extern-c@users.noreply.github.com>
Date: Mon, 8 Dec 2025 12:46:20 +0000
Subject: [PATCH 1/2] [Darkfish] Fix html for method source code not created if
a method's description is skipped
---
lib/rdoc/generator/template/darkfish/class.rhtml | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/lib/rdoc/generator/template/darkfish/class.rhtml b/lib/rdoc/generator/template/darkfish/class.rhtml
index 67a60e3f4e..65d32f591b 100644
--- a/lib/rdoc/generator/template/darkfish/class.rhtml
+++ b/lib/rdoc/generator/template/darkfish/class.rhtml
@@ -163,15 +163,13 @@
Source
+
- <%- if method.token_stream then %>
-
-
<%= method.markup_code %>
-
- <%- end %>
<%- if method.mixin_from then %>
<%= method.singleton ? "Extended" : "Included" %> from
<%= method.mixin_from.full_name %>
From 0837c66e7481ae8e776af2c67f74cef7dd768754 Mon Sep 17 00:00:00 2001
From: Amauri Bizerra <10775696+extern-c@users.noreply.github.com>
Date: Mon, 8 Dec 2025 12:46:55 +0000
Subject: [PATCH 2/2] [Aliki] Fix html for method source code not created if a
method's description is skipped
---
lib/rdoc/generator/template/aliki/class.rhtml | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/lib/rdoc/generator/template/aliki/class.rhtml b/lib/rdoc/generator/template/aliki/class.rhtml
index a190ff9659..2bdf721d05 100644
--- a/lib/rdoc/generator/template/aliki/class.rhtml
+++ b/lib/rdoc/generator/template/aliki/class.rhtml
@@ -156,15 +156,13 @@
Source
+
+
<%= method.markup_code %>
+
<%- end %>
<%- unless method.skip_description? then %>
- <%- if method.token_stream then %>
-
-
<%= method.markup_code %>
-
- <%- end %>
<%- if method.mixin_from then %>