isodoc 1.1.2 → 1.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/isodoc.gemspec +1 -1
- data/lib/isodoc/base_style/all.css +207 -0
- data/lib/isodoc/base_style/blocks.css +0 -0
- data/lib/isodoc/base_style/coverpage.css +0 -0
- data/lib/isodoc/base_style/defaults.css +0 -0
- data/lib/isodoc/base_style/metanorma_word.css +34 -0
- data/lib/isodoc/base_style/nav.css +0 -0
- data/lib/isodoc/base_style/reset.css +105 -0
- data/lib/isodoc/base_style/typography.css +0 -0
- data/lib/isodoc/convert.rb +16 -17
- data/lib/isodoc/gem_tasks.rb +33 -4
- data/lib/isodoc/version.rb +1 -1
- metadata +13 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8c7c8cd474b9df23e50d6f4f606bfccf2ed246dae1f020b5df2c6dfc3d06ebaa
|
4
|
+
data.tar.gz: 3a4e90f29696b21966b76422d757360f949d2d57b9435caa43a318515d353430
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '090f97f36021765785b5b6600b6086b00654276b151485f3052484af051fd244ad8bc229a641d8dda61d8da2d347f2c94129362cc4274be4101f8815aa5546f3'
|
7
|
+
data.tar.gz: ec0e7c2dca7e3313c5931454e787c8bbdebb68eb4a5f682ade46e667f45fe413481df2b850bb74fd6bc8f11496ed128c9131396fcaac265dc2dcb76047aed66b
|
data/isodoc.gemspec
CHANGED
@@ -37,8 +37,8 @@ Gem::Specification.new do |spec|
|
|
37
37
|
spec.add_dependency "liquid"
|
38
38
|
spec.add_dependency "roman-numerals"
|
39
39
|
spec.add_dependency "metanorma", "~> 1.1.0"
|
40
|
-
spec.add_dependency "rake", "~> 12.0"
|
41
40
|
|
41
|
+
spec.add_development_dependency "rake", "~> 13.0"
|
42
42
|
spec.add_development_dependency "byebug", "~> 9.1"
|
43
43
|
spec.add_development_dependency "sassc", "~> 2.4.0"
|
44
44
|
spec.add_development_dependency "equivalent-xml", "~> 0.6"
|
@@ -0,0 +1,207 @@
|
|
1
|
+
html, body, div, span, applet, object, iframe,
|
2
|
+
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
|
3
|
+
a, abbr, acronym, address, big, cite, code,
|
4
|
+
del, dfn, em, img, ins, kbd, q, s, samp,
|
5
|
+
small, strike, strong, sub, sup, tt, var,
|
6
|
+
b, u, i, center,
|
7
|
+
ol, ul, li,
|
8
|
+
fieldset, form, label, legend,
|
9
|
+
table, caption, tbody, tfoot, thead, tr, th, td,
|
10
|
+
article, aside, canvas, details, embed,
|
11
|
+
figure, figcaption, footer, header, hgroup,
|
12
|
+
menu, nav, output, ruby, section, summary,
|
13
|
+
time, mark, audio, video {
|
14
|
+
margin: 0;
|
15
|
+
padding: 0; }
|
16
|
+
|
17
|
+
html, body, div, span, applet, object, iframe,
|
18
|
+
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
|
19
|
+
a, abbr, acronym, address, big, cite, code,
|
20
|
+
del, dfn, em, img, ins, kbd, q, s, samp,
|
21
|
+
small, strike, strong, sub, sup, tt, var,
|
22
|
+
b, u, i, center,
|
23
|
+
dl, dt, dd, ol, ul, li,
|
24
|
+
fieldset, form, label, legend,
|
25
|
+
table, caption, tbody, tfoot, thead, tr, th, td,
|
26
|
+
article, aside, canvas, details, embed,
|
27
|
+
figure, figcaption, footer, header, hgroup,
|
28
|
+
menu, nav, output, ruby, section, summary,
|
29
|
+
time, mark, audio, video {
|
30
|
+
border: 0;
|
31
|
+
font-size: 100%; }
|
32
|
+
|
33
|
+
html, body, div, span, applet, object, iframe,
|
34
|
+
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
|
35
|
+
a, abbr, acronym, address, big, cite, code,
|
36
|
+
del, dfn, em, img, ins, kbd, q, s, samp,
|
37
|
+
small, strike, strong, tt, var,
|
38
|
+
b, u, i, center,
|
39
|
+
dl, dd, ol, ul, li,
|
40
|
+
fieldset, form, label, legend,
|
41
|
+
table, caption, tbody, tfoot, thead, tr, th, td,
|
42
|
+
article, aside, canvas, details, embed,
|
43
|
+
figure, figcaption, footer, header, hgroup,
|
44
|
+
menu, nav, output, ruby, section, summary,
|
45
|
+
time, mark, audio, video {
|
46
|
+
vertical-align: baseline; }
|
47
|
+
|
48
|
+
html, body, div, span, applet, object, iframe,
|
49
|
+
p, blockquote,
|
50
|
+
a, abbr, acronym, address, big, cite,
|
51
|
+
del, dfn, em, img, ins, q, s,
|
52
|
+
small, strike, strong, sub, sup, var,
|
53
|
+
b, u, i, center,
|
54
|
+
dl, dt, dd, ol, ul, li,
|
55
|
+
fieldset, form, label, legend,
|
56
|
+
table, caption, tbody, tfoot, thead, tr, th, td,
|
57
|
+
article, aside, canvas, details, embed,
|
58
|
+
figure, figcaption, footer, header, hgroup,
|
59
|
+
menu, nav, output, ruby, section, summary,
|
60
|
+
time, mark, audio, video {
|
61
|
+
font-family: {{bodyfont}}; }
|
62
|
+
|
63
|
+
code, pre, tt, kbd, samp {
|
64
|
+
font-family: {{monospacefont}};
|
65
|
+
font-variant-ligatures: none; }
|
66
|
+
|
67
|
+
code *, pre *, tt *, kbd *, samp * {
|
68
|
+
font-family: {{monospacefont}} !important;
|
69
|
+
font-variant-ligatures: none; }
|
70
|
+
|
71
|
+
article, aside, details, figcaption, figure,
|
72
|
+
footer, header, hgroup, menu, nav, section {
|
73
|
+
display: block; }
|
74
|
+
|
75
|
+
table {
|
76
|
+
border-collapse: collapse;
|
77
|
+
border-spacing: 0; }
|
78
|
+
|
79
|
+
h1, h2, h3, h4, h5, h6 {
|
80
|
+
font-family: {{headerfont}}; }
|
81
|
+
|
82
|
+
blockquote, q {
|
83
|
+
quotes: none; }
|
84
|
+
blockquote:before, blockquote:after, q:before, q:after {
|
85
|
+
content: '';
|
86
|
+
content: none; }
|
87
|
+
|
88
|
+
.h2Annex {
|
89
|
+
font-family: {{headerfont}}; }
|
90
|
+
|
91
|
+
dl {
|
92
|
+
display: grid;
|
93
|
+
grid-template-columns: max-content auto; }
|
94
|
+
dl dt p, dl dd p {
|
95
|
+
margin-top: 0; }
|
96
|
+
dl dt {
|
97
|
+
grid-column-start: 1; }
|
98
|
+
dl dd {
|
99
|
+
grid-column-start: 2; }
|
100
|
+
|
101
|
+
b, strong {
|
102
|
+
font-weight: bold; }
|
103
|
+
|
104
|
+
div.document-stage-band, div.document-type-band {
|
105
|
+
background-color: #333333; }
|
106
|
+
|
107
|
+
#standard-band {
|
108
|
+
background-color: #0AC442; }
|
109
|
+
|
110
|
+
#standard {
|
111
|
+
border-bottom: solid 3px #0AC442; }
|
112
|
+
|
113
|
+
#directive-band {
|
114
|
+
background-color: #540D6E; }
|
115
|
+
|
116
|
+
#directive {
|
117
|
+
border-bottom: solid 3px #540D6E; }
|
118
|
+
|
119
|
+
#guide-band {
|
120
|
+
background-color: #D183C9; }
|
121
|
+
|
122
|
+
#guide {
|
123
|
+
border-bottom: solid 3px #D183C9; }
|
124
|
+
|
125
|
+
#specification-band {
|
126
|
+
background-color: #65AFFF; }
|
127
|
+
|
128
|
+
#specification {
|
129
|
+
border-bottom: solid 3px #65AFFF; }
|
130
|
+
|
131
|
+
#report-band {
|
132
|
+
background-color: #3A405A; }
|
133
|
+
|
134
|
+
#report {
|
135
|
+
border-bottom: solid 3px #3A405A; }
|
136
|
+
|
137
|
+
#amendment-band {
|
138
|
+
background-color: #F26430; }
|
139
|
+
|
140
|
+
#amendment {
|
141
|
+
border-bottom: solid 3px #F26430; }
|
142
|
+
|
143
|
+
#corrigendum-band {
|
144
|
+
background-color: #C84630; }
|
145
|
+
|
146
|
+
#corrigendum {
|
147
|
+
border-bottom: solid 3px #C84630; }
|
148
|
+
|
149
|
+
#administrative-band {
|
150
|
+
background-color: #BFAE48; }
|
151
|
+
|
152
|
+
#administrative {
|
153
|
+
border-bottom: solid 3px #BFAE48; }
|
154
|
+
|
155
|
+
#advisory-band {
|
156
|
+
background-color: #BD9391; }
|
157
|
+
|
158
|
+
#advisory {
|
159
|
+
border-bottom: solid 3px #BD9391; }
|
160
|
+
|
161
|
+
#proposal-band {
|
162
|
+
background-color: #39A0ED; }
|
163
|
+
|
164
|
+
#proposal {
|
165
|
+
border-bottom: solid 3px #39A0ED; }
|
166
|
+
|
167
|
+
#working-draft-band {
|
168
|
+
background-color: #2D7393; }
|
169
|
+
|
170
|
+
#working-draft {
|
171
|
+
border-bottom: solid 3px #2D7393; }
|
172
|
+
|
173
|
+
#committee-draft-band {
|
174
|
+
background-color: #2A6B7C; }
|
175
|
+
|
176
|
+
#committee-draft {
|
177
|
+
border-bottom: solid 3px #2A6B7C; }
|
178
|
+
|
179
|
+
#draft-standard-band {
|
180
|
+
background-color: #1C7F7A; }
|
181
|
+
|
182
|
+
#draft-standard {
|
183
|
+
border-bottom: solid 3px #1C7F7A; }
|
184
|
+
|
185
|
+
#final-draft-band {
|
186
|
+
background-color: #53C170; }
|
187
|
+
|
188
|
+
#final-draft {
|
189
|
+
border-bottom: solid 3px #53C170; }
|
190
|
+
|
191
|
+
#published-band {
|
192
|
+
background-color: #069E2D; }
|
193
|
+
|
194
|
+
#published {
|
195
|
+
border-bottom: solid 3px #069E2D; }
|
196
|
+
|
197
|
+
#withdrawn-band {
|
198
|
+
background-color: #004E64; }
|
199
|
+
|
200
|
+
#withdrawn {
|
201
|
+
border-bottom: solid 3px #004E64; }
|
202
|
+
|
203
|
+
#cancelled-band {
|
204
|
+
background-color: #2E382E; }
|
205
|
+
|
206
|
+
#cancelled {
|
207
|
+
border-bottom: solid 3px #2E382E; }
|
File without changes
|
File without changes
|
File without changes
|
@@ -0,0 +1,34 @@
|
|
1
|
+
div.table_container {
|
2
|
+
margin-bottom: 14pt; }
|
3
|
+
|
4
|
+
ol {
|
5
|
+
margin-bottom: 0cm; }
|
6
|
+
|
7
|
+
ul {
|
8
|
+
margin-bottom: 0cm; }
|
9
|
+
|
10
|
+
table.MsoISOTable tr {
|
11
|
+
page-break-inside: avoid; }
|
12
|
+
|
13
|
+
td {
|
14
|
+
page-break-inside: avoid; }
|
15
|
+
|
16
|
+
tr {
|
17
|
+
page-break-after: avoid; }
|
18
|
+
|
19
|
+
span.stem {
|
20
|
+
font-family: "Cambria Math",serif;
|
21
|
+
mso-ascii-font-family: "Cambria Math";
|
22
|
+
font-style: italic; }
|
23
|
+
|
24
|
+
dt {
|
25
|
+
page-break-inside: avoid;
|
26
|
+
page-break-after: avoid; }
|
27
|
+
|
28
|
+
br.section {
|
29
|
+
page-break-before: always;
|
30
|
+
mso-break-type: section-break; }
|
31
|
+
|
32
|
+
br.pagebreak {
|
33
|
+
page-break-before: always;
|
34
|
+
mso-special-character: line-break; }
|
File without changes
|
@@ -0,0 +1,105 @@
|
|
1
|
+
html, body, div, span, applet, object, iframe,
|
2
|
+
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
|
3
|
+
a, abbr, acronym, address, big, cite, code,
|
4
|
+
del, dfn, em, img, ins, kbd, q, s, samp,
|
5
|
+
small, strike, strong, sub, sup, tt, var,
|
6
|
+
b, u, i, center,
|
7
|
+
ol, ul, li,
|
8
|
+
fieldset, form, label, legend,
|
9
|
+
table, caption, tbody, tfoot, thead, tr, th, td,
|
10
|
+
article, aside, canvas, details, embed,
|
11
|
+
figure, figcaption, footer, header, hgroup,
|
12
|
+
menu, nav, output, ruby, section, summary,
|
13
|
+
time, mark, audio, video {
|
14
|
+
margin: 0;
|
15
|
+
padding: 0; }
|
16
|
+
|
17
|
+
html, body, div, span, applet, object, iframe,
|
18
|
+
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
|
19
|
+
a, abbr, acronym, address, big, cite, code,
|
20
|
+
del, dfn, em, img, ins, kbd, q, s, samp,
|
21
|
+
small, strike, strong, sub, sup, tt, var,
|
22
|
+
b, u, i, center,
|
23
|
+
dl, dt, dd, ol, ul, li,
|
24
|
+
fieldset, form, label, legend,
|
25
|
+
table, caption, tbody, tfoot, thead, tr, th, td,
|
26
|
+
article, aside, canvas, details, embed,
|
27
|
+
figure, figcaption, footer, header, hgroup,
|
28
|
+
menu, nav, output, ruby, section, summary,
|
29
|
+
time, mark, audio, video {
|
30
|
+
border: 0;
|
31
|
+
font-size: 100%; }
|
32
|
+
|
33
|
+
html, body, div, span, applet, object, iframe,
|
34
|
+
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
|
35
|
+
a, abbr, acronym, address, big, cite, code,
|
36
|
+
del, dfn, em, img, ins, kbd, q, s, samp,
|
37
|
+
small, strike, strong, tt, var,
|
38
|
+
b, u, i, center,
|
39
|
+
dl, dd, ol, ul, li,
|
40
|
+
fieldset, form, label, legend,
|
41
|
+
table, caption, tbody, tfoot, thead, tr, th, td,
|
42
|
+
article, aside, canvas, details, embed,
|
43
|
+
figure, figcaption, footer, header, hgroup,
|
44
|
+
menu, nav, output, ruby, section, summary,
|
45
|
+
time, mark, audio, video {
|
46
|
+
vertical-align: baseline; }
|
47
|
+
|
48
|
+
html, body, div, span, applet, object, iframe,
|
49
|
+
p, blockquote,
|
50
|
+
a, abbr, acronym, address, big, cite,
|
51
|
+
del, dfn, em, img, ins, q, s,
|
52
|
+
small, strike, strong, sub, sup, var,
|
53
|
+
b, u, i, center,
|
54
|
+
dl, dt, dd, ol, ul, li,
|
55
|
+
fieldset, form, label, legend,
|
56
|
+
table, caption, tbody, tfoot, thead, tr, th, td,
|
57
|
+
article, aside, canvas, details, embed,
|
58
|
+
figure, figcaption, footer, header, hgroup,
|
59
|
+
menu, nav, output, ruby, section, summary,
|
60
|
+
time, mark, audio, video {
|
61
|
+
font-family: {{bodyfont}}; }
|
62
|
+
|
63
|
+
code, pre, tt, kbd, samp {
|
64
|
+
font-family: {{monospacefont}};
|
65
|
+
font-variant-ligatures: none; }
|
66
|
+
|
67
|
+
code *, pre *, tt *, kbd *, samp * {
|
68
|
+
font-family: {{monospacefont}} !important;
|
69
|
+
font-variant-ligatures: none; }
|
70
|
+
|
71
|
+
article, aside, details, figcaption, figure,
|
72
|
+
footer, header, hgroup, menu, nav, section {
|
73
|
+
display: block; }
|
74
|
+
|
75
|
+
table {
|
76
|
+
border-collapse: collapse;
|
77
|
+
border-spacing: 0; }
|
78
|
+
|
79
|
+
h1, h2, h3, h4, h5, h6 {
|
80
|
+
font-family: {{headerfont}}; }
|
81
|
+
|
82
|
+
blockquote, q {
|
83
|
+
quotes: none; }
|
84
|
+
blockquote:before, blockquote:after, q:before, q:after {
|
85
|
+
content: '';
|
86
|
+
content: none; }
|
87
|
+
|
88
|
+
.h2Annex {
|
89
|
+
font-family: {{headerfont}}; }
|
90
|
+
|
91
|
+
dl {
|
92
|
+
display: grid;
|
93
|
+
grid-template-columns: max-content auto; }
|
94
|
+
dl dt p, dl dd p {
|
95
|
+
margin-top: 0; }
|
96
|
+
dl dt {
|
97
|
+
grid-column-start: 1; }
|
98
|
+
dl dd {
|
99
|
+
grid-column-start: 2; }
|
100
|
+
|
101
|
+
b, strong {
|
102
|
+
font-weight: bold; }
|
103
|
+
|
104
|
+
div.document-stage-band, div.document-type-band {
|
105
|
+
background-color: #333333; }
|
File without changes
|
data/lib/isodoc/convert.rb
CHANGED
@@ -38,15 +38,9 @@ module IsoDoc
|
|
38
38
|
@options = options
|
39
39
|
@files_to_delete = []
|
40
40
|
@tempfile_cache = []
|
41
|
-
@htmlstylesheet_name =
|
42
|
-
|
43
|
-
|
44
|
-
@wordstylesheet_name = precompiled_style_or_original(
|
45
|
-
options[:wordstylesheet]
|
46
|
-
)
|
47
|
-
@standardstylesheet_name = precompiled_style_or_original(
|
48
|
-
options[:standardstylesheet]
|
49
|
-
)
|
41
|
+
@htmlstylesheet_name = options[:htmlstylesheet]
|
42
|
+
@wordstylesheet_name = options[:wordstylesheet]
|
43
|
+
@standardstylesheet_name = options[:standardstylesheet]
|
50
44
|
@header = options[:header]
|
51
45
|
@htmlcoverpage = options[:htmlcoverpage]
|
52
46
|
@wordcoverpage = options[:wordcoverpage]
|
@@ -155,8 +149,12 @@ module IsoDoc
|
|
155
149
|
"$bodyfont: #{b};\n$headerfont: #{h};\n$monospacefont: #{m};\n"
|
156
150
|
end
|
157
151
|
|
158
|
-
def html_doc_path(file)
|
159
|
-
|
152
|
+
def html_doc_path(*file)
|
153
|
+
file.each do |f|
|
154
|
+
ret = File.join(@libdir, File.join('html', f))
|
155
|
+
File.exist?(ret) and return ret
|
156
|
+
end
|
157
|
+
nil
|
160
158
|
end
|
161
159
|
|
162
160
|
def convert_scss(filename, stylesheet)
|
@@ -165,17 +163,18 @@ module IsoDoc
|
|
165
163
|
|
166
164
|
[File.join(Gem.loaded_specs['isodoc'].full_gem_path,
|
167
165
|
'lib', 'isodoc'),
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
166
|
+
File.dirname(filename)].each do |name|
|
167
|
+
SassC.load_paths << name
|
168
|
+
end
|
169
|
+
SassC::Engine.new(scss_fontheader + stylesheet, syntax: :scss,
|
170
|
+
importer: SasscImporter)
|
173
171
|
.render
|
174
172
|
end
|
175
173
|
|
176
174
|
def generate_css(filename, stripwordcss)
|
177
175
|
return nil if filename.nil?
|
178
176
|
|
177
|
+
filename = precompiled_style_or_original(filename)
|
179
178
|
stylesheet = File.read(filename, encoding: 'UTF-8')
|
180
179
|
stylesheet = populate_template(stylesheet, :word)
|
181
180
|
stylesheet.gsub!(/(\s|\{)mso-[^:]+:[^;]+;/m, '\\1') if stripwordcss
|
@@ -239,7 +238,7 @@ module IsoDoc
|
|
239
238
|
|
240
239
|
def middle_clause
|
241
240
|
"//clause[parent::sections][not(xmlns:title = 'Scope')]"\
|
242
|
-
|
241
|
+
'[not(descendant::terms)]'
|
243
242
|
end
|
244
243
|
end
|
245
244
|
end
|
data/lib/isodoc/gem_tasks.rb
CHANGED
@@ -16,8 +16,7 @@ module IsoDoc
|
|
16
16
|
puts(current_task)
|
17
17
|
compile_scss_task(current_task)
|
18
18
|
rescue StandardError => e
|
19
|
-
|
20
|
-
puts("skiping #{current_task}")
|
19
|
+
notify_borken_compilation(e, current_task)
|
21
20
|
end
|
22
21
|
end
|
23
22
|
|
@@ -34,14 +33,38 @@ module IsoDoc
|
|
34
33
|
process_css_files(scss_files) do |file_name|
|
35
34
|
uncomment_out_liquid(File.read(file_name, encoding: 'UTF-8'))
|
36
35
|
end
|
37
|
-
puts('Built scss!')
|
36
|
+
git_cache_compiled_files && puts('Built scss!')
|
38
37
|
end
|
39
38
|
|
40
39
|
Rake::Task['build'].enhance [:build_scss] do
|
40
|
+
git_rm_compiled_files
|
41
41
|
Rake::Task[:clean].invoke
|
42
42
|
end
|
43
43
|
end
|
44
44
|
|
45
|
+
def notify_borken_compilation(error, current_task)
|
46
|
+
puts("Cannot compile #{current_task} because of #{error.message}")
|
47
|
+
puts('continue anyway[y|n]?')
|
48
|
+
answer = STDIN.gets.strip
|
49
|
+
if %w[y yes].include?(answer.strip.downcase)
|
50
|
+
puts("Cannot compile #{current_task} because of #{error.message}")
|
51
|
+
else
|
52
|
+
exit(0)
|
53
|
+
end
|
54
|
+
end
|
55
|
+
|
56
|
+
def git_cache_compiled_files
|
57
|
+
CLEAN.each do |css_file|
|
58
|
+
sh "git add #{css_file}"
|
59
|
+
end
|
60
|
+
end
|
61
|
+
|
62
|
+
def git_rm_compiled_files
|
63
|
+
CLEAN.each do |css_file|
|
64
|
+
sh "git rm --cached #{css_file}"
|
65
|
+
end
|
66
|
+
end
|
67
|
+
|
45
68
|
def process_css_files(scss_files)
|
46
69
|
scss_files.each do |file_name|
|
47
70
|
result = yield(file_name)
|
@@ -79,7 +102,13 @@ module IsoDoc
|
|
79
102
|
|
80
103
|
def compile_scss(filename)
|
81
104
|
require 'sassc'
|
82
|
-
|
105
|
+
|
106
|
+
isodoc_path = if Gem.loaded_specs['isodoc']
|
107
|
+
File.join(Gem.loaded_specs['isodoc'].full_gem_path, 'lib', 'isodoc')
|
108
|
+
else
|
109
|
+
File.join('lib', 'isodoc')
|
110
|
+
end
|
111
|
+
[isodoc_path,
|
83
112
|
File.dirname(filename)].each do |name|
|
84
113
|
SassC.load_paths << name
|
85
114
|
end
|
data/lib/isodoc/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: isodoc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ribose Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-07-
|
11
|
+
date: 2020-07-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: asciimath
|
@@ -142,14 +142,14 @@ dependencies:
|
|
142
142
|
requirements:
|
143
143
|
- - "~>"
|
144
144
|
- !ruby/object:Gem::Version
|
145
|
-
version: '
|
146
|
-
type: :
|
145
|
+
version: '13.0'
|
146
|
+
type: :development
|
147
147
|
prerelease: false
|
148
148
|
version_requirements: !ruby/object:Gem::Requirement
|
149
149
|
requirements:
|
150
150
|
- - "~>"
|
151
151
|
- !ruby/object:Gem::Version
|
152
|
-
version: '
|
152
|
+
version: '13.0'
|
153
153
|
- !ruby/object:Gem::Dependency
|
154
154
|
name: byebug
|
155
155
|
requirement: !ruby/object:Gem::Requirement
|
@@ -306,14 +306,22 @@ files:
|
|
306
306
|
- lib/isodoc-yaml/i18n-fr.yaml
|
307
307
|
- lib/isodoc-yaml/i18n-zh-Hans.yaml
|
308
308
|
- lib/isodoc.rb
|
309
|
+
- lib/isodoc/base_style/all.css
|
309
310
|
- lib/isodoc/base_style/all.scss
|
310
311
|
- lib/isodoc/base_style/bands.scss
|
312
|
+
- lib/isodoc/base_style/blocks.css
|
311
313
|
- lib/isodoc/base_style/blocks.scss
|
314
|
+
- lib/isodoc/base_style/coverpage.css
|
312
315
|
- lib/isodoc/base_style/coverpage.scss
|
316
|
+
- lib/isodoc/base_style/defaults.css
|
313
317
|
- lib/isodoc/base_style/defaults.scss
|
318
|
+
- lib/isodoc/base_style/metanorma_word.css
|
314
319
|
- lib/isodoc/base_style/metanorma_word.scss
|
320
|
+
- lib/isodoc/base_style/nav.css
|
315
321
|
- lib/isodoc/base_style/nav.scss
|
322
|
+
- lib/isodoc/base_style/reset.css
|
316
323
|
- lib/isodoc/base_style/reset.scss
|
324
|
+
- lib/isodoc/base_style/typography.css
|
317
325
|
- lib/isodoc/base_style/typography.scss
|
318
326
|
- lib/isodoc/class_utils.rb
|
319
327
|
- lib/isodoc/common.rb
|