llm-docs-builder 0.11.0 → 0.13.0

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.
Files changed (36) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/ci.yml +35 -4
  3. data/.github/workflows/docker.yml +7 -7
  4. data/.github/workflows/push.yml +3 -3
  5. data/.gitignore +8 -0
  6. data/.rubocop.yml +1 -14
  7. data/.ruby-version +1 -1
  8. data/.yard-lint.yml +275 -0
  9. data/CHANGELOG.md +16 -0
  10. data/Dockerfile +14 -7
  11. data/Gemfile +1 -1
  12. data/Gemfile.lock +33 -25
  13. data/README.md +16 -0
  14. data/lib/llm_docs_builder/cli.rb +0 -1
  15. data/lib/llm_docs_builder/config.rb +33 -0
  16. data/lib/llm_docs_builder/helpers/prune_trailing_unsafe_link_separator.rb +31 -0
  17. data/lib/llm_docs_builder/helpers/squeeze_blank_lines_outside_fences.rb +71 -0
  18. data/lib/llm_docs_builder/helpers.rb +9 -0
  19. data/lib/llm_docs_builder/html_detector.rb +159 -0
  20. data/lib/llm_docs_builder/html_to_markdown/figure_code_block_renderer.rb +181 -0
  21. data/lib/llm_docs_builder/html_to_markdown/table_markup_renderer.rb +597 -0
  22. data/lib/llm_docs_builder/html_to_markdown_converter.rb +826 -0
  23. data/lib/llm_docs_builder/markdown_transformer.rb +23 -9
  24. data/lib/llm_docs_builder/output_formatter.rb +1 -1
  25. data/lib/llm_docs_builder/text_compressor.rb +2 -2
  26. data/lib/llm_docs_builder/transformers/base_transformer.rb +13 -1
  27. data/lib/llm_docs_builder/transformers/heading_transformer.rb +19 -7
  28. data/lib/llm_docs_builder/url_fetcher.rb +18 -0
  29. data/lib/llm_docs_builder/version.rb +1 -1
  30. data/lib/llm_docs_builder.rb +10 -0
  31. data/llm-docs-builder.gemspec +3 -2
  32. data/package-lock.json +331 -0
  33. data/package.json +9 -0
  34. data/renovate.json +22 -9
  35. metadata +31 -8
  36. data/AGENTS.md +0 -20
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: deeae74a329018b4a43d7845a3be8b7c31347699c3ff7abd93d7b697a48982a3
4
- data.tar.gz: f9c842caa93a45b4d75c45a15e116e6f98d8463e5268e2de32e498c725877e4f
3
+ metadata.gz: 2a55f2ba08f239388d3f4834df0c1caeef9c138278726b442f6533e000a3554c
4
+ data.tar.gz: 173e4950404e3a4b83bd5213520a29b5b6f70b374dd18c58a8374c9b5bf55b21
5
5
  SHA512:
6
- metadata.gz: 94575eced147bd6740b5395acd41d3f46ffcadf40908831df081d5e03f56b35a2e1e9acfdfc7642af775b2aa86fe48ea322dd11baf48512d2f2ef43a1a491079
7
- data.tar.gz: 52b7d40d4a95acd20a408f4d453f32c7154637ce42ec210cf67010ce10dbe14ad711c4cbfd4060d8ce5018b91668315d552732ea7118374e69228a869792ff0f
6
+ metadata.gz: d8769c0a92e29025165900ff3a1c65b1acbd42b51b8f6402353c157dfd4755ddd84dce8fdb26c334d4cba456c04f83af322ceb9fb554aea4ff4ac3a5330f81c5
7
+ data.tar.gz: 305ea0aa8cc44144079988e4faf80125fbf765331d3801ec8273f183c9b77cbc1430bf5b10eba5b09f0068ca526c4bc2b5d8a90a48179583270de1f62df12f77
@@ -23,19 +23,19 @@ jobs:
23
23
  fail-fast: false
24
24
  matrix:
25
25
  ruby:
26
+ - '4.0'
26
27
  - '3.4'
27
28
  - '3.3'
28
- - '3.2'
29
29
  include:
