olddoc.git  about / heads / tags
olddoc - old-fashioned RDoc generator(s)
blob 14fc5a82a77d2f056e3b1fb6517bb2269b872ce8 836 bytes (raw)
$ git show v1.4.0:lib/oldweb/_tail.rhtml	# shows this blob on the CLI

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
 
<%
public_email = @old_cfg['public_email']
private_email = @old_cfg['private_email']
source_code = Array(@old_cfg['source_code']).dup
archive_urls = Array(@old_cfg['ml_url']) + Array(@old_cfg['nntp_url'])
if url = archive_urls.shift %><hr /><pre>
mail archives: <a
href="<%= url %>"><%= url %></a><%
  archive_urls.each do |u| %>
	<a
href="<%= u %>"><%= u %></a> <%
  end # archive_urls.each
  if private_email || public_email %>
<%
    if public_email %>public: <a
href="mailto:<%= public_email %>"><%= public_email %></a><%
    end
    if private_email && public_email %> / <% end
    if private_email %>private: <a
href="mailto:<%= private_email %>"><%= private_email %></a><%
    end
  end

if url_or_cmd = source_code.shift
%>
source code: <%= url_or_cmd %>
<% source_code.each do |x| %><%= "\t#{x}" %><% end
end
%></pre><% end %>

git clone https://80x24.org/olddoc.git