Skip to content

docs(llms): document nginx UTF-8 configuration - #380

Merged
goldserg merged 3 commits into
masterfrom
codex/docstools-7106-llms-utf8
Nov 16, 2026
Merged

goldserg merged 3 commits into
masterfrom
codex/docstools-7106-llms-utf8

Conversation

@goldserg

@goldserg goldserg commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

The llms guide does not explain how to declare UTF-8 when serving generated text files. Clients can misidentify the encoding and display Cyrillic incorrectly.

Add matching Russian and English sections with an nginx charset utf-8; example for a documentation URL prefix, notes on MIME types and location scope, and header/browser checks for llms.txt and llms-full.txt.

Task: DOCSTOOLS-7106.

Validation:

  • Built the full documentation with CLI 5.64.1; no new warnings or errors compared with the unchanged base.
  • Validated the nginx 1.28.0 example against generated documentation: both Russian llms files return text/plain; charset=utf-8 and preserve the original UTF-8 bytes.
  • Checked both llms files in Chromium and rendered both localized guide sections.
  • git diff --check passed.

@github-actions

Copy link
Copy Markdown

✅ Documentation build

Revision built successfully
Revision preview link

Build logs

Warnings (11)

⚠️ Unable to copy resource asset en/guides/llms-full.txt. ENOENT: no such file or directory, stat '/en/guides/llms-full.txt'

⚠️ Unable to copy resource asset ru/guides/llms-full.txt. ENOENT: no such file or directory, stat '/ru/guides/llms-full.txt'

⚠️ en/guides/openapi.md: 168: YFM001 / inline-code-length Inline code length [Expected: 100; Actual: 265] [Context: " — the specification is displayed directly on the page (default value). If the size of the specification's json schema exceeds the value of ##maxOpenapiIncludeSize## (100 KB by default), the mode automatically switches to "]

⚠️ en/settings.md: 405: YFM025 / missing-local-anchor Local link anchor is missing in the target document [Context: "en/syntax/media.html#gallery"]

⚠️ en/settings.md: 561: YFM025 / missing-local-anchor Local link anchor is missing in the target document [Context: "en/syntax/vars#substitutions"]

⚠️ en/syntax/links.md: 120: YFM025 / missing-local-anchor Local link anchor is missing in the target document [Context: "en/syntax/links.html#code"]

⚠️ en/syntax/vars.md: 6: YFM025 / missing-local-anchor Local link anchor is missing in the target document [Context: "en/tools/docs/index.html#use"]

⚠️ en/tools/docs/build.md: 54: YFM001 / inline-code-length Inline code length [Expected: 100; Actual: 109] [Context: " — a snapshot of the dependency graph (pages, included files, assets, missing paths, edge count), as well as "]

⚠️ ru/dev/quickstart.md: 27: YFM025 / missing-local-anchor Local link anchor is missing in the target document [Context: "ru/dev/quickstart.html#add-changes"]

⚠️ ru/dev/quickstart.md: 44: YFM025 / missing-local-anchor Local link anchor is missing in the target document [Context: "ru/dev/quickstart.html#add-changes"]

⚠️ ru/syntax/links.md: 120: YFM025 / missing-local-anchor Local link anchor is missing in the target document [Context: "ru/syntax/links.html#code"]

@goldserg goldserg changed the title docs(llms): document nginx UTF-8 configuration docs(ai): document UTF-8 for llms files and Markdown companions Nov 16, 2026
@github-actions

Copy link
Copy Markdown

✅ Documentation build

Revision built successfully
Revision preview link

Build logs

Warnings (11)

⚠️ Unable to copy resource asset en/guides/llms-full.txt. ENOENT: no such file or directory, stat '/en/guides/llms-full.txt'

⚠️ Unable to copy resource asset ru/guides/llms-full.txt. ENOENT: no such file or directory, stat '/ru/guides/llms-full.txt'

