From 13775fac8717881339c3188db237f3c4385d1e0b Mon Sep 17 00:00:00 2001 From: Stan Lo Date: Thu, 27 Nov 2025 13:49:40 +0000 Subject: [PATCH 1/2] Add version query string to Aliki assets for cache busting --- lib/rdoc/generator/template/aliki/_head.rhtml | 119 ++++++++++++++---- 1 file changed, 93 insertions(+), 26 deletions(-) diff --git a/lib/rdoc/generator/template/aliki/_head.rhtml b/lib/rdoc/generator/template/aliki/_head.rhtml index 8d46376d6c..d7392f3487 100644 --- a/lib/rdoc/generator/template/aliki/_head.rhtml +++ b/lib/rdoc/generator/template/aliki/_head.rhtml @@ -4,72 +4,106 @@ <%= h @title %> <%- if defined?(klass) %> - "> - + " + > <%- if klass.comment.empty? %> - "> + " + > <%- else %> - "> + " + > <%- end %> <%- elsif defined?(file) %> - "> + " + > <%- elsif @title %> - <%- if @options.main_page and main_page = @files.find { |f| f.full_name == @options.main_page } then %> - "> + " + > <%- else %> <%- end %> <%- end %> <%- if canonical_url = @options.canonical_root %> -<% canonical_url = current.canonical_url if defined?(current) %> - + <% canonical_url = current.canonical_url if defined?(current) %> + <%- end %> + <%- if defined?(klass) %> <%- if klass.comment.empty? %> - + <%- else %> <%- end %> <%- elsif defined?(file) %> <%- if file.comment.empty? %> - + <%- else %> <%- end %> <%- else %> - + <%- end %> + <%- if canonical_url = @options.canonical_root %> -<% canonical_url = current.canonical_url if defined?(current) %> - + <% canonical_url = current.canonical_url if defined?(current) %> + <%- end %> + <%- if defined?(klass) %> <%- if klass.comment.empty? %> - + <%- else %> <%- end %> <%- elsif defined?(file) %> <%- if file.comment.empty? %> - + <%- else %> <%- end %> <%- else %> - + <%- end %> - - - - - - - + + + + + + + + + + + + + + + - <%- @options.template_stylesheets.each do |stylesheet| %> - + <%- end %> From 4a9a6699e1337bb4ba4af3f50798ed22bbb22839 Mon Sep 17 00:00:00 2001 From: Stan Lo Date: Fri, 28 Nov 2025 01:27:41 +0000 Subject: [PATCH 2/2] Bump version to 6.16.1 --- lib/rdoc/version.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/rdoc/version.rb b/lib/rdoc/version.rb index 84fd51ded0..95b56ea25d 100644 --- a/lib/rdoc/version.rb +++ b/lib/rdoc/version.rb @@ -5,6 +5,6 @@ module RDoc ## # RDoc version you are using - VERSION = '6.16.0' + VERSION = '6.16.1' end