Skip to content

docs(changelog): fix 0.32.0 entry formatting and doc links - #2598

Merged
wbxl2000 merged 1 commit into
mainfrom
docs/changelog-0.32.0-link-fixes
Aug 4, 2026
Merged

docs(changelog): fix 0.32.0 entry formatting and doc links#2598
wbxl2000 merged 1 commit into
mainfrom
docs/changelog-0.32.0-link-fixes

Conversation

@wbxl2000

@wbxl2000 wbxl2000 commented Aug 4, 2026

Copy link
Copy Markdown
Collaborator

Related Issue

N/A — post-release docs maintenance

Problem

The 0.32.0 changelog entries had several rendering problems, most visible when the text is pasted into chat tools:

  • The two "详见" doc links on the Chinese page were wrapped in backticks, so they rendered as raw inline code exposing the relative path instead of clickable links.
  • All doc links were relative paths, which do not resolve outside the docs site.
  • The Features entry carried an internal SessionEnd-reporting clause with no user-facing value.
  • Inline-code density was high, making the entries hard to scan.

What changed

  • docs/zh + docs/en 0.32.0: drop the SessionEnd-as-archive reporting clause; keep only the new hook events and how to configure them.
  • Unwrap the backtick-wrapped doc links and point all three doc links at absolute published URLs (https://moonshotai.github.io/kimi-code/...), with plain link text instead of code-styled.
  • Reduce inline-code density by rewording, while keeping code style on real identifiers (event names, config keys, config.toml, /login).
  • sync-changelog skill: drop hook/event payload-mechanics clauses; document the doc-link format (real Markdown links, never backtick-wrapped); add matching Verify / Common Mistakes entries.
  • pre-changelog skill: rewrite preview doc links to absolute published URLs, since the preview is pasted into chat tools.
  • Verified with pnpm -C docs run build; anchors #loop-control / #token-counting exist on the target pages.

Checklist

  • I have read the CONTRIBUTING document.
  • I have linked a related issue, or explained the problem above.
  • I have added tests that prove my feature works. (N/A — docs-only change)
  • Ran gen-changesets skill, or this PR needs no changeset. (No changeset — docs and agent-skill guidance only, nothing enters package output)
  • Ran gen-docs skill, or this PR needs no doc update. (This PR is the doc update)

@changeset-bot

changeset-bot Bot commented Aug 4, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 193c8dd

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@wbxl2000
wbxl2000 merged commit da6646b into main Aug 4, 2026
14 checks passed
@wbxl2000
wbxl2000 deleted the docs/changelog-0.32.0-link-fixes branch August 4, 2026 09:02

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 193c8dd421

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment on lines +17 to +18
- Rename two `[loop_control]` keys: `max_retries_per_step` → `max_attempts_per_step` and `max_steps_per_run` → `max_steps_per_turn`; the old keys stop working with a rename warning at startup — see [loop_control](https://moonshotai.github.io/kimi-code/en/configuration/config-files.html#loop-control).
- Add a `[token_counting]` config section: when a provider doesn't report token usage, switch the context-size display to local estimates — see [token_counting](https://moonshotai.github.io/kimi-code/en/configuration/config-files.html#token-counting).

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Restore code styling on config-section links

These two link labels are config section identifiers, but the change removes the inline-code styling from loop_control and token_counting in the English changelog (and the Chinese mirror does the same). That leaves the updated changelog inconsistent with the docs style rule for field names/values and with the new skill guidance that says to code-style identifier link text inside the brackets; please make the labels [`loop_control`](...) and [`token_counting`](...) in both locales.

AGENTS.md reference: docs/AGENTS.md:L52-L52

Useful? React with 👍 / 👎.

- Update the native release workflow to use current GitHub artifact actions.
```

Doc links: an entry that changes a documented config surface may end with a pointer to the docs page — `see [X](...) for details` (Chinese: `详见 [X](...)。`). Keep it a real Markdown link into the docs tree with a relative path (for example `../configuration/config-files.md#loop-control`). When the link text is a config key or another identifier, code-style the text inside the brackets: [`loop_control`](../configuration/config-files.md#loop-control). Never wrap the whole link in backticks — `` `[loop_control](...)` `` renders as raw inline code that exposes the relative path instead of a clickable link.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Align sync guidance with published docs links

This new instruction still tells future sync-changelog runs to emit relative docs links, but this commit changed the 0.32.0 entries to absolute https://moonshotai.github.io/kimi-code/... URLs because changelog snippets are pasted outside the docs site. The next config-surface changelog entry generated from this skill will reintroduce the same non-resolving pasted links, so the guidance should either require the published absolute URL format or the docs entries should remain relative consistently.

Useful? React with 👍 / 👎.

mbuckaway pushed a commit to mbuckaway/kimi-code that referenced this pull request Aug 4, 2026
daofazhiran pushed a commit to daofazhiran/kimi-code that referenced this pull request Aug 4, 2026
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