rdoc_chm 2.3.0 → 2.4.0
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 +24 -0
- data/Manifest.txt +41 -7
- data/README.rdoc +40 -0
- data/Rakefile +43 -22
- data/lib/rdoc/generator/chm.rb +71 -65
- data/lib/rdoc/generator/template/chm/.document +0 -0
- data/lib/rdoc/generator/template/chm/chm_index.rhtml +27 -0
- data/lib/rdoc/generator/template/chm/classindex.rhtml +28 -0
- data/lib/rdoc/generator/template/chm/classpage.rhtml +204 -0
- data/lib/rdoc/generator/template/chm/contents.rhtml +53 -0
- data/lib/rdoc/generator/template/chm/fileindex.rhtml +31 -0
- data/lib/rdoc/generator/template/chm/filepage.rhtml +74 -0
- data/lib/rdoc/generator/template/chm/hpp_file.rhtml +18 -0
- data/lib/rdoc/generator/template/chm/images/brick.png +0 -0
- data/lib/rdoc/generator/template/chm/images/brick_link.png +0 -0
- data/lib/rdoc/generator/template/chm/images/bug.png +0 -0
- data/lib/rdoc/generator/template/chm/images/bullet_black.png +0 -0
- data/lib/rdoc/generator/template/chm/images/bullet_toggle_minus.png +0 -0
- data/lib/rdoc/generator/template/chm/images/bullet_toggle_plus.png +0 -0
- data/lib/rdoc/generator/template/chm/images/date.png +0 -0
- data/lib/rdoc/generator/template/chm/images/find.png +0 -0
- data/lib/rdoc/generator/template/chm/images/loadingAnimation.gif +0 -0
- data/lib/rdoc/generator/template/chm/images/macFFBgHack.png +0 -0
- data/lib/rdoc/generator/template/chm/images/package.png +0 -0
- data/lib/rdoc/generator/template/chm/images/page_green.png +0 -0
- data/lib/rdoc/generator/template/chm/images/page_white_text.png +0 -0
- data/lib/rdoc/generator/template/chm/images/page_white_width.png +0 -0
- data/lib/rdoc/generator/template/chm/images/plugin.png +0 -0
- data/lib/rdoc/generator/template/chm/images/ruby.png +0 -0
- data/lib/rdoc/generator/template/chm/images/tag_green.png +0 -0
- data/lib/rdoc/generator/template/chm/images/wrench.png +0 -0
- data/lib/rdoc/generator/template/chm/images/wrench_orange.png +0 -0
- data/lib/rdoc/generator/template/chm/images/zoom.png +0 -0
- data/lib/rdoc/generator/template/chm/index.rhtml +89 -0
- data/lib/rdoc/generator/template/chm/js/darkfish.js +116 -0
- data/lib/rdoc/generator/template/chm/js/jquery.js +32 -0
- data/lib/rdoc/generator/template/chm/js/quicksearch.js +114 -0
- data/lib/rdoc/generator/template/chm/js/thickbox-compressed.js +10 -0
- data/lib/rdoc/generator/template/chm/rdoc.css +698 -0
- metadata +51 -36
- data.tar.gz.sig +0 -0
- data/README.txt +0 -35
- data/lib/rdoc/generator/chm/chm.rb +0 -100
- metadata.gz.sig +0 -0
metadata
CHANGED
@@ -1,38 +1,18 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rdoc_chm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
|
+
- Gordon Thiesfeld
|
7
8
|
- Eric Hodel
|
8
9
|
- Dave Thomas
|
9
10
|
- Tony Strauss
|
10
11
|
autorequire:
|
11
12
|
bindir: bin
|
12
|
-
cert_chain:
|
13
|
-
- |
|
14
|
-
-----BEGIN CERTIFICATE-----
|
15
|
-
MIIDNjCCAh6gAwIBAgIBADANBgkqhkiG9w0BAQUFADBBMRAwDgYDVQQDDAdkcmJy
|
16
|
-
YWluMRgwFgYKCZImiZPyLGQBGRYIc2VnbWVudDcxEzARBgoJkiaJk/IsZAEZFgNu
|
17
|
-
ZXQwHhcNMDcxMjIxMDIwNDE0WhcNMDgxMjIwMDIwNDE0WjBBMRAwDgYDVQQDDAdk
|
18
|
-
cmJyYWluMRgwFgYKCZImiZPyLGQBGRYIc2VnbWVudDcxEzARBgoJkiaJk/IsZAEZ
|
19
|
-
FgNuZXQwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCbbgLrGLGIDE76
|
20
|
-
LV/cvxdEzCuYuS3oG9PrSZnuDweySUfdp/so0cDq+j8bqy6OzZSw07gdjwFMSd6J
|
21
|
-
U5ddZCVywn5nnAQ+Ui7jMW54CYt5/H6f2US6U0hQOjJR6cpfiymgxGdfyTiVcvTm
|
22
|
-
Gj/okWrQl0NjYOYBpDi+9PPmaH2RmLJu0dB/NylsDnW5j6yN1BEI8MfJRR+HRKZY
|
23
|
-
mUtgzBwF1V4KIZQ8EuL6I/nHVu07i6IkrpAgxpXUfdJQJi0oZAqXurAV3yTxkFwd
|
24
|
-
g62YrrW26mDe+pZBzR6bpLE+PmXCzz7UxUq3AE0gPHbiMXie3EFE0oxnsU3lIduh
|
25
|
-
sCANiQ8BAgMBAAGjOTA3MAkGA1UdEwQCMAAwCwYDVR0PBAQDAgSwMB0GA1UdDgQW
|
26
|
-
BBS5k4Z75VSpdM0AclG2UvzFA/VW5DANBgkqhkiG9w0BAQUFAAOCAQEAHagT4lfX
|
27
|
-
kP/hDaiwGct7XPuVGbrOsKRVD59FF5kETBxEc9UQ1clKWngf8JoVuEoKD774dW19
|
28
|
-
bU0GOVWO+J6FMmT/Cp7nuFJ79egMf/gy4gfUfQMuvfcr6DvZUPIs9P/TlK59iMYF
|
29
|
-
DIOQ3DxdF3rMzztNUCizN4taVscEsjCcgW6WkUJnGdqlu3OHWpQxZBJkBTjPCoc6
|
30
|
-
UW6on70SFPmAy/5Cq0OJNGEWBfgD9q7rrs/X8GGwUWqXb85RXnUVi/P8Up75E0ag
|
31
|
-
14jEc90kN+C7oI/AGCBN0j6JnEtYIEJZibjjDJTSMWlUKKkj30kq7hlUC2CepJ4v
|
32
|
-
x52qPcexcYZR7w==
|
33
|
-
-----END CERTIFICATE-----
|
13
|
+
cert_chain: []
|
34
14
|
|
35
|
-
date: 2009-
|
15
|
+
date: 2009-08-10 00:00:00 -05:00
|
36
16
|
default_executable:
|
37
17
|
dependencies:
|
38
18
|
- !ruby/object:Gem::Dependency
|
@@ -41,9 +21,9 @@ dependencies:
|
|
41
21
|
version_requirement:
|
42
22
|
version_requirements: !ruby/object:Gem::Requirement
|
43
23
|
requirements:
|
44
|
-
- -
|
24
|
+
- - ">="
|
45
25
|
- !ruby/object:Gem::Version
|
46
|
-
version: "2.
|
26
|
+
version: "2.4"
|
47
27
|
version:
|
48
28
|
- !ruby/object:Gem::Dependency
|
49
29
|
name: minitest
|
@@ -63,10 +43,11 @@ dependencies:
|
|
63
43
|
requirements:
|
64
44
|
- - ">="
|
65
45
|
- !ruby/object:Gem::Version
|
66
|
-
version:
|
46
|
+
version: 2.3.3
|
67
47
|
version:
|
68
|
-
description:
|
48
|
+
description: A Microsoft Compiled HTML Help generator for {RDoc}[http://rdoc.rubyforge.org/].
|
69
49
|
email:
|
50
|
+
- gthiesfeld@gmail.com
|
70
51
|
- drbrain@segment7.net
|
71
52
|
- ""
|
72
53
|
- tony.strauss@designingpatterns.com
|
@@ -77,21 +58,55 @@ extensions: []
|
|
77
58
|
extra_rdoc_files:
|
78
59
|
- History.txt
|
79
60
|
- Manifest.txt
|
80
|
-
- README.txt
|
81
61
|
files:
|
82
62
|
- History.txt
|
83
63
|
- Manifest.txt
|
84
|
-
- README.
|
64
|
+
- README.rdoc
|
85
65
|
- Rakefile
|
86
66
|
- lib/rdoc/discover.rb
|
87
67
|
- lib/rdoc/generator/chm.rb
|
88
|
-
- lib/rdoc/generator/
|
68
|
+
- lib/rdoc/generator/template/chm/.document
|
69
|
+
- lib/rdoc/generator/template/chm/chm_index.rhtml
|
70
|
+
- lib/rdoc/generator/template/chm/classindex.rhtml
|
71
|
+
- lib/rdoc/generator/template/chm/classpage.rhtml
|
72
|
+
- lib/rdoc/generator/template/chm/contents.rhtml
|
73
|
+
- lib/rdoc/generator/template/chm/fileindex.rhtml
|
74
|
+
- lib/rdoc/generator/template/chm/filepage.rhtml
|
75
|
+
- lib/rdoc/generator/template/chm/hpp_file.rhtml
|
76
|
+
- lib/rdoc/generator/template/chm/images/brick.png
|
77
|
+
- lib/rdoc/generator/template/chm/images/brick_link.png
|
78
|
+
- lib/rdoc/generator/template/chm/images/bug.png
|
79
|
+
- lib/rdoc/generator/template/chm/images/bullet_black.png
|
80
|
+
- lib/rdoc/generator/template/chm/images/bullet_toggle_minus.png
|
81
|
+
- lib/rdoc/generator/template/chm/images/bullet_toggle_plus.png
|
82
|
+
- lib/rdoc/generator/template/chm/images/date.png
|
83
|
+
- lib/rdoc/generator/template/chm/images/find.png
|
84
|
+
- lib/rdoc/generator/template/chm/images/loadingAnimation.gif
|
85
|
+
- lib/rdoc/generator/template/chm/images/macFFBgHack.png
|
86
|
+
- lib/rdoc/generator/template/chm/images/package.png
|
87
|
+
- lib/rdoc/generator/template/chm/images/page_green.png
|
88
|
+
- lib/rdoc/generator/template/chm/images/page_white_text.png
|
89
|
+
- lib/rdoc/generator/template/chm/images/page_white_width.png
|
90
|
+
- lib/rdoc/generator/template/chm/images/plugin.png
|
91
|
+
- lib/rdoc/generator/template/chm/images/ruby.png
|
92
|
+
- lib/rdoc/generator/template/chm/images/tag_green.png
|
93
|
+
- lib/rdoc/generator/template/chm/images/wrench.png
|
94
|
+
- lib/rdoc/generator/template/chm/images/wrench_orange.png
|
95
|
+
- lib/rdoc/generator/template/chm/images/zoom.png
|
96
|
+
- lib/rdoc/generator/template/chm/index.rhtml
|
97
|
+
- lib/rdoc/generator/template/chm/js/darkfish.js
|
98
|
+
- lib/rdoc/generator/template/chm/js/jquery.js
|
99
|
+
- lib/rdoc/generator/template/chm/js/quicksearch.js
|
100
|
+
- lib/rdoc/generator/template/chm/js/thickbox-compressed.js
|
101
|
+
- lib/rdoc/generator/template/chm/rdoc.css
|
89
102
|
has_rdoc: true
|
90
|
-
homepage:
|
103
|
+
homepage: http://rdoc.rubyforge.org/rdoc_chm
|
104
|
+
licenses: []
|
105
|
+
|
91
106
|
post_install_message:
|
92
107
|
rdoc_options:
|
93
108
|
- --main
|
94
|
-
- README.
|
109
|
+
- README.rdoc
|
95
110
|
require_paths:
|
96
111
|
- lib
|
97
112
|
required_ruby_version: !ruby/object:Gem::Requirement
|
@@ -109,9 +124,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
109
124
|
requirements: []
|
110
125
|
|
111
126
|
rubyforge_project: rdoc
|
112
|
-
rubygems_version: 1.3.
|
127
|
+
rubygems_version: 1.3.4
|
113
128
|
signing_key:
|
114
|
-
specification_version:
|
115
|
-
summary:
|
129
|
+
specification_version: 3
|
130
|
+
summary: A Microsoft Compiled HTML Help generator for {RDoc}[http://rdoc.rubyforge.org/].
|
116
131
|
test_files: []
|
117
132
|
|
data.tar.gz.sig
DELETED
Binary file
|
data/README.txt
DELETED
@@ -1,35 +0,0 @@
|
|
1
|
-
= rdoc_chm
|
2
|
-
|
3
|
-
* Project Page: http://rubyforge.org/projects/rdoc
|
4
|
-
* Documentation: http://rdoc.rubyforge.org/rdoc_chm
|
5
|
-
|
6
|
-
== DESCRIPTION:
|
7
|
-
|
8
|
-
An unmaintained Microsoft Compiled HTML Help generator for RDoc.
|
9
|
-
|
10
|
-
== FEATURES/PROBLEMS:
|
11
|
-
|
12
|
-
* Unmaintained, only known to work with RDoc 2.3.0
|
13
|
-
|
14
|
-
== SYNOPSIS:
|
15
|
-
|
16
|
-
gem 'rdoc'
|
17
|
-
require 'rdoc/rdoc'
|
18
|
-
|
19
|
-
RDoc::RDoc.new.document "-f chm", # ... see RDoc
|
20
|
-
|
21
|
-
== REQUIREMENTS:
|
22
|
-
|
23
|
-
* RDoc 2.3 (probably works with newer RDoc 2.x versions)
|
24
|
-
* Requires installation of Microsoft's HTML Help Workshop
|
25
|
-
|
26
|
-
== INSTALL:
|
27
|
-
|
28
|
-
* sudo gem install rdoc_chm
|
29
|
-
|
30
|
-
== LICENSE:
|
31
|
-
|
32
|
-
RDoc is Copyright (c) 2001-2003 Dave Thomas, The Pragmatic Programmers. It is
|
33
|
-
free software, and may be redistributed under the terms specified in the
|
34
|
-
README file of the Ruby distribution.
|
35
|
-
|
@@ -1,100 +0,0 @@
|
|
1
|
-
require 'rdoc/generator/chm'
|
2
|
-
require 'rdoc/generator/html/html'
|
3
|
-
|
4
|
-
module RDoc::Generator::CHM::CHM
|
5
|
-
|
6
|
-
HTML = RDoc::Generator::HTML::HTML
|
7
|
-
|
8
|
-
INDEX = HTML::INDEX
|
9
|
-
|
10
|
-
STYLE = HTML::STYLE
|
11
|
-
|
12
|
-
CLASS_INDEX = HTML::CLASS_INDEX
|
13
|
-
CLASS_PAGE = HTML::CLASS_PAGE
|
14
|
-
FILE_INDEX = HTML::FILE_INDEX
|
15
|
-
FILE_PAGE = HTML::FILE_PAGE
|
16
|
-
METHOD_INDEX = HTML::METHOD_INDEX
|
17
|
-
METHOD_LIST = HTML::METHOD_LIST
|
18
|
-
|
19
|
-
FR_INDEX_BODY = HTML::FR_INDEX_BODY
|
20
|
-
|
21
|
-
# This is a nasty little hack, but hhc doesn't support the <?xml tag, so...
|
22
|
-
BODY = HTML::BODY.sub!(/<\?xml.*\?>/, '')
|
23
|
-
SRC_PAGE = HTML::SRC_PAGE.sub!(/<\?xml.*\?>/, '')
|
24
|
-
|
25
|
-
HPP_FILE = <<-EOF
|
26
|
-
[OPTIONS]
|
27
|
-
Auto Index = Yes
|
28
|
-
Compatibility=1.1 or later
|
29
|
-
Compiled file=<%= values[:opname] %>.chm
|
30
|
-
Contents file=contents.hhc
|
31
|
-
Full-text search=Yes
|
32
|
-
Index file=index.hhk
|
33
|
-
Language=0x409 English(United States)
|
34
|
-
Title=<%= values[:title] %>
|
35
|
-
|
36
|
-
[FILES]
|
37
|
-
<% values[:all_html_files].each do |all_html_files| %>
|
38
|
-
<%= all_html_files[:html_file_name] %>
|
39
|
-
<% end # values[:all_html_files] %>
|
40
|
-
EOF
|
41
|
-
|
42
|
-
CONTENTS = <<-EOF
|
43
|
-
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
|
44
|
-
<HTML>
|
45
|
-
<HEAD>
|
46
|
-
<meta name="GENERATOR" content="Microsoft® HTML Help Workshop 4.1">
|
47
|
-
<!-- Sitemap 1.0 -->
|
48
|
-
</HEAD><BODY>
|
49
|
-
<OBJECT type="text/site properties">
|
50
|
-
<param name="Foreground" value="0x80">
|
51
|
-
<param name="Window Styles" value="0x800025">
|
52
|
-
<param name="ImageType" value="Folder">
|
53
|
-
</OBJECT>
|
54
|
-
<UL>
|
55
|
-
<% values[:contents].each do |contents| %>
|
56
|
-
<LI> <OBJECT type="text/sitemap">
|
57
|
-
<param name="Name" value="<%= contents[:c_name] %>">
|
58
|
-
<param name="Local" value="<%= contents[:ref] %>">
|
59
|
-
</OBJECT>
|
60
|
-
<% if contents[:methods] then %>
|
61
|
-
<ul>
|
62
|
-
<% contents[:methods].each do |methods| %>
|
63
|
-
<LI> <OBJECT type="text/sitemap">
|
64
|
-
<param name="Name" value="<%= methods[:name] %>">
|
65
|
-
<param name="Local" value="<%= methods[:aref] %>">
|
66
|
-
</OBJECT>
|
67
|
-
<% end # contents[:methods] %>
|
68
|
-
</ul>
|
69
|
-
<% end %>
|
70
|
-
</LI>
|
71
|
-
<% end # values[:contents] %>
|
72
|
-
</UL>
|
73
|
-
</BODY></HTML>
|
74
|
-
EOF
|
75
|
-
|
76
|
-
CHM_INDEX = <<-EOF
|
77
|
-
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
|
78
|
-
<HTML>
|
79
|
-
<HEAD>
|
80
|
-
<meta name="GENERATOR" content="Microsoft® HTML Help Workshop 4.1">
|
81
|
-
<!-- Sitemap 1.0 -->
|
82
|
-
</HEAD><BODY>
|
83
|
-
<OBJECT type="text/site properties">
|
84
|
-
<param name="Foreground" value="0x80">
|
85
|
-
<param name="Window Styles" value="0x800025">
|
86
|
-
<param name="ImageType" value="Folder">
|
87
|
-
</OBJECT>
|
88
|
-
<UL>
|
89
|
-
<% values[:index].each do |index| %>
|
90
|
-
<LI> <OBJECT type="text/sitemap">
|
91
|
-
<param name="Name" value="<%= index[:name] %>">
|
92
|
-
<param name="Local" value="<%= index[:aref] %>">
|
93
|
-
</OBJECT>
|
94
|
-
<% end # values[:index] %>
|
95
|
-
</UL>
|
96
|
-
</BODY></HTML>
|
97
|
-
EOF
|
98
|
-
|
99
|
-
end
|
100
|
-
|
metadata.gz.sig
DELETED
Binary file
|