asciidoctor-autoterm 1.0.3 → 1.0.4
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/CHANGELOG.adoc +5 -1
- data/lib/asciidoctor/autoterm/antora_processor.rb +2 -2
- data/lib/asciidoctor/autoterm/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3ee0ad6d2b5cbc89ea9e41995baec95a117779116ee23199e6e84185c265e19a
|
|
4
|
+
data.tar.gz: 5fadea490ed8b054c1d65aec234c9168ce224d717afa187768b62677432777a1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: be89f1ed4c39aff39ca5babb04a030376b2a0bf163592929bc15027d19795bda5db23b8aa59d3b6ae4e4069851a5f0396327f72995e4350f8f2a0ec9f0d88c65
|
|
7
|
+
data.tar.gz: 56ed75abd9fc72e77430a4ac31303eb11329edcc0c2066cf5df9196e717412c55f9f1ccbc03c808c313bfda63e20bb0eaed71ceaebac5a62c0e0fa82083007e0
|
data/CHANGELOG.adoc
CHANGED
|
@@ -1,8 +1,12 @@
|
|
|
1
|
-
// REMINDER: After changing this file, copy it to doc/modules/ROOT/pages/changelog.adoc so the published documentation stays in sync. Antora cannot include files that live outside the doc/ component.
|
|
2
1
|
= Changelog
|
|
3
2
|
|
|
4
3
|
All notable changes to `asciidoctor-autoterm` are documented here.
|
|
5
4
|
|
|
5
|
+
== 1.0.4 (2026-07-16)
|
|
6
|
+
|
|
7
|
+
* Fix the generated Terminology and Index sections rendering with chapter numbers (Chapter 1./Chapter 2.) when the fused document enables `sectnums`; the sections are now created unnumbered
|
|
8
|
+
* Set gemspec authors to 白一百 baiyibai, matching the sibling gems
|
|
9
|
+
|
|
6
10
|
== 1.0.3 (2026-07-15)
|
|
7
11
|
|
|
8
12
|
* Ship LICENSE, README.adoc, and CHANGELOG.adoc in the gem; earlier gems contained only the `lib/` sources despite the gemspec declaring the MIT license
|
|
@@ -3,13 +3,13 @@ Asciidoctor::Extensions.register do
|
|
|
3
3
|
process do |doc|
|
|
4
4
|
if doc.attributes['include-terminology'] == 'true'
|
|
5
5
|
if (last_section = doc.sections.last)
|
|
6
|
-
terminology_section = create_section last_section.parent, 'Terminology', { 'style' => 'index', 'type' => 'terminology' }
|
|
6
|
+
terminology_section = create_section last_section.parent, 'Terminology', { 'style' => 'index', 'type' => 'terminology' }, numbered: false
|
|
7
7
|
terminology_section.parent << terminology_section
|
|
8
8
|
end
|
|
9
9
|
end
|
|
10
10
|
if doc.attributes['include-index'] == 'true'
|
|
11
11
|
if (last_section = doc.sections.last)
|
|
12
|
-
index_section = create_section last_section.parent, 'Index', { 'style' => 'index' }
|
|
12
|
+
index_section = create_section last_section.parent, 'Index', { 'style' => 'index' }, numbered: false
|
|
13
13
|
index_section.parent << index_section
|
|
14
14
|
end
|
|
15
15
|
end
|
metadata
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: asciidoctor-autoterm
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
|
-
- baiyibai
|
|
7
|
+
- 白一百 baiyibai
|
|
8
8
|
bindir: bin
|
|
9
9
|
cert_chain: []
|
|
10
10
|
date: 1980-01-02 00:00:00.000000000 Z
|