30
- - ruby: '3.4'
30
+ - ruby: '4.0'
31
31
  coverage: 'true'
32
32
  steps:
33
- - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
33
+ - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
34
34
  with:
35
35
  fetch-depth: 0
36
36
 
37
37
  - name: Set up Ruby
38
- uses: ruby/setup-ruby@v1
38
+ uses: ruby/setup-ruby@c4e5b1316158f92e3d49443a9d58b31d25ac0f8f # v1.306.0
39
39
  with:
40
40
  ruby-version: ${{ matrix.ruby }}
41
41
  bundler-cache: true
@@ -54,6 +54,35 @@ jobs:
54
54
  GITHUB_COVERAGE: ${{ matrix.coverage }}
55
55
  run: bin/rspecs
56
56
 
57
+ yard-lint:
58
+ timeout-minutes: 5
59
+ runs-on: ubuntu-latest
60
+ steps:
61
+ - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
62
+ - name: Set up Ruby
63
+ uses: ruby/setup-ruby@c4e5b1316158f92e3d49443a9d58b31d25ac0f8f # v1.306.0
64
+ with:
65
+ ruby-version: '4.0.3'
66
+ bundler-cache: true
67
+ - name: Run yard-lint
68
+ run: bundle exec yard-lint lib/
69
+
70
+ lostconf:
71
+ timeout-minutes: 5
72
+ runs-on: ubuntu-latest
73
+ steps:
74
+ - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
75
+ with:
76
+ fetch-depth: 0
77
+ - name: Set up Node.js
78
+ uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
79
+ with:
80
+ node-version: '20'
81
+ cache: 'npm'
82
+ - name: Install dependencies
83
+ run: npm ci
84
+ - name: Run lostconf
85
+ run: npx lostconf --fail-on-stale
57
86
 
58
87
  ci-success:
59
88
  name: CI Success
@@ -61,6 +90,8 @@ jobs:
61
90
  if: always()
62
91
  needs:
63
92
  - specs
93
+ - yard-lint
94
+ - lostconf
64
95
  steps:
65
96
  - name: Check all jobs passed
66
97
  if: |
@@ -25,13 +25,13 @@ jobs:
25
25
  id-token: write
26
26
  steps:
27
27
  - name: Checkout
28
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
28
+ uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
29
29
  with:
30
30
  fetch-depth: 0
31
31
 
32
32
  - name: Docker meta
33
33
  id: meta
34
- uses: docker/metadata-action@c1e51972afc2121e065aed6d45c65596fe445f3f # v5
34
+ uses: docker/metadata-action@030e881283bb7a6894de51c315a6bfe6a94e05cf # v6
35
35
  with:
36
36
  images: |
37
37
  mensfeld/llm-docs-builder
@@ -45,28 +45,28 @@ jobs:
45
45
  type=raw,value=latest,enable={{is_default_branch}}
46
46
 
47
47
  - name: Set up QEMU
48
- uses: docker/setup-qemu-action@29109295f81e9208d7d86ff1c6c12d2833863392 # v3
48
+ uses: docker/setup-qemu-action@ce360397dd3f832beb865e1373c09c0e9f86d70a # v4
49
49
 
50
50
  - name: Set up Docker Buildx
51
- uses: docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # v3
51
+ uses: docker/setup-buildx-action@4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd # v4
52
52
 
53
53
  - name: Login to Docker Hub
54
54
  if: github.event_name != 'pull_request'
55
- uses: docker/login-action@5e57cd118135c172c3672efd75eb46360885c0ef # v3
55
+ uses: docker/login-action@4907a6ddec9925e35a0a9e82d7399ccc52663121 # v4
56
56
  with:
57
57
  username: ${{ secrets.DOCKERHUB_USERNAME }}
58
58
  password: ${{ secrets.DOCKERHUB_TOKEN }}
59
59
 
60
60
  - name: Login to GitHub Container Registry
61
61
  if: github.event_name != 'pull_request'
62
- uses: docker/login-action@5e57cd118135c172c3672efd75eb46360885c0ef # v3
62
+ uses: docker/login-action@4907a6ddec9925e35a0a9e82d7399ccc52663121 # v4
63
63
  with:
64
64
  registry: ghcr.io
