glyph 0.4.2 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +19 -40
- data/benchmark.rb +1 -2
- data/book/config.yml +8 -8
- data/book/document.glyph +18 -19
- data/book/images/glyph/commands_tasks.png +0 -0
- data/book/lib/layouts/bookindex.glyph +113 -111
- data/book/lib/layouts/bookpage.glyph +112 -108
- data/book/lib/macros/reference.rb +2 -2
- data/book/lib/tasks/tasks.rake +1 -1
- data/book/text/acknowledgements.glyph +1 -0
- data/book/text/changelog.glyph +140 -112
- data/book/text/compiling/compiling.glyph +36 -24
- data/book/text/compiling/lite_mode.glyph +11 -11
- data/book/text/compiling/programmatic_usage.glyph +57 -57
- data/book/text/config/document.glyph +7 -1
- data/book/text/config/options.glyph +5 -3
- data/book/text/config/output.glyph +41 -8
- data/book/text/extending/bookmarks_headers.glyph +13 -11
- data/book/text/extending/command.glyph +1 -1
- data/book/text/extending/commands_tasks.glyph +2 -2
- data/book/text/extending/internals.glyph +29 -29
- data/book/text/extending/interpreting.glyph +48 -9
- data/book/text/extending/macro_def.glyph +80 -32
- data/book/text/extending/output_format.glyph +2 -2
- data/book/text/extending/placeholders.glyph +27 -15
- data/book/text/extending/validators.glyph +1 -1
- data/book/text/getting_started/configuration.glyph +1 -1
- data/book/text/getting_started/create_project.glyph +4 -5
- data/book/text/getting_started/structure.glyph +2 -2
- data/book/text/macros/macros_core.glyph +341 -199
- data/book/text/macros/macros_filters.glyph +1 -1
- data/book/text/macros/macros_inline.glyph +3 -3
- data/book/text/macros/macros_structure.glyph +1 -1
- data/book/text/ref_commands.glyph +98 -93
- data/book/text/snippets.glyph +18 -0
- data/book/text/stats/bookmarks.glyph +16 -16
- data/book/text/stats/links.glyph +23 -23
- data/book/text/stats/macros.glyph +14 -14
- data/book/text/stats/snippets.glyph +26 -26
- data/book/text/stats/stats.glyph +14 -15
- data/book/text/text_editing/attribute_intro.glyph +8 -8
- data/book/text/text_editing/code.glyph +16 -16
- data/book/text/text_editing/conditionals.glyph +12 -13
- data/book/text/text_editing/esc_quot.glyph +3 -3
- data/book/text/text_editing/evaluation.glyph +57 -3
- data/book/text/text_editing/inclusions.glyph +34 -25
- data/book/text/text_editing/macro_composition.glyph +28 -0
- data/book/text/text_editing/macro_intro.glyph +4 -4
- data/book/text/text_editing/section_aliases.glyph +23 -23
- data/book/text/text_editing/sections.glyph +22 -22
- data/book/text/text_editing/stylesheets.glyph +33 -33
- data/book/text/text_editing/topics.glyph +6 -6
- data/book/text/text_editing/xml_fallback.glyph +1 -1
- data/book/text/troubleshooting/errors_command.glyph +4 -4
- data/book/text/troubleshooting/errors_generic.glyph +16 -10
- data/book/text/troubleshooting/errors_macro.glyph +18 -21
- data/book/text/troubleshooting/errors_parser.glyph +7 -7
- data/config.yml +51 -29
- data/document.glyph +18 -18
- data/glyph.gemspec +39 -287
- data/layouts/web5/topic.glyph +1 -1
- data/lib/glyph.rb +42 -10
- data/lib/glyph/analyzer.rb +5 -2
- data/lib/glyph/bookmark.rb +3 -1
- data/lib/glyph/commands.rb +11 -9
- data/lib/glyph/commands/add.rb +3 -1
- data/lib/glyph/commands/compile.rb +10 -7
- data/lib/glyph/commands/config.rb +7 -5
- data/lib/glyph/commands/init.rb +2 -0
- data/lib/glyph/commands/outline.rb +2 -0
- data/lib/glyph/commands/stats.rb +3 -0
- data/lib/glyph/commands/todo.rb +2 -0
- data/lib/glyph/config.rb +2 -0
- data/lib/glyph/document.rb +34 -9
- data/lib/glyph/interpreter.rb +2 -0
- data/lib/glyph/macro.rb +97 -25
- data/lib/glyph/macro_validators.rb +9 -6
- data/lib/glyph/node.rb +3 -1
- data/lib/glyph/parser.rb +68 -33
- data/lib/glyph/reporter.rb +3 -1
- data/lib/glyph/syntax_node.rb +23 -28
- data/lib/glyph/system_extensions.rb +21 -0
- data/lib/glyph/utils.rb +24 -4
- data/macros/block.rb +111 -0
- data/macros/core.rb +163 -33
- data/macros/filters.rb +3 -2
- data/macros/inline.rb +97 -0
- data/macros/reps/html.rb +180 -0
- data/macros/reps/html5.rb +100 -0
- data/macros/reps/web.rb +4 -0
- data/macros/reps/web5.rb +4 -0
- data/macros/structure.rb +229 -0
- data/macros/xml.rb +29 -24
- data/spec/config.yml +7 -0
- data/spec/files/article.glyph +2 -2
- data/spec/files/web_doc.glyph +9 -5
- data/spec/lib/commands_spec.rb +13 -9
- data/spec/lib/config_spec.rb +2 -2
- data/spec/lib/document_spec.rb +10 -0
- data/spec/lib/glyph_spec.rb +30 -8
- data/spec/lib/macro_spec.rb +39 -4
- data/spec/lib/macro_validators_spec.rb +3 -4
- data/spec/lib/parser_spec.rb +7 -0
- data/spec/lib/reporter_spec.rb +1 -0
- data/spec/lib/syntax_node_spec.rb +40 -6
- data/spec/macros/core_spec.rb +154 -21
- data/spec/macros/filters_spec.rb +1 -1
- data/spec/macros/html5_spec.rb +4 -5
- data/spec/macros/macros_spec.rb +6 -7
- data/spec/macros/web5_spec.rb +3 -3
- data/spec/macros/web_spec.rb +10 -7
- data/spec/macros/xml_spec.rb +11 -2
- data/spec/spec_helper.rb +11 -5
- data/spec/tasks/generate_spec.rb +40 -5
- data/spec/tasks/load_spec.rb +1 -13
- data/styles/coderay.css +147 -38
- data/styles/default.css +19 -22
- data/styles/pagination.css +30 -30
- data/tasks/generate.rake +54 -18
- data/tasks/load.rake +9 -24
- data/tasks/project.rake +0 -2
- metadata +208 -207
- data/.gitignore +0 -7
- data/VERSION +0 -1
- data/book/snippets.yml +0 -18
- data/lib/glyph/macro_helpers.rb +0 -282
- data/macros/html/block.rb +0 -124
- data/macros/html/inline.rb +0 -42
- data/macros/html/structure.rb +0 -191
- data/macros/html5/block.rb +0 -69
- data/macros/html5/inline.rb +0 -24
- data/macros/html5/structure.rb +0 -140
data/tasks/load.rake
CHANGED
@@ -4,7 +4,7 @@ namespace :load do
|
|
4
4
|
include Glyph::Utils
|
5
5
|
|
6
6
|
desc "Load all files"
|
7
|
-
task :all => [:config, :tasks, :commands, :
|
7
|
+
task :all => [:config, :tasks, :commands, :macros] do
|
8
8
|
end
|
9
9
|
|
10
10
|
desc "Load tasks"
|
@@ -26,16 +26,6 @@ namespace :load do
|
|
26
26
|
end
|
27
27
|
end
|
28
28
|
|
29
|
-
desc "Load snippets"
|
30
|
-
task :snippets do
|
31
|
-
unless Glyph.lite? then
|
32
|
-
raise RuntimeError, "The current directory is not a valid Glyph project" unless Glyph.project?
|
33
|
-
snippets = yaml_load Glyph::PROJECT/'snippets.yml'
|
34
|
-
raise RuntimeError, "Invalid snippets file" unless snippets.blank? || snippets.is_a?(Hash)
|
35
|
-
Glyph::SNIPPETS.replace snippets
|
36
|
-
end
|
37
|
-
end
|
38
|
-
|
39
29
|
desc "Load macros"
|
40
30
|
task :macros do
|
41
31
|
raise RuntimeError, "The current directory is not a valid Glyph project" unless Glyph.project? || Glyph.lite?
|
@@ -46,22 +36,17 @@ namespace :load do
|
|
46
36
|
end
|
47
37
|
load_layouts_from_dir = lambda do |dir|
|
48
38
|
load_files_from_dir(dir, ".glyph") do |file, contents|
|
49
|
-
Glyph.
|
39
|
+
Glyph.define "layout/#{file.basename(file.extname)}".to_sym, contents
|
50
40
|
end
|
51
41
|
end
|
42
|
+
out_cfg = "output.#{Glyph['document.output']}"
|
43
|
+
reps_file = "#{Glyph["#{out_cfg}.macro_reps"]}.rb"
|
52
44
|
case Glyph['options.macro_set']
|
53
45
|
when 'glyph' then
|
54
|
-
|
55
|
-
|
56
|
-
Glyph.instance_eval file_load(Glyph::HOME/
|
57
|
-
|
58
|
-
layout_dirs = Glyph["output.#{Glyph['document.output']}.layout_dirs"] || []
|
59
|
-
unless macro_dirs.blank?
|
60
|
-
macro_dirs.each {|d| load_macros_from_dir.call Glyph::HOME/"macros/#{d}" }
|
61
|
-
else
|
62
|
-
warning "No #{Glyph['document.output']} macros defined"
|
63
|
-
end
|
64
|
-
layout_dirs.each {|d| load_layouts_from_dir.call Glyph::HOME/"layouts/#{d}" }
|
46
|
+
load_macros_from_dir.call Glyph::HOME/"macros"
|
47
|
+
# Load representations
|
48
|
+
Glyph.instance_eval file_load(Glyph::HOME/"macros/reps/#{reps_file}")
|
49
|
+
load_layouts_from_dir.call Glyph::HOME/"layouts/#{Glyph["#{out_cfg}.layout_dir"]}"
|
65
50
|
when 'xml' then
|
66
51
|
Glyph.instance_eval file_load(Glyph::HOME/'macros/core.rb')
|
67
52
|
Glyph.instance_eval file_load(Glyph::HOME/'macros/filters.rb')
|
@@ -75,7 +60,7 @@ namespace :load do
|
|
75
60
|
# load project macros
|
76
61
|
unless Glyph.lite? then
|
77
62
|
load_macros_from_dir.call Glyph::PROJECT/"lib/macros"
|
78
|
-
|
63
|
+
Glyph.instance_eval file_load(Glyph::PROJECT/"lib/macros/reps/#{reps_file}") rescue nil
|
79
64
|
load_layouts_from_dir.call Glyph::PROJECT/'lib/layouts' if Glyph.multiple_output_files?
|
80
65
|
end
|
81
66
|
end
|
data/tasks/project.rake
CHANGED
@@ -11,8 +11,6 @@ namespace :project do
|
|
11
11
|
# Create subdirectories
|
12
12
|
subdirs = ['lib/macros', 'lib/tasks', 'lib/layouts', 'lib/tasks', 'lib/commands', 'text', 'output', 'images', 'styles']
|
13
13
|
subdirs.each {|d| (dir/d).mkpath }
|
14
|
-
# Create snippets
|
15
|
-
yaml_dump Glyph::PROJECT/'snippets.yml', {:test => "This is a \nTest snippet"}
|
16
14
|
# Create files
|
17
15
|
file_copy Glyph::HOME/'document.glyph', Glyph::PROJECT/'document.glyph'
|
18
16
|
config = yaml_load Glyph::HOME/'config.yml'
|
metadata
CHANGED
@@ -2,12 +2,12 @@
|
|
2
2
|
name: glyph
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
hash: 11
|
5
|
-
prerelease:
|
5
|
+
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
|
-
-
|
9
|
-
-
|
10
|
-
version: 0.
|
8
|
+
- 5
|
9
|
+
- 0
|
10
|
+
version: 0.5.0
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Fabio Cevasco
|
@@ -15,8 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date:
|
19
|
-
default_executable: glyph
|
18
|
+
date: 2011-08-28 00:00:00 Z
|
20
19
|
dependencies:
|
21
20
|
- !ruby/object:Gem::Dependency
|
22
21
|
name: gli
|
@@ -26,12 +25,12 @@ dependencies:
|
|
26
25
|
requirements:
|
27
26
|
- - ">="
|
28
27
|
- !ruby/object:Gem::Version
|
29
|
-
hash:
|
28
|
+
hash: 19
|
30
29
|
segments:
|
31
30
|
- 1
|
32
|
-
-
|
33
|
-
-
|
34
|
-
version: 1.
|
31
|
+
- 2
|
32
|
+
- 6
|
33
|
+
version: 1.2.6
|
35
34
|
type: :runtime
|
36
35
|
version_requirements: *id001
|
37
36
|
- !ruby/object:Gem::Dependency
|
@@ -74,12 +73,12 @@ dependencies:
|
|
74
73
|
requirements:
|
75
74
|
- - ">="
|
76
75
|
- !ruby/object:Gem::Version
|
77
|
-
hash:
|
76
|
+
hash: 25
|
78
77
|
segments:
|
78
|
+
- 2
|
79
|
+
- 5
|
79
80
|
- 1
|
80
|
-
|
81
|
-
- 0
|
82
|
-
version: 1.3.0
|
81
|
+
version: 2.5.1
|
83
82
|
type: :development
|
84
83
|
version_requirements: *id004
|
85
84
|
- !ruby/object:Gem::Dependency
|
@@ -90,21 +89,21 @@ dependencies:
|
|
90
89
|
requirements:
|
91
90
|
- - ">="
|
92
91
|
- !ruby/object:Gem::Version
|
93
|
-
hash:
|
92
|
+
hash: 13
|
94
93
|
segments:
|
95
94
|
- 0
|
96
95
|
- 6
|
97
|
-
-
|
98
|
-
version: 0.6.
|
96
|
+
- 5
|
97
|
+
version: 0.6.5
|
99
98
|
type: :development
|
100
99
|
version_requirements: *id005
|
101
100
|
- !ruby/object:Gem::Dependency
|
102
|
-
name:
|
101
|
+
name: directory_watcher
|
103
102
|
prerelease: false
|
104
103
|
requirement: &id006 !ruby/object:Gem::Requirement
|
105
104
|
none: false
|
106
105
|
requirements:
|
107
|
-
- - "
|
106
|
+
- - ">="
|
108
107
|
- !ruby/object:Gem::Version
|
109
108
|
hash: 7
|
110
109
|
segments:
|
@@ -115,85 +114,69 @@ dependencies:
|
|
115
114
|
type: :development
|
116
115
|
version_requirements: *id006
|
117
116
|
- !ruby/object:Gem::Dependency
|
118
|
-
name:
|
117
|
+
name: sass
|
119
118
|
prerelease: false
|
120
119
|
requirement: &id007 !ruby/object:Gem::Requirement
|
121
120
|
none: false
|
122
121
|
requirements:
|
123
122
|
- - ">="
|
124
123
|
- !ruby/object:Gem::Version
|
125
|
-
hash:
|
124
|
+
hash: 13
|
126
125
|
segments:
|
127
|
-
- 1
|
128
126
|
- 3
|
129
|
-
-
|
130
|
-
|
127
|
+
- 1
|
128
|
+
- 7
|
129
|
+
version: 3.1.7
|
131
130
|
type: :development
|
132
131
|
version_requirements: *id007
|
133
|
-
- !ruby/object:Gem::Dependency
|
134
|
-
name: haml
|
135
|
-
prerelease: false
|
136
|
-
requirement: &id008 !ruby/object:Gem::Requirement
|
137
|
-
none: false
|
138
|
-
requirements:
|
139
|
-
- - ">="
|
140
|
-
- !ruby/object:Gem::Version
|
141
|
-
hash: 25
|
142
|
-
segments:
|
143
|
-
- 3
|
144
|
-
- 0
|
145
|
-
- 15
|
146
|
-
version: 3.0.15
|
147
|
-
type: :development
|
148
|
-
version_requirements: *id008
|
149
132
|
- !ruby/object:Gem::Dependency
|
150
133
|
name: RedCloth
|
151
134
|
prerelease: false
|
152
|
-
requirement: &
|
135
|
+
requirement: &id008 !ruby/object:Gem::Requirement
|
153
136
|
none: false
|
154
137
|
requirements:
|
155
138
|
- - ">="
|
156
139
|
- !ruby/object:Gem::Version
|
157
|
-
hash:
|
140
|
+
hash: 57
|
158
141
|
segments:
|
159
142
|
- 4
|
160
143
|
- 2
|
161
|
-
-
|
162
|
-
version: 4.2.
|
144
|
+
- 7
|
145
|
+
version: 4.2.7
|
163
146
|
type: :development
|
164
|
-
version_requirements: *
|
147
|
+
version_requirements: *id008
|
165
148
|
- !ruby/object:Gem::Dependency
|
166
149
|
name: bluecloth
|
167
150
|
prerelease: false
|
168
|
-
requirement: &
|
151
|
+
requirement: &id009 !ruby/object:Gem::Requirement
|
169
152
|
none: false
|
170
153
|
requirements:
|
171
154
|
- - ">="
|
172
155
|
- !ruby/object:Gem::Version
|
173
|
-
hash:
|
156
|
+
hash: 11
|
174
157
|
segments:
|
175
158
|
- 2
|
159
|
+
- 1
|
176
160
|
- 0
|
177
|
-
|
178
|
-
version: 2.0.7
|
161
|
+
version: 2.1.0
|
179
162
|
type: :development
|
180
|
-
version_requirements: *
|
163
|
+
version_requirements: *id009
|
181
164
|
- !ruby/object:Gem::Dependency
|
182
165
|
name: coderay
|
183
166
|
prerelease: false
|
184
|
-
requirement: &
|
167
|
+
requirement: &id010 !ruby/object:Gem::Requirement
|
185
168
|
none: false
|
186
169
|
requirements:
|
187
170
|
- - ">="
|
188
171
|
- !ruby/object:Gem::Version
|
189
|
-
hash:
|
172
|
+
hash: 53
|
190
173
|
segments:
|
191
174
|
- 0
|
192
175
|
- 9
|
193
|
-
-
|
194
|
-
version: 0.9.
|
176
|
+
- 7
|
177
|
+
version: 0.9.7
|
195
178
|
type: :development
|
196
|
-
version_requirements: *
|
179
|
+
version_requirements: *id010
|
197
180
|
description: Glyph is a framework for structured document authoring.
|
198
181
|
email: h3rald@h3rald.com
|
199
182
|
executables:
|
@@ -201,210 +184,212 @@ executables:
|
|
201
184
|
extensions: []
|
202
185
|
|
203
186
|
extra_rdoc_files:
|
204
|
-
-
|
187
|
+
- AUTHORS.textile
|
205
188
|
- README.textile
|
189
|
+
- LICENSE.textile
|
190
|
+
- CHANGELOG.textile
|
206
191
|
files:
|
207
|
-
-
|
192
|
+
- Rakefile
|
208
193
|
- AUTHORS.textile
|
209
|
-
- CHANGELOG.textile
|
210
|
-
- LICENSE.textile
|
211
194
|
- README.textile
|
212
|
-
- Rakefile
|
213
|
-
- VERSION
|
214
195
|
- benchmark.rb
|
196
|
+
- LICENSE.textile
|
197
|
+
- CHANGELOG.textile
|
198
|
+
- config.yml
|
199
|
+
- glyph-0.5.0.gem
|
200
|
+
- glyph.gemspec
|
201
|
+
- document.glyph
|
215
202
|
- bin/glyph
|
203
|
+
- lib/glyph/commands.rb
|
204
|
+
- lib/glyph/interpreter.rb
|
205
|
+
- lib/glyph/system_extensions.rb
|
206
|
+
- lib/glyph/bookmark.rb
|
207
|
+
- lib/glyph/macro_validators.rb
|
208
|
+
- lib/glyph/commands/stats.rb
|
209
|
+
- lib/glyph/commands/init.rb
|
210
|
+
- lib/glyph/commands/config.rb
|
211
|
+
- lib/glyph/commands/outline.rb
|
212
|
+
- lib/glyph/commands/todo.rb
|
213
|
+
- lib/glyph/commands/add.rb
|
214
|
+
- lib/glyph/commands/compile.rb
|
215
|
+
- lib/glyph/macro.rb
|
216
|
+
- lib/glyph/syntax_node.rb
|
217
|
+
- lib/glyph/analyzer.rb
|
218
|
+
- lib/glyph/config.rb
|
219
|
+
- lib/glyph/document.rb
|
220
|
+
- lib/glyph/reporter.rb
|
221
|
+
- lib/glyph/parser.rb
|
222
|
+
- lib/glyph/node.rb
|
223
|
+
- lib/glyph/utils.rb
|
224
|
+
- lib/glyph.rb
|
216
225
|
- book/config.yml
|
217
226
|
- book/document.glyph
|
227
|
+
- book/lib/macros/reference.rb
|
228
|
+
- book/lib/layouts/project.glyph
|
229
|
+
- book/lib/layouts/bookpage.glyph
|
230
|
+
- book/lib/layouts/bookindex.glyph
|
231
|
+
- book/lib/commands/commands.rb
|
232
|
+
- book/lib/tasks/tasks.rake
|
233
|
+
- book/images/glyph/glyph.png
|
218
234
|
- book/images/glyph/commands_tasks.png
|
219
|
-
- book/images/glyph/document_generation.png
|
220
235
|
- book/images/glyph/glyph.eps
|
221
|
-
- book/images/glyph/glyph.png
|
222
236
|
- book/images/glyph/glyph.svg
|
223
|
-
- book/
|
224
|
-
- book/lib/layouts/bookindex.glyph
|
225
|
-
- book/lib/layouts/bookpage.glyph
|
226
|
-
- book/lib/layouts/project.glyph
|
227
|
-
- book/lib/macros/reference.rb
|
228
|
-
- book/lib/tasks/tasks.rake
|
229
|
-
- book/resources/document_generation.txt
|
230
|
-
- book/snippets.yml
|
231
|
-
- book/text/acknowledgements.glyph
|
232
|
-
- book/text/changelog.glyph
|
233
|
-
- book/text/compiling/compiling.glyph
|
234
|
-
- book/text/compiling/lite_mode.glyph
|
235
|
-
- book/text/compiling/programmatic_usage.glyph
|
236
|
-
- book/text/config/document.glyph
|
237
|
-
- book/text/config/filters.glyph
|
238
|
-
- book/text/config/options.glyph
|
239
|
-
- book/text/config/output.glyph
|
240
|
-
- book/text/extending/bookmarks_headers.glyph
|
241
|
-
- book/text/extending/command.glyph
|
242
|
-
- book/text/extending/commands_tasks.glyph
|
243
|
-
- book/text/extending/further_reading.glyph
|
244
|
-
- book/text/extending/internals.glyph
|
245
|
-
- book/text/extending/interpreting.glyph
|
246
|
-
- book/text/extending/layouts.glyph
|
247
|
-
- book/text/extending/macro_def.glyph
|
248
|
-
- book/text/extending/output_format.glyph
|
249
|
-
- book/text/extending/params_attrs.glyph
|
250
|
-
- book/text/extending/placeholders.glyph
|
251
|
-
- book/text/extending/task.glyph
|
252
|
-
- book/text/extending/validators.glyph
|
237
|
+
- book/images/glyph/document_generation.png
|
253
238
|
- book/text/getting_started/configuration.glyph
|
254
|
-
- book/text/getting_started/create_project.glyph
|
255
239
|
- book/text/getting_started/structure.glyph
|
256
|
-
- book/text/
|
257
|
-
- book/text/
|
240
|
+
- book/text/getting_started/create_project.glyph
|
241
|
+
- book/text/macros/macros_filters.glyph
|
242
|
+
- book/text/macros/macros_structure.glyph
|
258
243
|
- book/text/macros/macros_block.glyph
|
259
244
|
- book/text/macros/macros_core.glyph
|
260
|
-
- book/text/macros/macros_filters.glyph
|
261
245
|
- book/text/macros/macros_inline.glyph
|
262
|
-
- book/text/
|
263
|
-
- book/text/
|
246
|
+
- book/text/license.glyph
|
247
|
+
- book/text/acknowledgements.glyph
|
248
|
+
- book/text/config/options.glyph
|
249
|
+
- book/text/config/output.glyph
|
250
|
+
- book/text/config/filters.glyph
|
251
|
+
- book/text/config/document.glyph
|
252
|
+
- book/text/stats/stats.glyph
|
264
253
|
- book/text/stats/bookmarks.glyph
|
265
|
-
- book/text/stats/links.glyph
|
266
254
|
- book/text/stats/macros.glyph
|
255
|
+
- book/text/stats/links.glyph
|
267
256
|
- book/text/stats/snippets.glyph
|
268
|
-
- book/text/
|
269
|
-
- book/text/text_editing/attribute_intro.glyph
|
270
|
-
- book/text/text_editing/code.glyph
|
271
|
-
- book/text/text_editing/conditionals.glyph
|
272
|
-
- book/text/text_editing/esc_quot.glyph
|
273
|
-
- book/text/text_editing/evaluation.glyph
|
274
|
-
- book/text/text_editing/glyph_files.glyph
|
275
|
-
- book/text/text_editing/images.glyph
|
276
|
-
- book/text/text_editing/inclusions.glyph
|
277
|
-
- book/text/text_editing/links.glyph
|
257
|
+
- book/text/changelog.glyph
|
278
258
|
- book/text/text_editing/macro_intro.glyph
|
279
259
|
- book/text/text_editing/raw_html.glyph
|
280
260
|
- book/text/text_editing/section_aliases.glyph
|
261
|
+
- book/text/text_editing/conditionals.glyph
|
262
|
+
- book/text/text_editing/inclusions.glyph
|
281
263
|
- book/text/text_editing/sections.glyph
|
282
|
-
- book/text/text_editing/
|
264
|
+
- book/text/text_editing/code.glyph
|
265
|
+
- book/text/text_editing/macro_composition.glyph
|
266
|
+
- book/text/text_editing/images.glyph
|
267
|
+
- book/text/text_editing/esc_quot.glyph
|
283
268
|
- book/text/text_editing/topics.glyph
|
284
269
|
- book/text/text_editing/xml_fallback.glyph
|
270
|
+
- book/text/text_editing/links.glyph
|
271
|
+
- book/text/text_editing/stylesheets.glyph
|
272
|
+
- book/text/text_editing/glyph_files.glyph
|
273
|
+
- book/text/text_editing/attribute_intro.glyph
|
274
|
+
- book/text/text_editing/evaluation.glyph
|
275
|
+
- book/text/extending/command.glyph
|
276
|
+
- book/text/extending/bookmarks_headers.glyph
|
277
|
+
- book/text/extending/placeholders.glyph
|
278
|
+
- book/text/extending/task.glyph
|
279
|
+
- book/text/extending/internals.glyph
|
280
|
+
- book/text/extending/params_attrs.glyph
|
281
|
+
- book/text/extending/interpreting.glyph
|
282
|
+
- book/text/extending/validators.glyph
|
283
|
+
- book/text/extending/layouts.glyph
|
284
|
+
- book/text/extending/further_reading.glyph
|
285
|
+
- book/text/extending/output_format.glyph
|
286
|
+
- book/text/extending/commands_tasks.glyph
|
287
|
+
- book/text/extending/macro_def.glyph
|
285
288
|
- book/text/troubleshooting/errors_command.glyph
|
286
|
-
- book/text/troubleshooting/errors_generic.glyph
|
287
|
-
- book/text/troubleshooting/errors_macro.glyph
|
288
289
|
- book/text/troubleshooting/errors_parser.glyph
|
289
|
-
-
|
290
|
-
-
|
291
|
-
- glyph
|
292
|
-
-
|
293
|
-
-
|
290
|
+
- book/text/troubleshooting/errors_macro.glyph
|
291
|
+
- book/text/troubleshooting/errors_generic.glyph
|
292
|
+
- book/text/compiling/programmatic_usage.glyph
|
293
|
+
- book/text/compiling/compiling.glyph
|
294
|
+
- book/text/compiling/lite_mode.glyph
|
295
|
+
- book/text/ref_commands.glyph
|
296
|
+
- book/text/introduction.glyph
|
297
|
+
- book/text/snippets.glyph
|
298
|
+
- book/resources/document_generation.txt
|
294
299
|
- layouts/web5/index.glyph
|
295
300
|
- layouts/web5/topic.glyph
|
296
|
-
-
|
297
|
-
-
|
298
|
-
-
|
299
|
-
- lib/glyph/commands.rb
|
300
|
-
- lib/glyph/commands/add.rb
|
301
|
-
- lib/glyph/commands/compile.rb
|
302
|
-
- lib/glyph/commands/config.rb
|
303
|
-
- lib/glyph/commands/init.rb
|
304
|
-
- lib/glyph/commands/outline.rb
|
305
|
-
- lib/glyph/commands/stats.rb
|
306
|
-
- lib/glyph/commands/todo.rb
|
307
|
-
- lib/glyph/config.rb
|
308
|
-
- lib/glyph/document.rb
|
309
|
-
- lib/glyph/interpreter.rb
|
310
|
-
- lib/glyph/macro.rb
|
311
|
-
- lib/glyph/macro_helpers.rb
|
312
|
-
- lib/glyph/macro_validators.rb
|
313
|
-
- lib/glyph/node.rb
|
314
|
-
- lib/glyph/parser.rb
|
315
|
-
- lib/glyph/reporter.rb
|
316
|
-
- lib/glyph/syntax_node.rb
|
317
|
-
- lib/glyph/system_extensions.rb
|
318
|
-
- lib/glyph/utils.rb
|
319
|
-
- macros/core.rb
|
301
|
+
- layouts/web/index.glyph
|
302
|
+
- layouts/web/topic.glyph
|
303
|
+
- macros/block.rb
|
320
304
|
- macros/filters.rb
|
321
|
-
- macros/
|
322
|
-
- macros/
|
323
|
-
- macros/
|
324
|
-
- macros/
|
325
|
-
- macros/
|
326
|
-
- macros/
|
305
|
+
- macros/inline.rb
|
306
|
+
- macros/core.rb
|
307
|
+
- macros/reps/html5.rb
|
308
|
+
- macros/reps/html.rb
|
309
|
+
- macros/reps/web.rb
|
310
|
+
- macros/reps/web5.rb
|
327
311
|
- macros/xml.rb
|
328
|
-
-
|
329
|
-
- spec/
|
330
|
-
- spec/
|
331
|
-
- spec/
|
332
|
-
- spec/
|
333
|
-
- spec/
|
334
|
-
- spec/
|
335
|
-
- spec/
|
336
|
-
- spec/
|
337
|
-
- spec/
|
338
|
-
- spec/files/references.glyph
|
339
|
-
- spec/files/test.sass
|
340
|
-
- spec/files/test.scss
|
341
|
-
- spec/files/web1.glyph
|
342
|
-
- spec/files/web2.glyph
|
343
|
-
- spec/files/web_doc.glyph
|
312
|
+
- macros/structure.rb
|
313
|
+
- spec/macros/core_spec.rb
|
314
|
+
- spec/macros/web_spec.rb
|
315
|
+
- spec/macros/html5_spec.rb
|
316
|
+
- spec/macros/filters_spec.rb
|
317
|
+
- spec/macros/web5_spec.rb
|
318
|
+
- spec/macros/textile_spec.rb
|
319
|
+
- spec/macros/xml_spec.rb
|
320
|
+
- spec/macros/macros_spec.rb
|
321
|
+
- spec/lib/interpreter_spec.rb
|
344
322
|
- spec/lib/analyzer_spec.rb
|
345
|
-
- spec/lib/bookmark_spec.rb
|
346
323
|
- spec/lib/commands_spec.rb
|
347
|
-
- spec/lib/
|
348
|
-
- spec/lib/
|
349
|
-
- spec/lib/glyph_spec.rb
|
350
|
-
- spec/lib/interpreter_spec.rb
|
324
|
+
- spec/lib/node_spec.rb
|
325
|
+
- spec/lib/bookmark_spec.rb
|
351
326
|
- spec/lib/macro_spec.rb
|
352
327
|
- spec/lib/macro_validators_spec.rb
|
353
|
-
- spec/lib/
|
328
|
+
- spec/lib/config_spec.rb
|
329
|
+
- spec/lib/glyph_spec.rb
|
354
330
|
- spec/lib/parser_spec.rb
|
355
|
-
- spec/lib/reporter_spec.rb
|
356
331
|
- spec/lib/syntax_node_spec.rb
|
357
|
-
- spec/
|
358
|
-
- spec/
|
359
|
-
- spec/macros/html5_spec.rb
|
360
|
-
- spec/macros/macros_spec.rb
|
361
|
-
- spec/macros/textile_spec.rb
|
362
|
-
- spec/macros/web5_spec.rb
|
363
|
-
- spec/macros/web_spec.rb
|
364
|
-
- spec/macros/xml_spec.rb
|
365
|
-
- spec/spec_helper.rb
|
366
|
-
- spec/tasks/generate_spec.rb
|
332
|
+
- spec/lib/document_spec.rb
|
333
|
+
- spec/lib/reporter_spec.rb
|
367
334
|
- spec/tasks/load_spec.rb
|
335
|
+
- spec/tasks/generate_spec.rb
|
368
336
|
- spec/tasks/project_spec.rb
|
337
|
+
- spec/files/custom_tasks.rake
|
338
|
+
- spec/files/container.textile
|
339
|
+
- spec/files/test.sass
|
340
|
+
- spec/files/custom_command.rb
|
341
|
+
- spec/files/markdown.markdown
|
342
|
+
- spec/files/references.glyph
|
343
|
+
- spec/files/document_for_stats.glyph
|
344
|
+
- spec/files/web1.glyph
|
345
|
+
- spec/files/document_with_toc.glyph
|
346
|
+
- spec/files/ligature.jpg
|
347
|
+
- spec/files/article.glyph
|
348
|
+
- spec/files/included.textile
|
349
|
+
- spec/files/web_doc.glyph
|
350
|
+
- spec/files/web2.glyph
|
351
|
+
- spec/files/document.glyph
|
352
|
+
- spec/files/test.scss
|
353
|
+
- spec/config.yml
|
354
|
+
- spec/spec_helper.rb
|
355
|
+
- styles/pagination.css
|
369
356
|
- styles/coderay.css
|
370
|
-
- styles/coderay.scss
|
371
357
|
- styles/default.css
|
358
|
+
- styles/generate
|
372
359
|
- styles/default.scss
|
373
360
|
- styles/definitions.scss
|
374
|
-
- styles/
|
375
|
-
- styles/
|
376
|
-
- styles/pagination.scss
|
377
|
-
- styles/ultraviolet/active4d.css
|
378
|
-
- styles/ultraviolet/all_hallows_eve.css
|
379
|
-
- styles/ultraviolet/amy.css
|
361
|
+
- styles/ultraviolet/slush_poppies.css
|
362
|
+
- styles/ultraviolet/mac_classic.css
|
380
363
|
- styles/ultraviolet/blackboard.css
|
381
|
-
- styles/ultraviolet/
|
364
|
+
- styles/ultraviolet/zenburnesque.css
|
382
365
|
- styles/ultraviolet/brilliance_dull.css
|
366
|
+
- styles/ultraviolet/magicwb_amiga.css
|
367
|
+
- styles/ultraviolet/sunburst.css
|
368
|
+
- styles/ultraviolet/pastels_on_dark.css
|
383
369
|
- styles/ultraviolet/cobalt.css
|
384
|
-
- styles/ultraviolet/
|
370
|
+
- styles/ultraviolet/brilliance_black.css
|
371
|
+
- styles/ultraviolet/lazy.css
|
372
|
+
- styles/ultraviolet/amy.css
|
373
|
+
- styles/ultraviolet/active4d.css
|
385
374
|
- styles/ultraviolet/eiffel.css
|
386
|
-
- styles/ultraviolet/
|
375
|
+
- styles/ultraviolet/twilight.css
|
387
376
|
- styles/ultraviolet/idle.css
|
388
|
-
- styles/ultraviolet/
|
389
|
-
- styles/ultraviolet/
|
390
|
-
- styles/ultraviolet/
|
391
|
-
- styles/ultraviolet/magicwb_amiga.css
|
392
|
-
- styles/ultraviolet/pastels_on_dark.css
|
393
|
-
- styles/ultraviolet/slush_poppies.css
|
377
|
+
- styles/ultraviolet/dawn.css
|
378
|
+
- styles/ultraviolet/all_hallows_eve.css
|
379
|
+
- styles/ultraviolet/espresso_libre.css
|
394
380
|
- styles/ultraviolet/spacecadet.css
|
395
|
-
- styles/ultraviolet/
|
396
|
-
- styles/
|
397
|
-
- styles/
|
381
|
+
- styles/ultraviolet/iplastic.css
|
382
|
+
- styles/coderay.scss
|
383
|
+
- styles/pagination.scss
|
398
384
|
- tasks/generate.rake
|
399
|
-
- tasks/load.rake
|
400
385
|
- tasks/project.rake
|
401
|
-
|
386
|
+
- tasks/load.rake
|
402
387
|
homepage: http://www.h3rald.com/glyph/
|
403
|
-
licenses:
|
404
|
-
|
388
|
+
licenses:
|
389
|
+
- MIT
|
405
390
|
post_install_message:
|
406
|
-
rdoc_options:
|
407
|
-
|
391
|
+
rdoc_options: []
|
392
|
+
|
408
393
|
require_paths:
|
409
394
|
- lib
|
410
395
|
required_ruby_version: !ruby/object:Gem::Requirement
|
@@ -428,7 +413,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
428
413
|
requirements: []
|
429
414
|
|
430
415
|
rubyforge_project:
|
431
|
-
rubygems_version: 1.
|
416
|
+
rubygems_version: 1.8.6
|
432
417
|
signing_key:
|
433
418
|
specification_version: 3
|
434
419
|
summary: Glyph -- A Ruby-powered Document Authoring Framework
|
@@ -457,5 +442,21 @@ test_files:
|
|
457
442
|
- spec/tasks/load_spec.rb
|
458
443
|
- spec/tasks/generate_spec.rb
|
459
444
|
- spec/tasks/project_spec.rb
|
445
|
+
- spec/files/custom_tasks.rake
|
446
|
+
- spec/files/container.textile
|
447
|
+
- spec/files/test.sass
|
460
448
|
- spec/files/custom_command.rb
|
449
|
+
- spec/files/markdown.markdown
|
450
|
+
- spec/files/references.glyph
|
451
|
+
- spec/files/document_for_stats.glyph
|
452
|
+
- spec/files/web1.glyph
|
453
|
+
- spec/files/document_with_toc.glyph
|
454
|
+
- spec/files/ligature.jpg
|
455
|
+
- spec/files/article.glyph
|
456
|
+
- spec/files/included.textile
|
457
|
+
- spec/files/web_doc.glyph
|
458
|
+
- spec/files/web2.glyph
|
459
|
+
- spec/files/document.glyph
|
460
|
+
- spec/files/test.scss
|
461
|
+
- spec/config.yml
|
461
462
|
- spec/spec_helper.rb
|