Skip to content

docs: polish homepage command sections - #483

Merged
chenjiahan merged 4 commits into
mainfrom
docs-polish-command-sections
Sep 14, 2026
Merged

chenjiahan merged 4 commits into
mainfrom
docs-polish-command-sections

Conversation

@chenjiahan

Copy link
Copy Markdown
Member

Motivation

Make command capabilities clearer on the homepage and reduce wrapping in longer English descriptions.

Changes

Refine the English and Chinese copy for testing, code checks, Git hooks, and documentation, highlighting performance, compatibility, and AI-friendly documentation output. Give descriptions more horizontal space by widening the left column, narrowing terminal examples, and reducing the gap between them.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 14, 2026

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review Completed 2026-09-14T07:59:47.146228Z 5435c23 New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Sep 14, 2026

Copy link
Copy Markdown

Deploying rstack-cli with  Cloudflare Pages  Cloudflare Pages

Latest commit: 5435c23
Status: ✅  Deploy successful!
Preview URL: https://dc5fbccd.rstack-cli.pages.dev
Branch Preview URL: https://docs-polish-command-sections.rstack-cli.pages.dev

View logs

@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: 16594ebb38

ℹ️ About Codex in GitHub

Your team has set up Codex to 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 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread website/i18n.json
Comment thread website/i18n.json
@chenjiahan
chenjiahan enabled auto-merge (squash) September 14, 2026 07:55
@chenjiahan
chenjiahan disabled auto-merge September 14, 2026 07:57
@chenjiahan
chenjiahan enabled auto-merge (squash) September 14, 2026 07:57
@chenjiahan
chenjiahan merged commit 7497380 into main Sep 14, 2026
5 checks passed
@chenjiahan
chenjiahan deleted the docs-polish-command-sections branch September 14, 2026 07:58

@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: 5435c23ba2

ℹ️ About Codex in GitHub

Your team has set up Codex to 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 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread website/i18n.json
Comment on lines +147 to +148
"en": "Automatically generate llms.txt and Markdown files for AI agents to read",
"zh": "自动生成 llms.txt 与 Markdown 文件,供 AI Agent 读取"

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 Mark AI output generation as opt-in

For documentation projects without llms: true, Rspress does not generate these AI-oriented files. Both create-rstack documentation templates omit that option (packages/create-rstack/template-doc/rstack.config.ts:5-8), while this website explicitly enables it in website/rstack.config.ts:31, so users following the advertised default rs doc workflow will not receive the promised output. Qualify this as an optional capability or enable it in the generated configuration.

Useful? React with 👍 / 👎.

Comment thread website/i18n.json
Comment on lines +115 to +116
"en": "Bring code checks into your Git workflow while keeping your existing lint-staged configuration and Husky workflow",
"zh": "将代码检查融入 Git 工作流,延续现有 lint-staged 配置与 Husky 工作流"

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 Describe migrating the Husky workflow

For a repository currently managed by Husky, rs hooks cannot keep that setup active: the documented behavior in website/docs/en/guide/cli/hooks.mdx:53-55 is to skip installation when another hooks path exists, while --force switches core.hooksPath and makes the prior hooks inactive. The hook bodies and environment settings must be migrated to Rstack first, so restoring the previous “migrate existing Husky hooks” wording would avoid implying direct compatibility.

Useful? React with 👍 / 👎.

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