65
65
  username: ${{ github.actor }}
66
66
  password: ${{ secrets.GITHUB_TOKEN }}
67
67
 
68
68
  - name: Build and push
69
- uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6
69
+ uses: docker/build-push-action@bcafcacb16a39f128d818304e6c9c0c18556b85f # v7
70
70
  with:
71
71
  context: .
72
72
  platforms: linux/amd64,linux/arm64
@@ -19,12 +19,12 @@ jobs:
19
19
  id-token: write
20
20
 
21
21
  steps:
22
- - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
22
+ - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
23
23
  with:
24
24
  fetch-depth: 0
25
25
 
26
26
  - name: Set up Ruby
27
- uses: ruby/setup-ruby@4ff6f3611a42bc75eee1e5138240eb1613f48c8f # v1.266.0
27
+ uses: ruby/setup-ruby@c4e5b1316158f92e3d49443a9d58b31d25ac0f8f # v1.306.0
28
28
  with:
29
29
  bundler-cache: false
30
30
 
@@ -32,4 +32,4 @@ jobs:
32
32
  run: |
33
33
  bundle install --jobs 4 --retry 3
34
34
 
35
- - uses: rubygems/release-gem@a25424ba2ba8b387abc8ef40807c2c85b96cbe32 # v1.1.1
35
+ - uses: rubygems/release-gem@6317d8d1f7e28c24d28f6eff169ea854948bd9f7 # v1.2.0
data/.gitignore CHANGED
@@ -10,6 +10,8 @@
10
10
  /test/version_tmp/
11
11
  /tmp/
12
12
  mise.toml
13
+ .DS_Store
14
+ .vscode/launch.json
13
15
 
14
16
  # Used by dotenv library to load environment variables.
15
17
  .env
@@ -64,3 +66,9 @@ llms.txt
64
66
  # Config files that might contain sensitive data
65
67
  llms-txt.yml
66
68
  .llms-txt.yml
69
+
70
+ # AI coding agent
71
+ AGENTS.md
72
+ CLAUDE.md
73
+ GEMINI.md
74
+
data/.rubocop.yml CHANGED
@@ -1,5 +1,5 @@
1
1
  AllCops:
2
- TargetRubyVersion: 3.2
2
+ TargetRubyVersion: 3.3
3
3
  NewCops: enable
4
4
  SuggestExtensions: false
5
5
 
@@ -11,38 +11,25 @@ Style/StringLiterals:
11
11
 
12
12
  Layout/LineLength:
13
13
  Max: 120
14
- Exclude:
15
- - 'lib/llms_txt/cli.rb'
16
14
 
17
15
  Metrics/ClassLength:
18
16
  Max: 200
19
- Exclude:
20
- - 'lib/llms_txt/cli.rb'
21
17
 
22
18
  Metrics/MethodLength:
23
19
  Max: 35
24
- Exclude:
25
- - 'lib/llms_txt/cli.rb'
26
20
 
27
21
  Metrics/AbcSize:
28
22
  Max: 40
29
- Exclude:
30
- - 'lib/llms_txt/cli.rb'
31
23
 
32
24
  Metrics/CyclomaticComplexity:
33
25
  Max: 15
34
- Exclude:
35
- - 'lib/llms_txt/config.rb'
36
26
 
37
27
  Metrics/PerceivedComplexity:
38
28
  Max: 15
39
- Exclude:
40
- - 'lib/llms_txt/config.rb'
41
29
 
42
30
  Metrics/BlockLength:
43
31
  Exclude:
44
32
  - 'spec/**/*'
45
- - 'lib/llms_txt/cli.rb'
46
33
  - '*.gemspec'
47
34
 
