metanorma-document 0.2.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.adoc +59 -18
- data/data/stylesheets/components/bibliography.css +2 -2
- data/data/stylesheets/components/inline.css +11 -12
- data/docs/html-renderer.adoc +261 -0
- data/lib/metanorma/document/version.rb +1 -1
- data/lib/metanorma/html/base_renderer.rb +180 -219
- data/lib/metanorma/html/drops/admonition_drop.rb +26 -0
- data/lib/metanorma/html/drops/block_element_drop.rb +20 -0
- data/lib/metanorma/html/drops/example_drop.rb +35 -0
- data/lib/metanorma/html/drops/figure_drop.rb +53 -0
- data/lib/metanorma/html/drops/formula_drop.rb +44 -0
- data/lib/metanorma/html/drops/note_drop.rb +32 -0
- data/lib/metanorma/html/drops/sourcecode_drop.rb +37 -0
- data/lib/metanorma/html/drops.rb +7 -0
- data/lib/metanorma/html/iso_renderer.rb +96 -79
- data/lib/metanorma/html/ogc_renderer.rb +5 -5
- data/lib/metanorma/html/standard_renderer.rb +34 -28
- data/lib/metanorma/html/templates/_admonition.html.liquid +4 -0
- data/lib/metanorma/html/templates/_doc_title.html.liquid +1 -1
- data/lib/metanorma/html/templates/_example.html.liquid +3 -0
- data/lib/metanorma/html/templates/_figure.html.liquid +6 -0
- data/lib/metanorma/html/templates/_formula.html.liquid +6 -0
- data/lib/metanorma/html/templates/_iso_doc_title.html.liquid +2 -2
- data/lib/metanorma/html/templates/_note.html.liquid +3 -0
- data/lib/metanorma/html/templates/_sourcecode.html.liquid +4 -0
- metadata +16 -2
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: metanorma-document
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ribose Inc.
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-05-
|
|
11
|
+
date: 2026-05-05 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: lutaml-model
|
|
@@ -96,6 +96,7 @@ files:
|
|
|
96
96
|
- data/stylesheets/components/table.css
|
|
97
97
|
- data/stylesheets/components/term.css
|
|
98
98
|
- data/stylesheets/components/toc.css
|
|
99
|
+
- docs/html-renderer.adoc
|
|
99
100
|
- lib/data/dist/iso_document/frontend/assets/index-mwzbzmnK.js
|
|
100
101
|
- lib/data/dist/iso_document/frontend/assets/index-pGvKTNid.css
|
|
101
102
|
- lib/data/dist/iso_document/frontend/assets/iso-red.svg
|
|
@@ -482,7 +483,14 @@ files:
|
|
|
482
483
|
- lib/metanorma/html/component/index_term_collector.rb
|
|
483
484
|
- lib/metanorma/html/component_registry.rb
|
|
484
485
|
- lib/metanorma/html/drops.rb
|
|
486
|
+
- lib/metanorma/html/drops/admonition_drop.rb
|
|
487
|
+
- lib/metanorma/html/drops/block_element_drop.rb
|
|
488
|
+
- lib/metanorma/html/drops/example_drop.rb
|
|
489
|
+
- lib/metanorma/html/drops/figure_drop.rb
|
|
485
490
|
- lib/metanorma/html/drops/footnote_drop.rb
|
|
491
|
+
- lib/metanorma/html/drops/formula_drop.rb
|
|
492
|
+
- lib/metanorma/html/drops/note_drop.rb
|
|
493
|
+
- lib/metanorma/html/drops/sourcecode_drop.rb
|
|
486
494
|
- lib/metanorma/html/generator.rb
|
|
487
495
|
- lib/metanorma/html/icc_renderer.rb
|
|
488
496
|
- lib/metanorma/html/iec_renderer.rb
|
|
@@ -496,13 +504,19 @@ files:
|
|
|
496
504
|
- lib/metanorma/html/pdfa_renderer.rb
|
|
497
505
|
- lib/metanorma/html/ribose_renderer.rb
|
|
498
506
|
- lib/metanorma/html/standard_renderer.rb
|
|
507
|
+
- lib/metanorma/html/templates/_admonition.html.liquid
|
|
499
508
|
- lib/metanorma/html/templates/_cover.html.liquid
|
|
500
509
|
- lib/metanorma/html/templates/_doc_title.html.liquid
|
|
510
|
+
- lib/metanorma/html/templates/_example.html.liquid
|
|
511
|
+
- lib/metanorma/html/templates/_figure.html.liquid
|
|
501
512
|
- lib/metanorma/html/templates/_footer.html.liquid
|
|
502
513
|
- lib/metanorma/html/templates/_footnotes.html.liquid
|
|
514
|
+
- lib/metanorma/html/templates/_formula.html.liquid
|
|
503
515
|
- lib/metanorma/html/templates/_header.html.liquid
|
|
504
516
|
- lib/metanorma/html/templates/_iso_cover.html.liquid
|
|
505
517
|
- lib/metanorma/html/templates/_iso_doc_title.html.liquid
|
|
518
|
+
- lib/metanorma/html/templates/_note.html.liquid
|
|
519
|
+
- lib/metanorma/html/templates/_sourcecode.html.liquid
|
|
506
520
|
- lib/metanorma/html/templates/document.html.liquid
|
|
507
521
|
- lib/metanorma/html/theme.rb
|
|
508
522
|
- lib/metanorma/html/whitespace_patch.rb
|