docubot 1.1 → 1.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +15 -0
- data/bin/docubot +16 -18
- data/lib/docubot.rb +1 -1
- data/lib/docubot/bundle.rb +6 -3
- data/lib/docubot/page.rb +1 -1
- data/spec/bundle.rb +3 -3
- data/spec/samples/files/index.md +1 -1
- data/spec/samples/links/root.md +3 -1
- data/spec/samples/ordering/01_Introduction/Content.txt +0 -0
- data/spec/samples/ordering/01_Introduction/index.txt +0 -0
- data/spec/samples/ordering/0_License.md +0 -0
- data/spec/samples/ordering/2_Moar/Content.txt +0 -0
- data/spec/samples/ordering/2_Moar/index.txt +0 -0
- data/spec/samples/ordering/30_Thirty.md +0 -0
- data/spec/samples/ordering/35_Thirty Five.md b/data/spec/samples/ordering/35_Thirty → Five.md +0 -0
- data/spec/samples/ordering/3_Three.md +0 -0
- data/spec/samples/ordering/40_Forty.md +0 -0
- data/spec/samples/ordering/4_Four.md +0 -0
- data/spec/samples/ordering/Appendix/Content.txt +0 -0
- data/spec/samples/ordering/Appendix/index.txt +0 -0
- data/spec/samples/ordering/index.txt +0 -0
- data/spec/toc.rb +20 -7
- metadata +51 -49
checksums.yaml
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
---
|
2
|
+
!binary "U0hBMQ==":
|
3
|
+
metadata.gz: !binary |-
|
4
|
+
MmNkOTU4ZTVmMzM5OGI0YTA5MmFhYjk2NmQyNDQ2NThiYmY0NGFhZA==
|
5
|
+
data.tar.gz: !binary |-
|
6
|
+
MjIwYzA0MDAzOGYzMTU1ZWJlOTM2NGQ0NjZmYWEzZDUzM2YxYmFiOQ==
|
7
|
+
SHA512:
|
8
|
+
metadata.gz: !binary |-
|
9
|
+
MzAxYzhjYzFhYWEyMGEyY2FhZWMyOGJmNWZlZmZjYjQxZDYyY2M4ZTk2NTZj
|
10
|
+
MzAzZmQ2ZmRkNmRjZDllNjRhMmY5MWZiOGRlZWNiZTg0OWRlMTc4NmZiMWU0
|
11
|
+
MTU0MDc2NDQ0NDllMjE3YzZkNzJlMDk4MTlmZDljYWIyZTc2N2U=
|
12
|
+
data.tar.gz: !binary |-
|
13
|
+
NzY5YTYwMTFkNzNiOTk4YWE2ODU4ZDY4YjhiYjUzMmJlMGZlMjQxZDEyNWQ3
|
14
|
+
NDdiZDAxMGY1NWZhYzM5MmExNmViODViZTBlZjgwNGViNjY5YzdkZGI0ODdk
|
15
|
+
ZWFiZmZiMDMwYjQwOTVjMDJlNzBkYWFjZWUxMTI4ZTZlZWEyM2Q=
|
data/bin/docubot
CHANGED
@@ -9,11 +9,12 @@ require 'docubot'
|
|
9
9
|
|
10
10
|
USAGE = <<ENDUSAGE
|
11
11
|
Usage:
|
12
|
-
docubot [-h] [create [-s shell] [-f]] directory [-w writer] [-o output_file] [-n] [-l log_file]
|
12
|
+
docubot [-h] [-v] [create [-s shell] [-f]] directory [-w writer] [-o output_file] [-n] [-l log_file]
|
13
13
|
ENDUSAGE
|
14
14
|
|
15
15
|
HELP = <<ENDHELP
|
16
16
|
-h, --help Show this help.
|
17
|
+
-v, --version Show the version number (#{DocuBot::VERSION}).
|
17
18
|
create Create a starter directory filled with example files;
|
18
19
|
also copies the template for easy modification, if desired.
|
19
20
|
-s, --shell The shell to copy from.
|
@@ -34,22 +35,15 @@ UNFLAGGED_ARGS = [ :directory ]
|
|
34
35
|
next_arg = UNFLAGGED_ARGS.first
|
35
36
|
ARGV.each{ |arg|
|
36
37
|
case arg
|
37
|
-
when '-h','--help'
|
38
|
-
|
39
|
-
when '
|
40
|
-
|
41
|
-
when '-
|
42
|
-
|
43
|
-
when '-
|
44
|
-
|
45
|
-
when '-
|
46
|
-
next_arg = :writer
|
47
|
-
when '-o','--output'
|
48
|
-
next_arg = :output
|
49
|
-
when '-n','--nopreview'
|
50
|
-
ARGS[:nopreview] = true
|
51
|
-
when '-l','--logfile'
|
52
|
-
next_arg = :logfile
|
38
|
+
when '-h','--help' then ARGS[:help] = true
|
39
|
+
when 'create' then ARGS[:create] = true
|
40
|
+
when '-f','--force' then ARGS[:force] = true
|
41
|
+
when '-n','--nopreview' then ARGS[:nopreview] = true
|
42
|
+
when '-v','--version' then ARGS[:version] = true
|
43
|
+
when '-s','--shell' then next_arg = :shell
|
44
|
+
when '-w','--writer' then next_arg = :writer
|
45
|
+
when '-o','--output' then next_arg = :output
|
46
|
+
when '-l','--logfile' then next_arg = :logfile
|
53
47
|
else
|
54
48
|
if next_arg
|
55
49
|
ARGS[next_arg] = arg
|
@@ -59,8 +53,12 @@ ARGV.each{ |arg|
|
|
59
53
|
end
|
60
54
|
}
|
61
55
|
|
56
|
+
if ARGS[:version]
|
57
|
+
puts "DocuBot v#{DocuBot::VERSION}"
|
58
|
+
end
|
59
|
+
|
62
60
|
if ARGS[:help] or !ARGS[:directory]
|
63
|
-
puts USAGE
|
61
|
+
puts USAGE unless ARGS[:version]
|
64
62
|
puts HELP if ARGS[:help]
|
65
63
|
exit
|
66
64
|
end
|
data/lib/docubot.rb
CHANGED
data/lib/docubot/bundle.rb
CHANGED
@@ -26,7 +26,7 @@ class DocuBot::Bundle
|
|
26
26
|
@global.toc = @toc
|
27
27
|
|
28
28
|
files_and_folders = Dir[ '**/*' ]
|
29
|
-
|
29
|
+
|
30
30
|
# index files are handled by Page.new for a directory; no sections for special folders (but process contents)
|
31
31
|
files_and_folders.reject!{ |path| name = File.basename( path ); name =~ /^(?:index\.[^.]+)$/ }
|
32
32
|
|
@@ -38,7 +38,10 @@ class DocuBot::Bundle
|
|
38
38
|
@global.ignore.as_list.each do |glob|
|
39
39
|
files_and_folders = files_and_folders - Dir[glob]
|
40
40
|
end
|
41
|
-
|
41
|
+
|
42
|
+
# Sort by leading digits, if present, interpreted as numbers
|
43
|
+
files_and_folders.sort_by!{ |path| path.split(%r{[/\\]}).map{ |name| name.tr('_',' ').scan(/\A(?:(\d+)\s+)?(.+)/)[0].tap{ |parts| parts[0] = parts[0] ? parts[0].to_i : 9e9 } } }
|
44
|
+
|
42
45
|
create_pages( files_and_folders )
|
43
46
|
end
|
44
47
|
# puts @toc.to_txt
|
@@ -124,7 +127,7 @@ class DocuBot::Bundle
|
|
124
127
|
page.nokodoc.xpath('.//a').each do |a|
|
125
128
|
next unless href = a['href']
|
126
129
|
href = CGI.unescape(href)
|
127
|
-
if href=~%r{
|
130
|
+
if href=~%r{\A[a-z]+:}i
|
128
131
|
@external_links[page] << href
|
129
132
|
else
|
130
133
|
id = href[/#([a-z][\w.:-]*)?/i]
|
data/lib/docubot/page.rb
CHANGED
data/spec/bundle.rb
CHANGED
@@ -82,7 +82,7 @@ describe "Gathering links" do
|
|
82
82
|
end
|
83
83
|
|
84
84
|
it "should identify (but not validate) external links" do
|
85
|
-
known_external = %w[ http://www.google.com/ http://phrogz.net http://phrogz.net/tmp/gkhead.jpg HTTP://NONEXISTENT.SITE ]
|
85
|
+
known_external = %w[ http://www.google.com/ http://phrogz.net http://phrogz.net/tmp/gkhead.jpg HTTP://NONEXISTENT.SITE mailto:!@phrogz.net ]
|
86
86
|
all_external = @bundle.external_links.values.flatten
|
87
87
|
known_external.each do |link|
|
88
88
|
all_external.must_include link
|
@@ -205,8 +205,8 @@ describe "Bundle with Extra Files" do
|
|
205
205
|
end
|
206
206
|
|
207
207
|
it "should skip files specified by global glob matches" do
|
208
|
-
@bundle.global.ignore.as_list.must_equal %w[ **/*.psd **/*.ai **/Thumbs.db BUILDING.txt ]
|
209
|
-
bad_files = %w[ _static/foo.ai _static/foo.psd _static/Thumbs.db ]
|
208
|
+
@bundle.global.ignore.as_list.must_equal %w[ **/*.psd **/*.ai **/Thumbs.db BUILDING.txt *.rb ]
|
209
|
+
bad_files = %w[ _static/foo.ai _static/foo.psd _static/Thumbs.db section/build.rb ]
|
210
210
|
bad_files << "section/sub section/Thumbs.db"
|
211
211
|
bad_files.each do |path|
|
212
212
|
@bundle.extras.wont_include path
|
data/spec/samples/files/index.md
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
ignore: **/*.psd, **/*.ai, **/Thumbs.db, BUILDING.txt
|
1
|
+
ignore: **/*.psd, **/*.ai, **/Thumbs.db, BUILDING.txt, *.rb
|
2
2
|
+++
|
data/spec/samples/links/root.md
CHANGED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
data/spec/toc.rb
CHANGED
@@ -23,13 +23,6 @@ describe "Simplest Table of Contents" do
|
|
23
23
|
end
|
24
24
|
end
|
25
25
|
|
26
|
-
it "preserves file system ordering" do
|
27
|
-
@files.each_with_index do |source_file,i|
|
28
|
-
filename_without_extension = source_file.sub( /\.[^.]+$/, '' )
|
29
|
-
@toc.children[i].title.must_equal filename_without_extension
|
30
|
-
end
|
31
|
-
end
|
32
|
-
|
33
26
|
it "has no parent or ancestors" do
|
34
27
|
@toc.parent.must_be_nil
|
35
28
|
@toc.ancestors.must_be_empty
|
@@ -142,4 +135,24 @@ describe "ToC with Deep Hierarchy" do
|
|
142
135
|
@bundle.toc[1][1].page.title.must_equal '2p'
|
143
136
|
@bundle.toc[2].page.title.must_equal 'main'
|
144
137
|
end
|
138
|
+
end
|
139
|
+
|
140
|
+
|
141
|
+
# *************************************************************************************************
|
142
|
+
describe "ToC with Ordered Items" do
|
143
|
+
before do
|
144
|
+
@bundle = DocuBot::Bundle.new SAMPLES/'ordering'
|
145
|
+
end
|
146
|
+
|
147
|
+
it "should match the expected hierarchy" do
|
148
|
+
@bundle.toc[0].page.title.must_equal 'License'
|
149
|
+
@bundle.toc[1].page.title.must_equal 'Introduction'
|
150
|
+
@bundle.toc[2].page.title.must_equal 'Moar'
|
151
|
+
@bundle.toc[3].page.title.must_equal 'Three'
|
152
|
+
@bundle.toc[4].page.title.must_equal 'Four'
|
153
|
+
@bundle.toc[5].page.title.must_equal 'Thirty'
|
154
|
+
@bundle.toc[6].page.title.must_equal 'Thirty Five'
|
155
|
+
@bundle.toc[7].page.title.must_equal 'Forty'
|
156
|
+
@bundle.toc[8].page.title.must_equal 'Appendix'
|
157
|
+
end
|
145
158
|
end
|
metadata
CHANGED
@@ -1,8 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: docubot
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
5
|
-
prerelease:
|
4
|
+
version: 1.1.4
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Gavin Kistner
|
@@ -10,12 +9,11 @@ authors:
|
|
10
9
|
autorequire:
|
11
10
|
bindir: bin
|
12
11
|
cert_chain: []
|
13
|
-
date:
|
12
|
+
date: 2014-03-05 00:00:00.000000000 Z
|
14
13
|
dependencies:
|
15
14
|
- !ruby/object:Gem::Dependency
|
16
15
|
name: haml
|
17
16
|
requirement: !ruby/object:Gem::Requirement
|
18
|
-
none: false
|
19
17
|
requirements:
|
20
18
|
- - ! '>='
|
21
19
|
- !ruby/object:Gem::Version
|
@@ -23,7 +21,6 @@ dependencies:
|
|
23
21
|
type: :runtime
|
24
22
|
prerelease: false
|
25
23
|
version_requirements: !ruby/object:Gem::Requirement
|
26
|
-
none: false
|
27
24
|
requirements:
|
28
25
|
- - ! '>='
|
29
26
|
- !ruby/object:Gem::Version
|
@@ -31,7 +28,6 @@ dependencies:
|
|
31
28
|
- !ruby/object:Gem::Dependency
|
32
29
|
name: nokogiri
|
33
30
|
requirement: !ruby/object:Gem::Requirement
|
34
|
-
none: false
|
35
31
|
requirements:
|
36
32
|
- - ! '>='
|
37
33
|
- !ruby/object:Gem::Version
|
@@ -39,7 +35,6 @@ dependencies:
|
|
39
35
|
type: :runtime
|
40
36
|
prerelease: false
|
41
37
|
version_requirements: !ruby/object:Gem::Requirement
|
42
|
-
none: false
|
43
38
|
requirements:
|
44
39
|
- - ! '>='
|
45
40
|
- !ruby/object:Gem::Version
|
@@ -47,7 +42,6 @@ dependencies:
|
|
47
42
|
- !ruby/object:Gem::Dependency
|
48
43
|
name: kramdown
|
49
44
|
requirement: !ruby/object:Gem::Requirement
|
50
|
-
none: false
|
51
45
|
requirements:
|
52
46
|
- - ! '>='
|
53
47
|
- !ruby/object:Gem::Version
|
@@ -55,7 +49,6 @@ dependencies:
|
|
55
49
|
type: :runtime
|
56
50
|
prerelease: false
|
57
51
|
version_requirements: !ruby/object:Gem::Requirement
|
58
|
-
none: false
|
59
52
|
requirements:
|
60
53
|
- - ! '>='
|
61
54
|
- !ruby/object:Gem::Version
|
@@ -63,7 +56,6 @@ dependencies:
|
|
63
56
|
- !ruby/object:Gem::Dependency
|
64
57
|
name: RedCloth
|
65
58
|
requirement: !ruby/object:Gem::Requirement
|
66
|
-
none: false
|
67
59
|
requirements:
|
68
60
|
- - ! '>='
|
69
61
|
- !ruby/object:Gem::Version
|
@@ -71,7 +63,6 @@ dependencies:
|
|
71
63
|
type: :runtime
|
72
64
|
prerelease: false
|
73
65
|
version_requirements: !ruby/object:Gem::Requirement
|
74
|
-
none: false
|
75
66
|
requirements:
|
76
67
|
- - ! '>='
|
77
68
|
- !ruby/object:Gem::Version
|
@@ -79,7 +70,6 @@ dependencies:
|
|
79
70
|
- !ruby/object:Gem::Dependency
|
80
71
|
name: minitest
|
81
72
|
requirement: !ruby/object:Gem::Requirement
|
82
|
-
none: false
|
83
73
|
requirements:
|
84
74
|
- - ! '>='
|
85
75
|
- !ruby/object:Gem::Version
|
@@ -87,7 +77,6 @@ dependencies:
|
|
87
77
|
type: :runtime
|
88
78
|
prerelease: false
|
89
79
|
version_requirements: !ruby/object:Gem::Requirement
|
90
|
-
none: false
|
91
80
|
requirements:
|
92
81
|
- - ! '>='
|
93
82
|
- !ruby/object:Gem::Version
|
@@ -101,6 +90,7 @@ extensions: []
|
|
101
90
|
extra_rdoc_files: []
|
102
91
|
files:
|
103
92
|
- bin/docubot
|
93
|
+
- lib/docubot.rb
|
104
94
|
- lib/docubot/bundle.rb
|
105
95
|
- lib/docubot/converter.rb
|
106
96
|
- lib/docubot/converters/haml.rb
|
@@ -117,8 +107,8 @@ files:
|
|
117
107
|
- lib/docubot/shells/default/Appendix/Glossary.md
|
118
108
|
- lib/docubot/shells/default/Appendix/Index_Page.md
|
119
109
|
- lib/docubot/shells/default/Appendix/Table of Contents.md
|
120
|
-
- lib/docubot/shells/default/index.txt
|
121
110
|
- lib/docubot/shells/default/_static/logo.png
|
111
|
+
- lib/docubot/shells/default/index.txt
|
122
112
|
- lib/docubot/shells/docubot-help/0_License.md
|
123
113
|
- lib/docubot/shells/docubot-help/1_Getting_Started.md
|
124
114
|
- lib/docubot/shells/docubot-help/2_Basic_Concepts/0 The Metasection.md
|
@@ -134,30 +124,31 @@ files:
|
|
134
124
|
- lib/docubot/shells/docubot-help/4_Appendix/Glossary.md
|
135
125
|
- lib/docubot/shells/docubot-help/4_Appendix/Index_Page.md
|
136
126
|
- lib/docubot/shells/docubot-help/4_Appendix/Table of Contents.md
|
137
|
-
- lib/docubot/shells/docubot-help/index.txt
|
138
127
|
- lib/docubot/shells/docubot-help/_glossary/Template.md
|
139
128
|
- lib/docubot/shells/docubot-help/_static/glider.png
|
129
|
+
- lib/docubot/shells/docubot-help/index.txt
|
140
130
|
- lib/docubot/snippet.rb
|
141
131
|
- lib/docubot/snippets/glossary.rb
|
142
132
|
- lib/docubot/snippets/index_entries.rb
|
133
|
+
- lib/docubot/templates/_root/common.css
|
134
|
+
- lib/docubot/templates/_root/glossary.css
|
135
|
+
- lib/docubot/templates/_root/glossary.js
|
136
|
+
- lib/docubot/templates/_root/toc.css
|
137
|
+
- lib/docubot/templates/_root/toc.js
|
143
138
|
- lib/docubot/templates/glossary.haml
|
144
139
|
- lib/docubot/templates/index.haml
|
145
140
|
- lib/docubot/templates/page.haml
|
146
141
|
- lib/docubot/templates/section.haml
|
147
142
|
- lib/docubot/templates/toc.haml
|
148
143
|
- lib/docubot/templates/top.haml
|
149
|
-
- lib/docubot/templates/_root/common.css
|
150
|
-
- lib/docubot/templates/_root/glossary.css
|
151
|
-
- lib/docubot/templates/_root/glossary.js
|
152
|
-
- lib/docubot/templates/_root/toc.css
|
153
|
-
- lib/docubot/templates/_root/toc.js
|
154
144
|
- lib/docubot/writer.rb
|
145
|
+
- lib/docubot/writers/chm.rb
|
155
146
|
- lib/docubot/writers/chm/hhc.erb
|
156
147
|
- lib/docubot/writers/chm/hhk.erb
|
157
148
|
- lib/docubot/writers/chm/hhp.erb
|
158
|
-
- lib/docubot/writers/chm.rb
|
159
149
|
- lib/docubot/writers/html.rb
|
160
|
-
-
|
150
|
+
- spec/_all.rb
|
151
|
+
- spec/_helper.rb
|
161
152
|
- spec/bundle.rb
|
162
153
|
- spec/chm.rb
|
163
154
|
- spec/command.rb
|
@@ -180,27 +171,26 @@ files:
|
|
180
171
|
- spec/samples/collisions/page3.bin
|
181
172
|
- spec/samples/collisions/page3.md
|
182
173
|
- spec/samples/default_topic/Alpha.md
|
183
|
-
- spec/samples/default_topic/index.txt
|
184
174
|
- spec/samples/default_topic/Zeta.md
|
175
|
+
- spec/samples/default_topic/index.txt
|
185
176
|
- spec/samples/default_topic_2/Alpha Space.md
|
186
|
-
- spec/samples/default_topic_2/index.txt
|
187
177
|
- spec/samples/default_topic_2/Zeta.md
|
188
|
-
- spec/samples/
|
178
|
+
- spec/samples/default_topic_2/index.txt
|
189
179
|
- spec/samples/files/BUILDING.txt
|
180
|
+
- spec/samples/files/_static/Thumbs.db
|
181
|
+
- spec/samples/files/_static/foo.ai
|
182
|
+
- spec/samples/files/_static/foo.png
|
183
|
+
- spec/samples/files/_static/foo.psd
|
184
|
+
- spec/samples/files/another.md
|
190
185
|
- spec/samples/files/common.css
|
191
186
|
- spec/samples/files/first.textile
|
192
187
|
- spec/samples/files/index.md
|
193
188
|
- spec/samples/files/section/foo.jpg
|
194
189
|
- spec/samples/files/section/page.haml
|
190
|
+
- spec/samples/files/section/sub section/Thumbs.db
|
195
191
|
- spec/samples/files/section/sub section/foo.gif
|
196
192
|
- spec/samples/files/section/sub section/page.txt
|
197
|
-
- spec/samples/files/section/sub section/Thumbs.db
|
198
|
-
- spec/samples/files/_static/foo.ai
|
199
|
-
- spec/samples/files/_static/foo.png
|
200
|
-
- spec/samples/files/_static/foo.psd
|
201
|
-
- spec/samples/files/_static/Thumbs.db
|
202
193
|
- spec/samples/funkychars/HelloWorld.md
|
203
|
-
- spec/samples/funkychars/index.txt
|
204
194
|
- spec/samples/funkychars/Wrapper/0 Ampersand & Spaces Folder/0 Ampersand & Spaces
|
205
195
|
File.md
|
206
196
|
- spec/samples/funkychars/Wrapper/0 Ampersand & Spaces Folder/1 Ampersand_&_Underscores_File.md
|
@@ -236,10 +226,6 @@ files:
|
|
236
226
|
- spec/samples/funkychars/Wrapper/4 It's a Folder!/3 ASCII_and_Underscores_File.md
|
237
227
|
- spec/samples/funkychars/Wrapper/4 It's a Folder!/4 It's a File!.md
|
238
228
|
- spec/samples/funkychars/Wrapper/4 It's a Folder!/index.md
|
239
|
-
- spec/samples/funkychars/_templates/glossary.haml
|
240
|
-
- spec/samples/funkychars/_templates/page.haml
|
241
|
-
- spec/samples/funkychars/_templates/section.haml
|
242
|
-
- spec/samples/funkychars/_templates/top.haml
|
243
229
|
- spec/samples/funkychars/_templates/_root/bg_green_bar_revised.gif
|
244
230
|
- spec/samples/funkychars/_templates/_root/close.png
|
245
231
|
- spec/samples/funkychars/_templates/_root/common.css
|
@@ -248,11 +234,16 @@ files:
|
|
248
234
|
- spec/samples/funkychars/_templates/_root/nvdevtools.js
|
249
235
|
- spec/samples/funkychars/_templates/_root/nvidia-logo.gif
|
250
236
|
- spec/samples/funkychars/_templates/_root/right-sidebar.png
|
237
|
+
- spec/samples/funkychars/_templates/glossary.haml
|
238
|
+
- spec/samples/funkychars/_templates/page.haml
|
239
|
+
- spec/samples/funkychars/_templates/section.haml
|
240
|
+
- spec/samples/funkychars/_templates/top.haml
|
241
|
+
- spec/samples/funkychars/index.txt
|
251
242
|
- spec/samples/glossary/Glossary.txt
|
252
243
|
- spec/samples/glossary/Some Page.md
|
244
|
+
- spec/samples/glossary/_glossary/Simple Term.md
|
253
245
|
- spec/samples/glossary/_glossary/complex.haml
|
254
246
|
- spec/samples/glossary/_glossary/project_x.md
|
255
|
-
- spec/samples/glossary/_glossary/Simple Term.md
|
256
247
|
- spec/samples/hierarchy/1/1.1/1.1.1/index.haml
|
257
248
|
- spec/samples/hierarchy/1/1.1/1.1.1/page.haml
|
258
249
|
- spec/samples/hierarchy/1/1.1/page.haml
|
@@ -269,22 +260,35 @@ files:
|
|
269
260
|
- spec/samples/links/pending.md
|
270
261
|
- spec/samples/links/root.md
|
271
262
|
- spec/samples/links/sub1/inner1.md
|
263
|
+
- spec/samples/links/sub2.md
|
272
264
|
- spec/samples/links/sub2/bozo.bin
|
273
265
|
- spec/samples/links/sub2/inner2.md
|
274
|
-
- spec/samples/
|
275
|
-
- spec/samples/
|
266
|
+
- spec/samples/ordering/01_Introduction/Content.txt
|
267
|
+
- spec/samples/ordering/01_Introduction/index.txt
|
268
|
+
- spec/samples/ordering/0_License.md
|
269
|
+
- spec/samples/ordering/2_Moar/Content.txt
|
270
|
+
- spec/samples/ordering/2_Moar/index.txt
|
271
|
+
- spec/samples/ordering/30_Thirty.md
|
272
|
+
- spec/samples/ordering/35_Thirty Five.md
|
273
|
+
- spec/samples/ordering/3_Three.md
|
274
|
+
- spec/samples/ordering/40_Forty.md
|
275
|
+
- spec/samples/ordering/4_Four.md
|
276
|
+
- spec/samples/ordering/Appendix/Content.txt
|
277
|
+
- spec/samples/ordering/Appendix/index.txt
|
278
|
+
- spec/samples/ordering/index.txt
|
276
279
|
- spec/samples/simplest/HTML.html
|
280
|
+
- spec/samples/simplest/Haml.haml
|
277
281
|
- spec/samples/simplest/Markdown.md
|
278
282
|
- spec/samples/simplest/Text.txt
|
279
283
|
- spec/samples/simplest/Textile.textile
|
284
|
+
- spec/samples/templates/_templates/404.haml
|
285
|
+
- spec/samples/templates/_templates/doubler.haml
|
286
|
+
- spec/samples/templates/_templates/page.haml
|
280
287
|
- spec/samples/templates/goaway.txt
|
281
288
|
- spec/samples/templates/onepara_html.html
|
282
289
|
- spec/samples/templates/onepara_md.md
|
283
290
|
- spec/samples/templates/twopara_haml.haml
|
284
291
|
- spec/samples/templates/twopara_textile.textile
|
285
|
-
- spec/samples/templates/_templates/404.haml
|
286
|
-
- spec/samples/templates/_templates/doubler.haml
|
287
|
-
- spec/samples/templates/_templates/page.haml
|
288
292
|
- spec/samples/titles/1 First One.txt
|
289
293
|
- spec/samples/titles/2_Second_One.txt
|
290
294
|
- spec/samples/titles/3_renamed.txt
|
@@ -294,30 +298,28 @@ files:
|
|
294
298
|
- spec/samples/titles/911.txt
|
295
299
|
- spec/samples/titles/index.txt
|
296
300
|
- spec/samples/underscores/Home.md
|
297
|
-
- spec/samples/underscores/subsection/_andignoreme.md
|
298
301
|
- spec/samples/underscores/_ignoreme.md
|
299
302
|
- spec/samples/underscores/_static/Foo/_ignoremore.txt
|
300
303
|
- spec/samples/underscores/_static/_Bar/_ignoreevenmore.txt
|
304
|
+
- spec/samples/underscores/subsection/_andignoreme.md
|
301
305
|
- spec/templates.rb
|
302
306
|
- spec/toc.rb
|
303
307
|
- spec/writer/chm.rb
|
304
308
|
- spec/writer/html.rb
|
305
|
-
- spec/_all.rb
|
306
|
-
- spec/_helper.rb
|
307
309
|
homepage: http://github.com/Phrogz/docubot
|
308
|
-
licenses:
|
310
|
+
licenses:
|
311
|
+
- MIT License
|
312
|
+
metadata: {}
|
309
313
|
post_install_message:
|
310
314
|
rdoc_options: []
|
311
315
|
require_paths:
|
312
316
|
- lib
|
313
317
|
required_ruby_version: !ruby/object:Gem::Requirement
|
314
|
-
none: false
|
315
318
|
requirements:
|
316
319
|
- - ! '>='
|
317
320
|
- !ruby/object:Gem::Version
|
318
321
|
version: '0'
|
319
322
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
320
|
-
none: false
|
321
323
|
requirements:
|
322
324
|
- - ! '>='
|
323
325
|
- !ruby/object:Gem::Version
|
@@ -330,9 +332,9 @@ requirements:
|
|
330
332
|
- RedCloth gem for Textile conversion.
|
331
333
|
- MiniTest gem for running specifications.
|
332
334
|
rubyforge_project:
|
333
|
-
rubygems_version:
|
335
|
+
rubygems_version: 2.2.2
|
334
336
|
signing_key:
|
335
|
-
specification_version:
|
337
|
+
specification_version: 4
|
336
338
|
summary: Create documentation from a hierarchy of text files.
|
337
339
|
test_files:
|
338
340
|
- spec/_all.rb
|