48
35
  Style/FrozenStringLiteralComment:
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 3.4.7
1
+ 4.0.3
data/.yard-lint.yml ADDED
@@ -0,0 +1,275 @@
1
+ # YARD-Lint Configuration
2
+ # See https://github.com/mensfeld/yard-lint for documentation
3
+
4
+ # Global settings for all validators
5
+ AllValidators:
6
+ YardOptions:
7
+ - "--private"
8
+ - "--protected"
9
+ Exclude:
10
+ - .git/**/*
11
+ - vendor/**/*
12
+ - node_modules/**/*
13
+ - spec/**/*
14
+ FailOnSeverity: convention
15
+ MinCoverage: 99.0
16
+ DiffMode:
17
+ DefaultBaseRef:
18
+
19
+ # Documentation validators
20
+ Documentation/UndocumentedObjects:
21
+ Description: Checks for classes, modules, and methods without documentation.
22
+ Enabled: true
23
+ Severity: error
24
+ ExcludedMethods:
25
+ - initialize/0
26
+ - "/^_/"
27
+
28
+ Documentation/UndocumentedMethodArguments:
29
+ Description: Checks for method parameters without @param tags.
30
+ Enabled: true
31
+ Severity: error
32
+
33
+ Documentation/UndocumentedBooleanMethods:
34
+ Description: Checks that question mark methods document their boolean return.
35
+ Enabled: true
36
+ Severity: error
37
+
38
+ Documentation/UndocumentedOptions:
39
+ Description: Detects methods with options hash parameters but no @option tags.
40
+ Enabled: true
41
+ Severity: error
42
+
43
+ Documentation/MarkdownSyntax:
44
+ Description: Detects common markdown syntax errors in documentation.
45
+ Enabled: true
46
+ Severity: error
47
+
48
+ Documentation/EmptyCommentLine:
49
+ Description: Detects empty comment lines at the start or end of documentation blocks.
50
+ Enabled: true
51
+ Severity: convention
52
+ EnabledPatterns:
53
+ Leading: true
54
+ Trailing: true
55
+
56
+ Documentation/BlankLineBeforeDefinition:
57
+ Description: Detects blank lines between YARD documentation and method definition.
58
+ Enabled: true
59
+ Severity: convention
60
+ OrphanedSeverity: convention
61
+ EnabledPatterns:
62
+ SingleBlankLine: true
63
+ OrphanedDocs: true
64
+
65
+ # Tags validators
66
+ Tags/Order:
67
+ Description: Enforces consistent ordering of YARD tags.
68
+ Enabled: true
69
+ Severity: error
70
+ EnforcedOrder:
71
+ - param
72
+ - option
73
+ - return
74
+ - raise
75
+ - example
76
+
77
+ Tags/InvalidTypes:
78
+ Description: Validates type definitions in @param, @return, @option tags.
79
+ Enabled: true
80
+ Severity: error
81
+ ValidatedTags:
82
+ - param
83
+ - option
84
+ - return
85
+
86
+ Tags/TypeSyntax:
87
+ Description: Validates YARD type syntax using YARD parser.
88
+ Enabled: true
89
+ Severity: error
90
+ ValidatedTags:
91
+ - param
92
+ - option
93
+ - return
94
+ - yieldreturn
95
+
96
+ Tags/MeaninglessTag:
97
+ Description: Detects @param/@option tags on classes, modules, or constants.
98
+ Enabled: true
99
+ Severity: error
100
+ CheckedTags:
101
+ - param
102
+ - option
103
+ InvalidObjectTypes:
104
+ - class
105
+ - module
106
+ - constant
107
+
108
+ Tags/CollectionType:
109
+ Description: Validates Hash collection syntax consistency.
110
+ Enabled: true
111
+ Severity: error
112
+ EnforcedStyle: long
113
+ ValidatedTags:
114
+ - param
115
+ - option
116
+ - return
117
+ - yieldreturn
118
+
119
+ Tags/TagTypePosition:
120
+ Description: Validates type annotation position in tags.
121
+ Enabled: true
122
+ Severity: error
123
+ CheckedTags:
124
+ - param
125
+ - option
126
+ EnforcedStyle: type_after_name
127
+
128
+ Tags/ApiTags:
129
+ Description: Enforces @api tags on public objects.
130
+ Enabled: false
131
+ Severity: error
132
+ AllowedApis:
133
+ - public
134
+ - private
135
+ - internal
136
+
137
+ Tags/OptionTags:
138
+ Description: Requires @option tags for methods with options parameters.
139
+ Enabled: true
140
+ Severity: error
141
+
142
+ Tags/ExampleSyntax:
143
+ Description: Validates Ruby syntax in @example tags.
144
+ Enabled: true
145
+ Severity: warning
146
+
147
+ Tags/RedundantParamDescription:
148
+ Description: Detects meaningless parameter descriptions that add no value.
149
+ Enabled: true
150
+ Severity: convention
151
+ CheckedTags:
152
+ - param
153
+ - option
154
+ Articles:
155
+ - The
156
+ - the
157
+ - A
158
+ - a
159
+ - An
160
+ - an
161
+ MaxRedundantWords: 6
162
+ GenericTerms:
163
+ - object
164
+ - instance
165
+ - value
166
+ - data
167
+ - item
168
+ - element
169
+ EnabledPatterns:
170
+ ArticleParam: true
171
+ PossessiveParam: true
172
+ TypeRestatement: true
173
+ ParamToVerb: true
174
+ IdPattern: true
175
+ DirectionalDate: true
176
+ TypeGeneric: true
177
+
178
+ Tags/InformalNotation:
179
+ Description: Detects informal tag notation patterns like "Note:" instead of @note.
180
+ Enabled: true
181
+ Severity: warning
182
+ CaseSensitive: false
183
+ RequireStartOfLine: true
184
+ Patterns:
185
+ Note: "@note"
186
+ Todo: "@todo"
187
+ TODO: "@todo"
188
+ FIXME: "@todo"
189
+ See: "@see"
190
+ See also: "@see"
191
+ Warning: "@deprecated"
192
+ Deprecated: "@deprecated"
193
+ Author: "@author"
194
+ Version: "@version"
195
+ Since: "@since"
196
+ Returns: "@return"
197
+ Raises: "@raise"
198
+ Example: "@example"
199
+
200
+ Tags/NonAsciiType:
201
+ Description: Detects non-ASCII characters in type annotations.
202
+ Enabled: true
203
+ Severity: warning
204
+ ValidatedTags:
205
+ - param
206
+ - option
207
+ - return
208
+ - yieldreturn
209
+ - yieldparam
210
+
211
+ Tags/TagGroupSeparator:
212
+ Description: Enforces blank line separators between different YARD tag groups.
213
+ Enabled: false
214
+ Severity: convention
215
+ TagGroups:
216
+ param:
217
+ - param
218
+ - option
219
+ return:
220
+ - return
221
+ error:
222
+ - raise
223
+ - throws
224
+ example:
225
+ - example
226
+ meta:
227
+ - see
228
+ - note
229
+ - todo
230
+ - deprecated
231
+ - since
232
+ - version
233
+ - api
234
+ yield:
235
+ - yield
236
+ - yieldparam
237
+ - yieldreturn
238
+ RequireAfterDescription: false
239
+
240
+ # Warnings validators - catches YARD parser errors
241
+ Warnings/UnknownTag:
242
+ Description: Detects unknown YARD tags.
243
+ Enabled: true
244
+ Severity: error
245
+
246
+ Warnings/UnknownDirective:
247
+ Description: Detects unknown YARD directives.
248
+ Enabled: true
249
+ Severity: error
250
+
251
+ Warnings/InvalidTagFormat:
252
+ Description: Detects malformed tag syntax.
253
+ Enabled: true
254
+ Severity: error
255
+
256
+ Warnings/InvalidDirectiveFormat:
257
+ Description: Detects malformed directive syntax.
258
+ Enabled: true
259
+ Severity: error
260
+
261
+ Warnings/DuplicatedParameterName:
262
+ Description: Detects duplicate @param tags.
263
+ Enabled: true
264
+ Severity: error
265
+
266
+ Warnings/UnknownParameterName:
267
+ Description: Detects @param tags for non-existent parameters.
268
+ Enabled: true
269
+ Severity: error
270
+
271
+ # Semantic validators
272
+ Semantic/AbstractMethods:
273
+ Description: Ensures @abstract methods do not have real implementations.
274
+ Enabled: true
275
+ Severity: error
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.13.0 (2026-05-11)
4
+ - [Breaking] Dropped Ruby 3.2 support. Minimum required Ruby version is now 3.3.
5
+ - [Fix] **Heading Nesting in Normalize Mode** — Fixed `normalize_headings` producing incorrect heading levels when same-level headings are nested under a parent.
6
+ - Consecutive same-level headings (e.g., two `##` headings) now correctly adjust the child's markdown level to be deeper than the parent's (e.g., `##` → `###`)
7
+ - Effective level formula: `max(parent_effective_level + 1, original_level)`
8
+ - ATX closing hashes (`## Title ##`) are now stripped from titles before building hierarchical paths
9
+ - [Fix] **HTML-to-Markdown Section Nesting** — Headings inside nested `<section>` elements now receive adjusted markdown levels based on section nesting depth.
10
+ - `<h2>` inside a nested `<section>` under another `<section>` with its own `<h2>` is now correctly rendered as `###` instead of `##`
11
+
12
+ ## 0.12.0 (2025-11-12)
13
+ - [Feature] **HTML to Markdown Reverse Converter** — Added support for converting HTML content to markdown format.
14
+ - Enables processing of HTML documentation sources
15
+ - Integrates seamlessly with the transformer pipeline
16
+ - Useful for converting web-based docs to markdown for further processing
17
+ - By @Eric-Guo in PR #32.
18
+
3
19
  ## 0.11.0 (2025-11-03)
