Skip to content

Docs: format documentation long-option flags as code - #127922

Closed
Blargian wants to merge 4 commits into
ClickHouse:masterfrom
Blargian:codex/docs-inline-cli-flags
Closed

Blargian wants to merge 4 commits into
ClickHouse:masterfrom
Blargian:codex/docs-inline-cli-flags

Conversation

@Blargian

@Blargian Blargian commented Oct 27, 2026 •

Copy link
Copy Markdown
Member

Plain long-option flags in Markdown prose can be rendered as em dashes by the documentation font.

Format the affected prose as inline code across English and localized documentation, including changelogs. Command blocks, anchors, and autogenerated output remain untouched; the generated system.quotas entry is updated through its source registration.

Changelog category (leave one):

  • Documentation (changelog entry is not required)

Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):


Workflow [PR]
Sync PR [sync-upstream/pr/127922]

@mintlify

mintlify Bot commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor

Preview approval required

This pull request comes from a fork, so Mintlify won't build a preview until someone with write access approves commit 912e348.

Approve preview

@clickhouse-gh

clickhouse-gh Bot commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor

Workflow [PR], commit [912e348]

Summary: ❌

job_name test_name status info comment
Fast test (arm_darwin) FAIL
05227_mutate_part_ahead_of_table_metadata_version_mergetree FAIL cidb
Stateless tests (amd_debug, sequential) FAIL
03254_prewarm_mark_cache_rmt FAIL cidb
Build profile diff ERROR

AI Review

Summary

This PR formats documentation CLI options as inline code, updates the relevant source registrations, and prevents localized prose after Markdown links from being included in URL checks. No actionable findings remain. The previous option-span finding is fixed, and 14 focused URL-extraction checks passed.

Final Verdict

Status: ✅ Approve

@clickhouse-gh clickhouse-gh Bot added the pr-documentation Documentation PRs for the specific code PR label Oct 27, 2026
@mintlify

mintlify Bot commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated
ClickHouse-docs 🟢 Ready View Preview Oct 27, 2026, 9:17 AM

@Blargian Blargian changed the title Format documentation long-option flags as code Docs: format documentation long-option flags as code Oct 27, 2026
@clickhouse-gh clickhouse-gh Bot added the comp-documentation Documentation (docs, examples, READMEs). label Oct 27, 2026
Stop a documentation Markdown link at its closing parenthesis before processing the URL, so adjacent localized punctuation is not treated as part of the destination.

CI report: https://s3.amazonaws.com/clickhouse-test-reports/praktika.html?PR=127922&sha=3e09522e7c1e0f4e50bb51024fdb5feeca2ea80b&name_0=PR&name_1=Style%20check
PR: ClickHouse#127922
Keep quote entities and sentence periods outside `--accept-certificate` and `--dist=each` code spans.

Related: ClickHouse#127922 (comment)
@Blargian
Blargian marked this pull request as draft October 28, 2026 07:33
Format `--ssl-mode=none` in the source registration that generates the MySQL server-setting reference page. The existing `system.quotas` source registration already formats `--quota_key`.

CI report: https://s3.amazonaws.com/clickhouse-test-reports/praktika.html?PR=127922&sha=3e09522e7c1e0f4e50bb51024fdb5feeca2ea80b&name_0=PR&name_1=Style%20check
PR: ClickHouse#127922
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp-documentation Documentation (docs, examples, READMEs). pr-documentation Documentation PRs for the specific code PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant