llm-docs-builder 0.8.0 → 0.8.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 85874aed492c7a756acd3fec52228dedc3e3961b2e413a482aafd155e9c01d5e
4
- data.tar.gz: de9d71e8bf15aace848995366cf1f6e46f758cbc86f9fa9b5bdd40be9e4695ce
3
+ metadata.gz: 8104ee730f22ce1c3ff1f13dea2e784e82b617ea5c20332185351922c1d75710
4
+ data.tar.gz: 4cc077637f04d658a35b97aee35aed031f27c44a59f87d961e64af4aed268f77
5
5
  SHA512:
6
- metadata.gz: ee2f1c859b24726a812a3d162f6ea59b79e5a19c86d0df4202b4c4b3ad9fcfbe11ef28ea61784ce3594260952fec937b47858f01a2f0e37929173e367aab4547
7
- data.tar.gz: 4d40ca6817d4b7b5d1ce9d9e6290e76a7cd145159b0ea8ac984e0e12d127cdc861e5a9e351e1cfbf10f93243c1e63956c552b5e3db4edbfdf9cd76c97859efea
6
+ metadata.gz: 22c9b908b4473c8207027107f68c85fc7a8751d459a781ba67bcebc4034da5dcd8b0d748c1931b78b9e7d3ee891ac9f814350fb052930d1715fc38fb0e870eae
7
+ data.tar.gz: 6dea4a2987218ca92c9eb0162460870a15cdf24a0feaca559e31d734075d40be1da46186d437ccde47bf5cc0c9b2d2784180625fb0754926d0e1c7baf6708e86
@@ -4,30 +4,25 @@ concurrency:
4
4
  group: ${{ github.workflow }}-${{ github.ref }}
5
5
  cancel-in-progress: true
6
6
 
7
- # Temporarily disabled - only runs on manual trigger
8
7
  on:
8
+ push:
9
+ tags:
10
+ - 'v*'
9
11
  workflow_dispatch:
10
12
 
11
- # Automatic triggers disabled for now:
12
- # push:
13
- # branches:
14
- # - master
15
- # tags:
16
- # - 'v*'
17
- # pull_request:
18
- # branches:
19
- # - master
20
- # schedule:
21
- # # Rebuild weekly to get latest base image security updates
22
- # - cron: '0 2 * * 0'
23
-
24
13
  permissions:
25
14
  contents: read
26
- packages: write
27
15
 
28
16
  jobs:
29
17
  docker:
18
+ if: github.repository_owner == 'mensfeld'
30
19
  runs-on: ubuntu-latest
20
+ environment: deployment
21
+
22
+ permissions:
23
+ contents: read
24
+ packages: write
25
+ id-token: write
31
26
  steps:
32
27
  - name: Checkout
33
28
  uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
@@ -24,7 +24,7 @@ jobs:
24
24
  fetch-depth: 0
25
25
 
26
26
  - name: Set up Ruby
27
- uses: ruby/setup-ruby@6797dcbb9a1889fd411d07e8aba7eded53fb8b48 # v1.264.0
27
+ uses: ruby/setup-ruby@ab177d40ee5483edb974554986f56b33477e21d0 # v1.265.0
28
28
  with:
29
29
  bundler-cache: false
30
30
 
data/CHANGELOG.md CHANGED
@@ -1,5 +1,8 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.8.1 (2025-10-17)
4
+ - [Enhancement] Ship the docker container.
5
+
3
6
  ## 0.8.0 (2025-10-14)
4
7
  - [Feature] **RAG Enhancement: Heading Normalization** - Transform headings to include hierarchical context for better RAG retrieval.
5
8
  - Adds parent context to H2-H6 headings (e.g., "Configuration / Consumer Settings / auto_offset_reset")
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- llm-docs-builder (0.8.0)
4
+ llm-docs-builder (0.8.1)
5
5
  zeitwerk (~> 2.6)
6
6
 
7
7
  GEM
data/README.md CHANGED
@@ -29,6 +29,25 @@ docker run mensfeld/llm-docs-builder compare \
29
29
  --url https://yoursite.com/docs/getting-started.html
30
30
  ```
31
31
 
32
+ **Example output:**
33
+ ```
34
+ ============================================================
35
+ Context Window Comparison
36
+ ============================================================
37
+
38
+ Human version: 127.4 KB (~32,620 tokens)
39
+ Source: https://karafka.io/docs/Pro-Virtual-Partitions/ (User-Agent: human)
40
+
41
+ AI version: 46.3 KB (~11,854 tokens)
42
+ Source: https://karafka.io/docs/Pro-Virtual-Partitions/ (User-Agent: AI)
43
+
44
+ ------------------------------------------------------------
45
+ Reduction: 81.1 KB (64%)
46
+ Token savings: 20,766 tokens (64%)
47
+ Factor: 2.8x smaller
48
+ ============================================================
49
+ ```
50
+
32
51
  ### Transform Your Documentation
33
52
 
34
53
  ```bash
@@ -2,5 +2,5 @@
2
2
 
3
3
  module LlmDocsBuilder
4
4
  # Current version of the LlmDocsBuilder gem
5
- VERSION = '0.8.0'
5
+ VERSION = '0.8.1'
6
6
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: llm-docs-builder
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 0.8.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Maciej Mensfeld