4
20
  - [Feature] **Transform from URL** — The `transform` command now accepts a remote URL via `--url` and processes fetched content through the standard transformer pipeline.
5
21
  - Example: `llm-docs-builder transform --url https://example.com/docs/page.html`
data/Dockerfile CHANGED
@@ -4,7 +4,7 @@
4
4
  # Creates a minimal Docker image (~50MB) for running the CLI without Ruby installation
5
5
 
6
6
  # Stage 1: Builder
7
- FROM ruby:3.4-alpine AS builder
7
+ FROM ruby:4.0-alpine AS builder
8
8
 
9
9
  # Install build dependencies
10
10
  RUN apk add --no-cache \
@@ -36,17 +36,24 @@ RUN bundle config set --local without 'development test' && \
36
36
  RUN gem build llm-docs-builder.gemspec
37
37
 
38
38
  # Stage 2: Runtime
39
- FROM ruby:3.4-alpine
39
+ FROM ruby:4.0-alpine
40
40
 
41
- # Install runtime dependencies only
41
+ # Install runtime dependencies and build tools for native extensions
42
42
  RUN apk add --no-cache \
43
43
  ca-certificates \
44
- tzdata
44
+ tzdata \
45
+ libxml2 \
46
+ libxslt
45
47
 
46
- # Copy built gem and install it
48
+ # Copy built gem and install it (needs build tools for nokogiri)
47
49
  COPY --from=builder /gem/llm-docs-builder-*.gem /tmp/
48
- RUN gem install /tmp/llm-docs-builder-*.gem --no-document && \
49
- rm /tmp/llm-docs-builder-*.gem
50
+ RUN apk add --no-cache --virtual .build-deps \
51
+ build-base \
52
+ libxml2-dev \
53
+ libxslt-dev && \
54
+ gem install /tmp/llm-docs-builder-*.gem --no-document && \
55
+ rm /tmp/llm-docs-builder-*.gem && \
56
+ apk del .build-deps
50
57
 
51
58
  # Set working directory for user files
52
59
  WORKDIR /workspace
data/Gemfile CHANGED
@@ -6,5 +6,5 @@ gemspec
6
6
 
7
7
  group :development do
8
8
  gem 'pry'
9
- gem 'pry-byebug'
9
+ gem 'yard-lint'
10
10
  end
data/Gemfile.lock CHANGED
@@ -1,36 +1,41 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- llm-docs-builder (0.11.0)
4
+ llm-docs-builder (0.13.0)
5
+ nokogiri (~> 1.17)
5
6
  zeitwerk (~> 2.6)
6
7
 
7
8
  GEM
8
9
  remote: https://rubygems.org/
9
10
  specs:
10
11
  ast (2.4.3)
11
- byebug (12.0.0)
12
12
  coderay (1.1.3)
13
13
  diff-lcs (1.6.2)
14
14
  docile (1.4.1)
15
- json (2.15.2)
15
+ io-console (0.8.2)
16
+ json (2.19.5)
16
17
  language_server-protocol (3.17.0.5)
