metanorma-mpfa 0.7.5 → 0.8.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7c09cb7532953cf42fbe4269d2445b66d07e8fcb526b7bc6823f55c2e89c6309
4
- data.tar.gz: 738bc439f45030ad22384275ded6236b11e34af84eceb929e2db46da19f79f27
3
+ metadata.gz: 74c12240f896cd17a24d51f79fe345f3a15321e5ac77bca73a8915028ad71d11
4
+ data.tar.gz: 9977fd7fa0ae0256db7903c69e08242aba0b8144af3169f97ee3849ab80633fd
5
5
  SHA512:
6
- metadata.gz: 3b817b4da954ecea69d29fafe4589c0921f575fe271165d95157ec1bc8d30017ae6ab1699920a07395f2139a72a4399eacc180e7c02f3efc78a019bdeb91a96d
7
- data.tar.gz: 569c0ecf30e868952d70d295c3cb1c571bf594881d9d6320bc5c5e84eb358e31d39da75b2840cf5478096bd9c53a309c4c0d6cb77bc7eed3bb48a38939b034db
6
+ metadata.gz: 3e25eb1ec4c89e3045d5966336d76ad8a4378bc847590f30bd000de45808dbc6d306957841973d6fa6faae516e03505455e72b89c56490d39551e66ebc25ab56
7
+ data.tar.gz: fe35889aee391f71dcfd7ff2edb9da91ad320777e1fc6fde900c4915f663ab3c207d893d001304b18f0da5bfa0297a0b6db19358d40ced24b18885f1f40d2c15
@@ -9,35 +9,7 @@ on:
9
9
  pull_request:
10
10
 
11
11
  jobs:
12
- rake:
13
- name: Test on Ruby ${{ matrix.ruby }} ${{ matrix.os }}
14
- runs-on: ${{ matrix.os }}
15
- continue-on-error: ${{ matrix.experimental }}
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
@@ -1,3 +1,8 @@
1
1
  .DS_Store
2
2
 
3
3
  .rubocop-https--*
4
+
5
+ /.rspec_status
6
+ /Gemfile.devel
7
+ /Gemfile.lock
8
+ /coverage/
data/bin/console CHANGED
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
3
  require "bundler/setup"
4
- require "asciidoctor/rsd"
4
+ require "metanorma-mpfa"
5
5
 
6
6
  # You can add fixtures and/or initialization code here to make experimenting
7
7
  # with your gem easier. You can also use a different console, if you like.
@@ -250,56 +250,62 @@ body {
250
250
  body main {
251
251
  margin: 0 0 0 6em; }
252
252
 
253
- #toc {
253
+ #toc, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) {
254
254
  font-family: {{bodyfont}};
255
255
  font-weight: 400; }
256
- #toc ul {
256
+ #toc ul, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) ul {
257
257
  margin: 0;
258
258
  padding: 0;
259
259
  list-style: none; }
260
- #toc ul li a {
260
+ #toc ul li a, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) ul li a {
261
261
  padding: 5px 10px; }
262
- #toc ul a {
262
+ #toc ul a, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) ul a {
263
263
  color: #301907;
264
264
  text-decoration: none;
265
265
  display: block; }
266
- #toc ul a:hover {
266
+ #toc ul a:hover, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) ul a:hover {
267
267
  box-shadow: none;
268
268
  color: #301907; }
269
- #toc .h2 {
269
+ #toc .h2, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) .h2 {
270
270
  padding-left: 30px; }
271
- #toc .h3 {
271
+ #toc .h3, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) .h3 {
272
272
  padding-left: 50px; }
273
- #toc .toc-active, #toc li:hover {
273
+ #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 {
274
274
  background: #301907;
275
275
  box-shadow: inset -5px 0px 10px -5px #301907 !important; }
276
- #toc .toc-active a, #toc li:hover a {
276
+ #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 {
277
277
  color: #301907; }
278
278
  @media print {
279
- #toc .toc-active, #toc li:hover {
279
+ #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 {
280
280
  background: white;
281
281
  box-shadow: none !important; }
282
- #toc .toc-active a {
282
+ #toc .toc-active a, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) .toc-active a {
283
283
  color: #301907; }
284
- #toc li:hover a {
284
+ #toc li:hover a, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) li:hover a {
285
285
  color: black; } }
286
286
  @media screen and (max-width: 768px) {
287
- #toc {
287
+ #toc, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) {
288
288
  padding: 0 1.5em;
289
289
  overflow: visible; } }
290
290
  #toc .toc-active,
291
- #toc li:hover {
291
+ #toc li:hover, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) .toc-active,
292
+ #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) li:hover {
292
293
  background: none;
293
294
  box-shadow: none !important;
294
295
  border-bottom: solid 1px #301907 !important; }
295
- #toc li:hover a {
296
+ #toc li:hover a, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) li:hover a {
296
297
  color: black; }
297
- #toc li a {
298
+ #toc li a, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) li a {
298
299
  text-transform: uppercase; }
299
- #toc ul a:hover {
300
+ #toc ul a:hover, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) ul a:hover {
300
301
  box-shadow: none;
301
302
  color: white; }
302
303
 
304
+ #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) {
305
+ margin-top: 0;
306
+ margin-bottom: 0;
307
+ font-size: 100%; }
308
+
303
309
  @media screen and (min-width: 768px) {
304
310
  nav {
305
311
  position: fixed;
@@ -387,7 +393,7 @@ strong {
387
393
  display: none; }
388
394
  h1.toc-contents {
389
395
  margin-top: 1em; }
390
- ul#toc-list {
396
+ ul#toc-list, ul#toc-list > :is(.h1, .h2, .h3, .h4, .h5, .h6) {
391
397
  padding: 0;
392
398
  margin: 0; }
393
399
  #toggle {
@@ -21,7 +21,7 @@ body {
21
21
  }
22
22
  }
23
23
 
24
- #toc {
24
+ #toc, #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) {
25
25
  @include toc(#301907, #301907, #301907);
26
26
  @include sidebarToc();
27
27
 
@@ -48,6 +48,13 @@ body {
48
48
  }
49
49
  }
50
50
 
51
+ #toc > ul :is(.h1, .h2, .h3, .h4, .h5, .h6) {
52
+ margin-top: 0;
53
+ margin-bottom: 0;
54
+ font-size: 100%;
55
+ }
56
+
57
+
51
58
  nav {
52
59
  @include sidebarNav(#f7f7f7, 328px, 15px);
53
60
  }
@@ -87,7 +94,7 @@ strong {
87
94
  margin-top: 1em;
88
95
  }
89
96
 
90
- ul#toc-list {
97
+ ul#toc-list, ul#toc-list > :is(.h1, .h2, .h3, .h4, .h5, .h6) {
91
98
  padding:0;
92
99
  margin:0;
93
100
  }
@@ -786,8 +786,7 @@ div.example p.MsoListParagraph {
786
786
  font-size: {{smallerfontsize}}; }
787
787
 
788
788
  div.Note p.MsoListParagraph {
789
- font-size: {{smallerfontsize}};
790
- margin-left: 1.0cm; }
789
+ font-size: {{smallerfontsize}}; }
791
790
 
792
791
  div.Note span.stem {
793
792
  font-size: {{smallerfontsize}}; }
@@ -745,7 +745,6 @@ div.example p.MsoListParagraph {
745
745
 
746
746
  div.Note p.MsoListParagraph {
747
747
  font-size: $smallerfontsize;
748
- margin-left: 1.0cm;
749
748
  }
750
749
 
751
750
  div.Note span.stem {