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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ff2906959fee00ea8375d7f8ba6b777a5f524466753beab968387fae811f2673
4
- data.tar.gz: d85a73b2d50ce110117e4b10872cceb89db5eb08b5113526ff84a71114fa363a
3
+ metadata.gz: 3ee0ad6d2b5cbc89ea9e41995baec95a117779116ee23199e6e84185c265e19a
4
+ data.tar.gz: 5fadea490ed8b054c1d65aec234c9168ce224d717afa187768b62677432777a1
5
5
  SHA512:
6
- metadata.gz: 83a18e1ea2cf1256fbdd41e79229ada3b3cc7bd5e51e08a5872f9542a25872a059d24b5e10f545eea3fbaddbdf2982ea41b517a2ea733e3e9dae6ea6266ac0ef
7
- data.tar.gz: 282d1fd97e08e9dfcaba3b9f0b061fdedeac8e5eebdf0c3780330a129440c367b9c90941f664a40418f6535c0b78dca1b9e1a8f90c334ced7795c35c058e256e
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
@@ -1,5 +1,5 @@
1
1
  module Asciidoctor
2
2
  module Autoterm
3
- VERSION = '1.0.3'
3
+ VERSION = '1.0.4'
4
4
  end
5
5
  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.3
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