metanorma-ribose 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 +3 -31
- data/.gitignore +5 -0
- data/bin/console +1 -1
- data/lib/isodoc/ribose/html/htmlstyle.css +22 -17
- data/lib/isodoc/ribose/html/htmlstyle.scss +8 -2
- data/lib/isodoc/ribose/html/rsd.css +1 -2
- data/lib/isodoc/ribose/html/rsd.scss +0 -1
- data/lib/isodoc/ribose/ribose.standard.xsl +2224 -1541
- data/lib/{asciidoctor → metanorma}/ribose/basicdoc.rng +5 -3
- data/lib/{asciidoctor → metanorma}/ribose/biblio.rng +7 -5
- data/lib/{asciidoctor → metanorma}/ribose/boilerplate.xml +0 -0
- data/lib/{asciidoctor → metanorma}/ribose/converter.rb +4 -4
- data/lib/{asciidoctor → metanorma}/ribose/isodoc.rng +98 -1
- data/lib/{asciidoctor → metanorma}/ribose/reqt.rng +0 -0
- data/lib/{asciidoctor → metanorma}/ribose/rsd.rng +0 -0
- data/lib/metanorma/ribose/version.rb +1 -1
- data/lib/metanorma-ribose.rb +1 -1
- data/metanorma-ribose.gemspec +1 -1
- data/metanorma.yml +1 -1
- metadata +11 -12
- data/lib/asciidoctor/ribose.rb +0 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: afce4df8078e939307df9a38c0cb603dcf2a74a9cfadb767d0aa9384eb563456
|
4
|
+
data.tar.gz: 32135eb6eb812c9cea21c521aa1905c388ee07a179253db796c21b2de4acd9c5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a2671c7646f5be2bab152569e1d2309e66c98ca46b5e1e4a345c1c13be7babc79aebfa9b02b12ebd561c517b9bdb3f5afd8dce91bfd7f4cfb93e1f171c45807c
|
7
|
+
data.tar.gz: dea9e8f36d6fbf625921edb5535c06111995f8dcd7271fb2c077346b7b26f4b5e4319e7d8e185b8c98c2f16f4f5526ec94ee8fff1959a319a16ed7d6cd7a5503
|
data/.github/workflows/rake.yml
CHANGED
@@ -10,34 +10,6 @@ on:
|
|
10
10
|
|
11
11
|
jobs:
|
12
12
|
rake:
|
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@master
|
24
|
-
|
25
|
-
- uses: ruby/setup-ruby@v1
|
26
|
-
with:
|
27
|
-
ruby-version: ${{ matrix.ruby }}
|
28
|
-
bundler-cache: true
|
29
|
-
|
30
|
-
- uses: metanorma/metanorma-build-scripts/plantuml-setup-action@master
|
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 }}"}'
|
13
|
+
uses: metanorma/metanorma-build-scripts/.github/workflows/plantuml-rake.yml@main
|
14
|
+
secrets:
|
15
|
+
pat_token: ${{ secrets.METANORMA_CI_PAT_TOKEN }}
|
data/.gitignore
CHANGED
data/bin/console
CHANGED
@@ -248,51 +248,56 @@ body {
|
|
248
248
|
main {
|
249
249
|
margin: 0 3em 0 6em; }
|
250
250
|
|
251
|
-
#toc {
|
251
|
+
#toc, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) {
|
252
252
|
font-family: {{bodyfont}};
|
253
253
|
font-weight: 400; }
|
254
|
-
#toc ul {
|
254
|
+
#toc ul, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) ul {
|
255
255
|
margin: 0;
|
256
256
|
padding: 0;
|
257
257
|
list-style: none; }
|
258
|
-
#toc ul li a {
|
258
|
+
#toc ul li a, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) ul li a {
|
259
259
|
padding: 5px 10px; }
|
260
|
-
#toc ul a {
|
260
|
+
#toc ul a, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) ul a {
|
261
261
|
color: #485094;
|
262
262
|
text-decoration: none;
|
263
263
|
display: block; }
|
264
|
-
#toc ul a:hover {
|
264
|
+
#toc ul a:hover, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) ul a:hover {
|
265
265
|
box-shadow: none;
|
266
266
|
color: #485094; }
|
267
|
-
#toc .h2 {
|
267
|
+
#toc .h2, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) .h2 {
|
268
268
|
padding-left: 30px; }
|
269
|
-
#toc .h3 {
|
269
|
+
#toc .h3, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) .h3 {
|
270
270
|
padding-left: 50px; }
|
271
|
-
#toc .toc-active, #toc li:hover {
|
271
|
+
#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 {
|
272
272
|
background: #1661AD;
|
273
273
|
box-shadow: inset -5px 0px 10px -5px #1661AD !important; }
|
274
|
-
#toc .toc-active a, #toc li:hover a {
|
274
|
+
#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 {
|
275
275
|
color: #485094; }
|
276
276
|
@media print {
|
277
|
-
#toc .toc-active, #toc li:hover {
|
277
|
+
#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 {
|
278
278
|
background: white;
|
279
279
|
box-shadow: none !important; }
|
280
|
-
#toc .toc-active a {
|
280
|
+
#toc .toc-active a, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) .toc-active a {
|
281
281
|
color: #485094; }
|
282
|
-
#toc li:hover a {
|
282
|
+
#toc li:hover a, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) li:hover a {
|
283
283
|
color: black; } }
|
284
284
|
@media screen and (max-width: 768px) {
|
285
|
-
#toc {
|
285
|
+
#toc, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) {
|
286
286
|
padding: 0 1.5em;
|
287
287
|
overflow: visible; } }
|
288
|
-
#toc .toc-active a {
|
288
|
+
#toc .toc-active a, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) .toc-active a {
|
289
289
|
color: white; }
|
290
|
-
#toc li a {
|
290
|
+
#toc li a, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) li a {
|
291
291
|
text-transform: uppercase; }
|
292
|
-
#toc ul a:hover {
|
292
|
+
#toc ul a:hover, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) ul a:hover {
|
293
293
|
box-shadow: none;
|
294
294
|
color: white; }
|
295
295
|
|
296
|
+
#toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) {
|
297
|
+
margin-top: 0;
|
298
|
+
margin-bottom: 0;
|
299
|
+
font-size: 100%; }
|
300
|
+
|
296
301
|
@media screen and (min-width: 768px) {
|
297
302
|
nav {
|
298
303
|
position: fixed;
|
@@ -377,7 +382,7 @@ main {
|
|
377
382
|
display: none; }
|
378
383
|
h1.toc-contents {
|
379
384
|
margin-top: 1em; }
|
380
|
-
ul#toc-list {
|
385
|
+
ul#toc-list, ul#toc-list > :is(.h1, .h2, .h3, .h4, .h5, .h6) {
|
381
386
|
padding: 0;
|
382
387
|
margin: 0; } }
|
383
388
|
|
@@ -18,7 +18,7 @@ main {
|
|
18
18
|
margin: 0 3em 0 6em;
|
19
19
|
}
|
20
20
|
|
21
|
-
#toc {
|
21
|
+
#toc, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) {
|
22
22
|
@include toc(#485094, #1661AD, #485094);
|
23
23
|
@include sidebarToc();
|
24
24
|
|
@@ -38,6 +38,12 @@ main {
|
|
38
38
|
}
|
39
39
|
}
|
40
40
|
|
41
|
+
#toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) {
|
42
|
+
margin-top: 0;
|
43
|
+
margin-bottom: 0;
|
44
|
+
font-size: 100%;
|
45
|
+
}
|
46
|
+
|
41
47
|
nav {
|
42
48
|
@include sidebarNav(#f7f7f7, 323px, 45px);
|
43
49
|
}
|
@@ -72,7 +78,7 @@ nav {
|
|
72
78
|
margin-top: 1em;
|
73
79
|
}
|
74
80
|
|
75
|
-
ul#toc-list {
|
81
|
+
ul#toc-list, ul#toc-list > :is(.h1, .h2, .h3, .h4, .h5, .h6) {
|
76
82
|
padding: 0;
|
77
83
|
margin: 0;
|
78
84
|
}
|
@@ -785,8 +785,7 @@ div.example p.MsoListParagraph {
|
|
785
785
|
font-size: {{smallerfontsize}}; }
|
786
786
|
|
787
787
|
div.Note p.MsoListParagraph {
|
788
|
-
font-size: {{smallerfontsize}};
|
789
|
-
margin-left: 1.0cm; }
|
788
|
+
font-size: {{smallerfontsize}}; }
|
790
789
|
|
791
790
|
div.Note span.stem {
|
792
791
|
font-size: {{smallerfontsize}}; }
|