17
18
  lint_roller (1.1.0)
18
19
  method_source (1.1.0)
19
- parallel (1.27.0)
20
- parser (3.3.10.0)
20
+ mini_portile2 (2.8.9)
21
+ nokogiri (1.19.3)
22
+ mini_portile2 (~> 2.8.2)
23
+ racc (~> 1.4)
24
+ parallel (2.1.0)
25
+ parser (3.3.11.1)
21
26
  ast (~> 2.4.1)
22
27
  racc
23
- prism (1.6.0)
24
- pry (0.15.2)
28
+ prism (1.9.0)
29
+ pry (0.16.0)
25
30
  coderay (~> 1.1)
26
31
  method_source (~> 1.0)
27
- pry-byebug (3.11.0)
28
- byebug (~> 12.0)
29
- pry (>= 0.13, < 0.16)
32
+ reline (>= 0.6.0)
30
33
  racc (1.8.1)
31
34
  rainbow (3.1.1)
32
- rake (13.3.1)
33
- regexp_parser (2.11.3)
35
+ rake (13.4.2)
36
+ regexp_parser (2.12.0)
37
+ reline (0.6.3)
38
+ io-console (~> 0.5)
34
39
  rspec (3.13.2)
35
40
  rspec-core (~> 3.13.0)
36
41
  rspec-expectations (~> 3.13.0)
@@ -40,24 +45,24 @@ GEM
40
45
  rspec-expectations (3.13.5)
41
46
  diff-lcs (>= 1.2.0, < 2.0)
42
47
  rspec-support (~> 3.13.0)
43
- rspec-mocks (3.13.6)
48
+ rspec-mocks (3.13.8)
44
49
  diff-lcs (>= 1.2.0, < 2.0)
45
50
  rspec-support (~> 3.13.0)
46
- rspec-support (3.13.6)
47
- rubocop (1.81.6)
51
+ rspec-support (3.13.7)
52
+ rubocop (1.86.1)
48
53
  json (~> 2.3)
49
54
  language_server-protocol (~> 3.17.0.2)
50
55
  lint_roller (~> 1.1.0)
51
- parallel (~> 1.10)
56
+ parallel (>= 1.10)
52
57
  parser (>= 3.3.0.2)
53
58
  rainbow (>= 2.2.2, < 4.0)
54
59
  regexp_parser (>= 2.9.3, < 3.0)
55
- rubocop-ast (>= 1.47.1, < 2.0)
60
+ rubocop-ast (>= 1.49.0, < 2.0)
56
61
  ruby-progressbar (~> 1.7)
57
62
  unicode-display_width (>= 2.4.0, < 4.0)
58
- rubocop-ast (1.47.1)
63
+ rubocop-ast (1.49.1)
59
64
  parser (>= 3.3.7.2)
60
- prism (~> 1.4)
65
+ prism (~> 1.7)
61
66
  ruby-progressbar (1.13.0)
62
67
  simplecov (0.22.0)
63
68
  docile (~> 1.1)
@@ -67,22 +72,25 @@ GEM
67
72
  simplecov_json_formatter (0.1.4)
68
73
  unicode-display_width (3.2.0)
69
74
  unicode-emoji (~> 4.1)
70
- unicode-emoji (4.1.0)
71
- zeitwerk (2.7.3)
75
+ unicode-emoji (4.2.0)
76
+ yard (0.9.43)
77
+ yard-lint (1.5.1)
78
+ yard (~> 0.9)
79
+ zeitwerk (~> 2.6)
80
+ zeitwerk (2.7.5)
72
81
 
73
82
  PLATFORMS
74
83
  ruby
75
- x86_64-linux
76
84
 
77
85
  DEPENDENCIES
78
- bundler (~> 2.0)
86
+ bundler
79
87
  llm-docs-builder!
80
88
  pry
81
- pry-byebug
82
89
  rake (~> 13.0)
83
90
  rspec (~> 3.0)
84
91
  rubocop (~> 1.0)
85
92
  simplecov (~> 0.21)
93
+ yard-lint
86
94
 
87
95
  BUNDLED WITH
88
- 2.7.2
96
+ 2.6.9