⚠️ en/guides/openapi.md: 168: YFM001 / inline-code-length Inline code length [Expected: 100; Actual: 265] [Context: " — the specification is displayed directly on the page (default value). If the size of the specification's json schema exceeds the value of ##maxOpenapiIncludeSize## (100 KB by default), the mode automatically switches to "]

⚠️ en/settings.md: 407: YFM025 / missing-local-anchor Local link anchor is missing in the target document [Context: "en/syntax/media.html#gallery"]

⚠️ en/settings.md: 563: YFM025 / missing-local-anchor Local link anchor is missing in the target document [Context: "en/syntax/vars#substitutions"]

⚠️ en/syntax/links.md: 120: YFM025 / missing-local-anchor Local link anchor is missing in the target document [Context: "en/syntax/links.html#code"]

⚠️ en/syntax/vars.md: 6: YFM025 / missing-local-anchor Local link anchor is missing in the target document [Context: "en/tools/docs/index.html#use"]

⚠️ en/tools/docs/build.md: 54: YFM001 / inline-code-length Inline code length [Expected: 100; Actual: 109] [Context: " — a snapshot of the dependency graph (pages, included files, assets, missing paths, edge count), as well as "]

⚠️ ru/dev/quickstart.md: 27: YFM025 / missing-local-anchor Local link anchor is missing in the target document [Context: "ru/dev/quickstart.html#add-changes"]

⚠️ ru/dev/quickstart.md: 44: YFM025 / missing-local-anchor Local link anchor is missing in the target document [Context: "ru/dev/quickstart.html#add-changes"]

⚠️ ru/syntax/links.md: 120: YFM025 / missing-local-anchor Local link anchor is missing in the target document [Context: "ru/syntax/links.html#code"]

@goldserg goldserg changed the title docs(ai): document UTF-8 for llms files and Markdown companions docs(llms): document nginx UTF-8 configuration Nov 16, 2026
@github-actions

Copy link
Copy Markdown

✅ Documentation build

Revision built successfully
Revision preview link

Build logs

Warnings (11)

⚠️ Unable to copy resource asset en/guides/llms-full.txt. ENOENT: no such file or directory, stat '/en/guides/llms-full.txt'

⚠️ Unable to copy resource asset ru/guides/llms-full.txt. ENOENT: no such file or directory, stat '/ru/guides/llms-full.txt'

⚠️ en/guides/openapi.md: 168: YFM001 / inline-code-length Inline code length [Expected: 100; Actual: 265] [Context: " — the specification is displayed directly on the page (default value). If the size of the specification's json schema exceeds the value of ##maxOpenapiIncludeSize## (100 KB by default), the mode automatically switches to "]

⚠️ en/settings.md: 405: YFM025 / missing-local-anchor Local link anchor is missing in the target document [Context: "en/syntax/media.html#gallery"]

⚠️ en/settings.md: 561: YFM025 / missing-local-anchor Local link anchor is missing in the target document [Context: "en/syntax/vars#substitutions"]

⚠️ en/syntax/links.md: 120: YFM025 / missing-local-anchor Local link anchor is missing in the target document [Context: "en/syntax/links.html#code"]

⚠️ en/syntax/vars.md: 6: YFM025 / missing-local-anchor Local link anchor is missing in the target document [Context: "en/tools/docs/index.html#use"]

⚠️ en/tools/docs/build.md: 54: YFM001 / inline-code-length Inline code length [Expected: 100; Actual: 109] [Context: " — a snapshot of the dependency graph (pages, included files, assets, missing paths, edge count), as well as "]

⚠️ ru/dev/quickstart.md: 27: YFM025 / missing-local-anchor Local link anchor is missing in the target document [Context: "ru/dev/quickstart.html#add-changes"]

⚠️ ru/dev/quickstart.md: 44: YFM025 / missing-local-anchor Local link anchor is missing in the target document [Context: "ru/dev/quickstart.html#add-changes"]

⚠️ ru/syntax/links.md: 120: YFM025 / missing-local-anchor Local link anchor is missing in the target document [Context: "ru/syntax/links.html#code"]

@goldserg
goldserg merged commit fd79cfc into master Nov 16, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant