metanorma-m3aawg 1.8.5 → 2.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/rake.yml +4 -32
- data/.gitignore +11 -0
- data/bin/console +1 -1
- data/lib/isodoc/m3aawg/html/htmlstyle.css +21 -16
- data/lib/isodoc/m3aawg/html/htmlstyle.scss +8 -2
- data/lib/isodoc/m3aawg/html/m3d.css +1 -2
- data/lib/isodoc/m3aawg/html/m3d.scss +0 -1
- data/lib/isodoc/m3aawg/m3aawg.policy.xsl +2011 -1310
- data/lib/isodoc/m3aawg/m3aawg.report.xsl +2011 -1310
- data/lib/{asciidoctor → metanorma}/m3aawg/basicdoc.rng +5 -3
- data/lib/{asciidoctor → metanorma}/m3aawg/biblio.rng +7 -5
- data/lib/{asciidoctor → metanorma}/m3aawg/boilerplate.xml +0 -0
- data/lib/{asciidoctor → metanorma}/m3aawg/converter.rb +4 -4
- data/lib/{asciidoctor → metanorma}/m3aawg/isodoc.rng +98 -1
- data/lib/{asciidoctor → metanorma}/m3aawg/m3d.rng +0 -0
- data/lib/{asciidoctor → metanorma}/m3aawg/reqt.rng +0 -0
- data/lib/metanorma/m3aawg/version.rb +1 -1
- data/lib/metanorma-m3aawg.rb +1 -1
- data/metanorma-m3d.gemspec +1 -1
- data/metanorma.yml +1 -1
- metadata +11 -12
- data/lib/asciidoctor/m3aawg.rb +0 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4f127e98f685011f8b56d8d295e15a5e81d83ac697262558b1ab19eeda30685b
|
4
|
+
data.tar.gz: c92243391d79830284f0ad9597c3328afc9d4e43e6879f9a4be719b457017a6f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f9db2e8cebbb4d57f3047972cd0f5d1d26fdd4b44f838f8a21f3d8f3600c89acf61d3719bd5ca1a8b069caf5e6dda888b6629bd47c7e56882fef10f90ef016e5
|
7
|
+
data.tar.gz: 00d2ef74110ec8dcef97e96a6a7340e0e556ef3dbf81bb5c1b3d88b8c5dd22ee8d77e86dbe57243c8ef8a451a0aa9aa8d56ebcf0863bc2bb3b963caad7bc6086
|
data/.github/workflows/rake.yml
CHANGED
@@ -9,35 +9,7 @@ on:
|
|
9
9
|
pull_request:
|
10
10
|
|
11
11
|
jobs:
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
strategy:
|
17
|
-
fail-fast: false
|
18
|
-
matrix:
|
19
|
-
ruby: [ '3.0', '2.7', '2.6', '2.5' ]
|
20
|
-
os: [ ubuntu-latest, windows-latest, macos-latest ]
|
21
|
-
experimental: [ false ]
|
22
|
-
steps:
|
23
|
-
- uses: actions/checkout@v2
|
24
|
-
with:
|
25
|
-
submodules: true
|
26
|
-
|
27
|
-
- uses: ruby/setup-ruby@v1
|
28
|
-
with:
|
29
|
-
ruby-version: ${{ matrix.ruby }}
|
30
|
-
bundler-cache: true
|
31
|
-
|
32
|
-
- run: bundle exec rake
|
33
|
-
|
34
|
-
tests-passed:
|
35
|
-
needs: rake
|
36
|
-
runs-on: ubuntu-latest
|
37
|
-
steps:
|
38
|
-
- uses: peter-evans/repository-dispatch@v1
|
39
|
-
with:
|
40
|
-
token: ${{ secrets.METANORMA_CI_PAT_TOKEN || secrets.GITHUB_TOKEN }}
|
41
|
-
repository: ${{ github.repository }}
|
42
|
-
event-type: tests-passed
|
43
|
-
client-payload: '{"ref": "${{ github.ref }}", "sha": "${{ github.sha }}"}'
|
12
|
+
notify:
|
13
|
+
uses: metanorma/metanorma-build-scripts/.github/workflows/mn-processor-rake.yml@main
|
14
|
+
secrets:
|
15
|
+
pat_token: ${{ secrets.METANORMA_CI_PAT_TOKEN }}
|
data/.gitignore
CHANGED
data/bin/console
CHANGED
@@ -261,48 +261,53 @@ main {
|
|
261
261
|
div.colophon {
|
262
262
|
margin: 0 3em 0 6em; }
|
263
263
|
|
264
|
-
#toc {
|
264
|
+
#toc, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) {
|
265
265
|
font-family: {{bodyfont}};
|
266
266
|
font-weight: 400; }
|
267
|
-
#toc ul {
|
267
|
+
#toc ul, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) ul {
|
268
268
|
margin: 0;
|
269
269
|
padding: 0;
|
270
270
|
list-style: none; }
|
271
|
-
#toc ul li a {
|
271
|
+
#toc ul li a, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) ul li a {
|
272
272
|
padding: 5px 10px; }
|
273
|
-
#toc ul a {
|
273
|
+
#toc ul a, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) ul a {
|
274
274
|
color: #69C5DC;
|
275
275
|
text-decoration: none;
|
276
276
|
display: block; }
|
277
|
-
#toc ul a:hover {
|
277
|
+
#toc ul a:hover, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) ul a:hover {
|
278
278
|
box-shadow: none;
|
279
279
|
color: #69C5DC; }
|
280
|
-
#toc .h2 {
|
280
|
+
#toc .h2, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) .h2 {
|
281
281
|
padding-left: 30px; }
|
282
|
-
#toc .h3 {
|
282
|
+
#toc .h3, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) .h3 {
|
283
283
|
padding-left: 50px; }
|
284
|
-
#toc .toc-active, #toc li:hover {
|
284
|
+
#toc .toc-active, #toc li:hover, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) .toc-active, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) li:hover {
|
285
285
|
background: #69C5DC;
|
286
286
|
box-shadow: inset -5px 0px 10px -5px #69C5DC !important; }
|
287
|
-
#toc .toc-active a, #toc li:hover a {
|
287
|
+
#toc .toc-active a, #toc li:hover a, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) .toc-active a, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) li:hover a {
|
288
288
|
color: #69C5DC; }
|
289
289
|
@media print {
|
290
|
-
#toc .toc-active, #toc li:hover {
|
290
|
+
#toc .toc-active, #toc li:hover, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) .toc-active, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) li:hover {
|
291
291
|
background: white;
|
292
292
|
box-shadow: none !important; }
|
293
|
-
#toc .toc-active a {
|
293
|
+
#toc .toc-active a, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) .toc-active a {
|
294
294
|
color: #69C5DC; }
|
295
|
-
#toc li:hover a {
|
295
|
+
#toc li:hover a, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) li:hover a {
|
296
296
|
color: black; } }
|
297
297
|
@media screen and (max-width: 768px) {
|
298
|
-
#toc {
|
298
|
+
#toc, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) {
|
299
299
|
padding: 0 1.5em;
|
300
300
|
overflow: visible; } }
|
301
|
-
#toc .toc-active a {
|
301
|
+
#toc .toc-active a, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) .toc-active a {
|
302
302
|
color: white; }
|
303
|
-
#toc ul a:hover {
|
303
|
+
#toc ul a:hover, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) ul a:hover {
|
304
304
|
color: white; }
|
305
305
|
|
306
|
+
#toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) {
|
307
|
+
margin-top: 0;
|
308
|
+
margin-bottom: 0;
|
309
|
+
font-size: 100%; }
|
310
|
+
|
306
311
|
@media screen and (min-width: 768px) {
|
307
312
|
nav {
|
308
313
|
position: fixed;
|
@@ -386,7 +391,7 @@ div.colophon {
|
|
386
391
|
display: none; }
|
387
392
|
h1.toc-contents {
|
388
393
|
margin-top: 1em; }
|
389
|
-
ul#toc-list {
|
394
|
+
ul#toc-list, ul#toc-list > :is(.h1, .h2, .h3, .h4, .h5, .h6) {
|
390
395
|
padding: 0;
|
391
396
|
margin: 0; }
|
392
397
|
nav {
|
@@ -32,7 +32,7 @@ div.colophon {
|
|
32
32
|
margin: 0 3em 0 6em;
|
33
33
|
}
|
34
34
|
|
35
|
-
#toc {
|
35
|
+
#toc, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) {
|
36
36
|
@include toc(#69C5DC, #69C5DC, #69C5DC);
|
37
37
|
@include sidebarToc();
|
38
38
|
|
@@ -47,6 +47,12 @@ div.colophon {
|
|
47
47
|
}
|
48
48
|
}
|
49
49
|
|
50
|
+
#toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) {
|
51
|
+
margin-top: 0;
|
52
|
+
margin-bottom: 0;
|
53
|
+
font-size: 100%;
|
54
|
+
}
|
55
|
+
|
50
56
|
nav {
|
51
57
|
@include sidebarNav(#f7f7f7, 323px, 45px);
|
52
58
|
}
|
@@ -80,7 +86,7 @@ nav {
|
|
80
86
|
margin-top: 1em;
|
81
87
|
}
|
82
88
|
|
83
|
-
ul#toc-list {
|
89
|
+
ul#toc-list, ul#toc-list > :is(.h1, .h2, .h3, .h4, .h5, .h6) {
|
84
90
|
padding: 0;
|
85
91
|
margin: 0;
|
86
92
|
}
|
@@ -750,8 +750,7 @@ div.example p.MsoListParagraph {
|
|
750
750
|
font-size: {{smallerfontsize}}; }
|
751
751
|
|
752
752
|
div.Note p.MsoListParagraph {
|
753
|
-
font-size: {{smallerfontsize}};
|
754
|
-
margin-left: 1.0cm; }
|
753
|
+
font-size: {{smallerfontsize}}; }
|
755
754
|
|
756
755
|
div.Note span.stem {
|
757
756
|
font-size: {{smallerfontsize}}; }
|