Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Give direct links to release note pages on website

This is a lot nicer than just directing them to the directory
index page.
  • Loading branch information...
commit ae55a95f28e260a9489d2e7670d4927291db9122 1 parent 034f8ba
@jeremyevans authored
Showing with 10 additions and 1 deletion.
  1. +10 −1 www/pages/documentation
View
11 www/pages/documentation
@@ -45,7 +45,16 @@
<h3><a href="rdoc/files/CHANGELOG.html">Change Log</a></h3>
-<h3><a href="rdoc/files/doc/release_notes/">Release Notes</a></h3>
+<h3>Release Notes</h3>
+<ul>
+ <% %w'3 2 1'.each do |i| %>
+ <li>
+ <% Dir["../doc/release_notes/#{i}.*.txt"].map{|f| File.basename(f)}.sort_by{|f| f.split('.').map{|x| x.to_i}}.reverse.each do |f| %>
+ <a href="rdoc/files/doc/release_notes/<%= f.gsub('.', '_') %>.html"><%= f.sub(/\.txt$/, '').sub(/(..)\.0$/, '\\1') %></a> |
+ <% end %>
+ </li>
+ <% end %>
+</ul>
<h3><a href="rdoc/files/MIT-LICENSE.html">License</a></h3>
Please sign in to comment.
Something went wrong with that request. Please try again.