rdoc_chm 2.4.0 → 2.4.1
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/History.txt
CHANGED
|
@@ -1,6 +1,12 @@
|
|
|
1
|
+
=== 2.4.1 / 2009-09-13
|
|
2
|
+
|
|
3
|
+
* Two minor enhancments
|
|
4
|
+
* remove methods from index page, they're listed in the CHM TOC
|
|
5
|
+
* Loose regex stripping the beginning of method call sequence when the sequence contains an ellipsis
|
|
6
|
+
|
|
1
7
|
=== 2.4.0 / 2009-08-10
|
|
2
8
|
|
|
3
|
-
* Two major
|
|
9
|
+
* Two major enhancements
|
|
4
10
|
* RDoc 2.4.x compatibility
|
|
5
11
|
- Converted to RHTML templates
|
|
6
12
|
- --opname option was removed form RDoc. RDoc_chm now uses --op for naming the CHM file
|
data/lib/rdoc/generator/chm.rb
CHANGED
|
@@ -16,15 +16,15 @@ end
|
|
|
16
16
|
|
|
17
17
|
class RDoc::Generator::CHM < RDoc::Generator::Darkfish
|
|
18
18
|
|
|
19
|
-
VERSION = '2.4.
|
|
19
|
+
VERSION = '2.4.1'
|
|
20
20
|
|
|
21
21
|
RDoc::RDoc.add_generator( self )
|
|
22
22
|
|
|
23
23
|
HHC_PATH = "c:/Program Files/HTML Help Workshop/hhc.exe"
|
|
24
24
|
|
|
25
25
|
def initialize(options)
|
|
26
|
-
super
|
|
27
26
|
check_for_html_help_workshop
|
|
27
|
+
super
|
|
28
28
|
end
|
|
29
29
|
|
|
30
30
|
def check_for_html_help_workshop
|
|
@@ -140,7 +140,7 @@
|
|
|
140
140
|
|
|
141
141
|
<div class="method-heading">
|
|
142
142
|
<% if method.call_seq %>
|
|
143
|
-
<span class="method-callseq"><%= method.call_seq.strip.gsub(/->/, '→').gsub( /^\w
|
|
143
|
+
<span class="method-callseq"><%= method.call_seq.strip.gsub(/->/, '→').gsub( /^\w+\./m, '') %></span>
|
|
144
144
|
<span class="method-click-advice">click to toggle source</span>
|
|
145
145
|
<% else %>
|
|
146
146
|
<span class="method-name"><%= h method.name %></span><span
|
|
@@ -45,19 +45,6 @@
|
|
|
45
45
|
<% end %>
|
|
46
46
|
</ul>
|
|
47
47
|
|
|
48
|
-
<!-- removing methods because method info is listed alphabetically in the CHM index, and by class in the
|
|
49
|
-
table of contents
|
|
50
|
-
|
|
51
|
-
<h2>Methods</h2>
|
|
52
|
-
<ul>
|
|
53
|
-
<% RDoc::TopLevel.all_classes_and_modules.map do |mod|
|
|
54
|
-
mod.method_list
|
|
55
|
-
end.flatten.sort.each do |method| %>
|
|
56
|
-
<li><a href="<%= method.path %>"><%= method.pretty_name %> — <%= method.parent.full_name %></a></li>
|
|
57
|
-
<% end %>
|
|
58
|
-
</ul>
|
|
59
|
-
-->
|
|
60
|
-
|
|
61
48
|
<div id="validator-badges">
|
|
62
49
|
<p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
|
|
63
50
|
<p><small>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rdoc_chm
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.4.
|
|
4
|
+
version: 2.4.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Gordon Thiesfeld
|
|
@@ -12,7 +12,7 @@ autorequire:
|
|
|
12
12
|
bindir: bin
|
|
13
13
|
cert_chain: []
|
|
14
14
|
|
|
15
|
-
date: 2009-
|
|
15
|
+
date: 2009-09-14 00:00:00 -05:00
|
|
16
16
|
default_executable:
|
|
17
17
|
dependencies:
|
|
18
18
|
- !ruby/object:Gem::Dependency
|
|
@@ -124,7 +124,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
124
124
|
requirements: []
|
|
125
125
|
|
|
126
126
|
rubyforge_project: rdoc
|
|
127
|
-
rubygems_version: 1.3.
|
|
127
|
+
rubygems_version: 1.3.5
|
|
128
128
|
signing_key:
|
|
129
129
|
specification_version: 3
|
|
130
130
|
summary: A Microsoft Compiled HTML Help generator for {RDoc}[http://rdoc.rubyforge.org/].
|