aptinio-bdoc 0.2.2.3 → 0.2.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/bdoc.rb +1 -2
- data/templates/index.html +1 -1
- metadata +1 -1
data/lib/bdoc.rb
CHANGED
|
@@ -8,7 +8,7 @@ require 'launchy'
|
|
|
8
8
|
require 'json'
|
|
9
9
|
|
|
10
10
|
module Bdoc
|
|
11
|
-
VERSION = '0.2.2.
|
|
11
|
+
VERSION = '0.2.2.4'
|
|
12
12
|
|
|
13
13
|
class << self
|
|
14
14
|
attr_accessor :output_dir
|
|
@@ -32,7 +32,6 @@ module Bdoc
|
|
|
32
32
|
gem.name == g
|
|
33
33
|
}.map{|gem|
|
|
34
34
|
rdoc_index = File.expand_path(File.join(gem.full_gem_path,"..","..","doc",gem.full_name, "rdoc","index.html"))
|
|
35
|
-
rdoc_index.gsub('/', '\\') if PLATFORM['mswin']
|
|
36
35
|
{ :version => gem.version.version,
|
|
37
36
|
:rdoc_index => (File.exist?(rdoc_index) ? rdoc_index : nil)
|
|
38
37
|
}
|
data/templates/index.html
CHANGED
|
@@ -153,7 +153,7 @@ body { background: #aaa }
|
|
|
153
153
|
<% @gems.each do |gem| %>
|
|
154
154
|
<span class="gem">
|
|
155
155
|
<% if gem[:versions].last[:rdoc_index] %>
|
|
156
|
-
<a href="
|
|
156
|
+
<a href="file://<%= gem[:versions].last[:rdoc_index] %>" class="gemname" title="<%= ERB::Util.h gem[:description] %>" rel="<%= gem[:homepage] %>"><%= gem[:name] %></a>
|
|
157
157
|
<% else %>
|
|
158
158
|
<span class="gemname quiet" title="<%= ERB::Util.h gem[:description] %>">*<%= gem[:name] %></span>
|
|
159
159
|
<% end %>
|