Skip to content

Update quick-start.md#1016

Open
frijal wants to merge 2 commits into
twikoojs:mainfrom
frijal:patch-1
Open

Update quick-start.md#1016
frijal wants to merge 2 commits into
twikoojs:mainfrom
frijal:patch-1

Conversation

@frijal

@frijal frijal commented Jul 1, 2026

Copy link
Copy Markdown

Summary by Sourcery

Documentation:

  • 将占位符性质的英文快速入门内容替换为详细说明,介绍如何部署 Twikoo 云函数和前端,包括版本一致性要求以及不同的部署选项。
Original summary in English

Summary by Sourcery

Documentation:

  • Replace placeholder English quick-start content with detailed instructions on deploying Twikoo cloud functions and front-end, including version consistency and deployment options.

@sourcery-ai

sourcery-ai Bot commented Jul 1, 2026

Copy link
Copy Markdown
Contributor
审阅者指南(在小型 PR 上折叠)

审阅者指南

该 PR 更新了 Twikoo 的英文快速上手文档,用更详细的介绍和部署指导替换了占位提示,并调整了主标题文本。

文件级变更

变更 详情 文件
用具体的 Twikoo 介绍和部署说明替换了原有的英文快速上手占位内容。
  • 更新了文档顶部的主页面标题文本。
  • 添加了简短概述,说明 Twikoo 在云函数和前端之间的拆分,以及保持版本一致的必要性。
  • 记录了部署云函数和前端的可选方式,包括主题集成与手动引入 JS 和初始化方案。
  • 为从旧版 Twikoo 升级的用户添加了指引,将他们引导至“版本更新”。
  • 移除了之前的提示块,该提示说明英文文档仍在建设中,并将用户引导至中文文档。
docs/en/quick-start.md

技巧和命令

与 Sourcery 交互

  • 触发新的审阅: 在 Pull Request 上评论 @sourcery-ai review
  • 继续讨论: 直接回复 Sourcery 的审阅评论。
  • 从审阅评论生成 GitHub issue: 通过回复审阅评论,要求 Sourcery 从该评论创建一个 issue。你也可以在审阅评论中回复 @sourcery-ai issue 来从该评论创建 issue。
  • 生成 Pull Request 标题: 在 Pull Request 标题的任意位置写上 @sourcery-ai,即可随时生成标题。你也可以在 Pull Request 中评论 @sourcery-ai title,以在任意时间(重新)生成标题。
  • 生成 Pull Request 摘要: 在 Pull Request 正文的任意位置写上 @sourcery-ai summary,即可在你想要的位置随时生成 PR 摘要。你也可以在 Pull Request 中评论 @sourcery-ai summary,以在任意时间(重新)生成摘要。
  • 生成审阅者指南: 在 Pull Request 中评论 @sourcery-ai guide,即可在任意时间(重新)生成审阅者指南。
  • 解决所有 Sourcery 评论: 在 Pull Request 中评论 @sourcery-ai resolve,即可解决所有 Sourcery 评论。如果你已经处理完所有评论且不想再看到它们,这会很有用。
  • 清除所有 Sourcery 审阅: 在 Pull Request 中评论 @sourcery-ai dismiss,即可清除所有现有的 Sourcery 审阅。如果你希望从一次全新的审阅开始,这尤其有用——别忘了评论 @sourcery-ai review 来触发新的审阅!

自定义你的体验

访问你的控制台以:

  • 启用或禁用审阅功能,例如 Sourcery 生成的 Pull Request 摘要、审阅者指南等。
  • 更改审阅语言。
  • 添加、删除或编辑自定义审阅说明。
  • 调整其他审阅设置。

获取帮助

Original review guide in English
Reviewer's guide (collapsed on small PRs)

Reviewer's Guide

The PR updates the English quick-start documentation for Twikoo, replacing the placeholder tip with a more detailed introduction and deployment guidance, and adjusts the main heading text.

File-Level Changes

Change Details Files
Replaced the placeholder English quick-start content with a concrete introduction and deployment instructions for Twikoo.
  • Updated the main page heading text at the top of the document.
  • Added a short overview explaining Twikoo’s split between cloud functions and front-end and the need to keep versions consistent.
  • Documented available options for deploying cloud functions and front-end, including theme integration vs manual JS inclusion and initialization.
  • Added guidance for users upgrading from older Twikoo versions, pointing them to Version Updates.
  • Removed the previous tip block that said the English documentation was still being built and directed users to the Chinese document.
docs/en/quick-start.md

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Hey - 我发现了 1 个问题,并留下了一些整体性的反馈:

  • 如果使用句首大写、其余小写的句式大小写风格(例如 # Quick start),并收紧措辞(例如拆分长句,且在上下文清晰时避免反复重复 “Twikoo”),新的标题和引言段会更清晰,也更符合其余文档的风格。
  • 这三行缩进内容应该改成正规的 Markdown 列表(使用 -*,并去掉代码风格的缩进),同时 “Version Updates” 的引用应当链接到文档中对应的页面或章节。
Prompt for AI Agents
Please address the comments from this code review:

## Overall Comments
- The new heading and introductory paragraph would be clearer and more consistent with the rest of the docs if you use sentence case (e.g., `# Quick start`) and tighten wording (e.g., split long sentences and avoid repeating “Twikoo” where context is clear).
- The three indented lines should be formatted as a proper Markdown list (using `-` or `*` and removing code-style indentation) and the reference to “Version Updates” should link to the relevant page or section in the docs.

## Individual Comments

### Comment 1
<location path="docs/en/quick-start.md" line_range="6" />
<code_context>
+Twikoo is divided into cloud functions and front-end, and to integrate Twikoo on your website, you need to deploy both cloud functions and front-end, and be careful to keep both versions consistent.
+
+    There are many ways to deploy cloud functions, so choose the right deployment platform for you.
+    There are 2 ways to deploy front-end, if your website theme supports Twikoo, you can simply specify Twikoo in the configuration file; if your website theme does not support Twikoo, you need to modify the source code to manually introduce Twikoo's js file and initialize it.
+    If you have deployed an older version of Twikoo, refer to Version Updates to upgrade cloud functions and front-end versions.

</code_context>
<issue_to_address>
**suggestion (typo):** This sentence contains a comma splice and minor terminology issues; consider splitting into sentences and adjusting "js" capitalization.

The clause "There are 2 ways to deploy front-end, if your website theme supports Twikoo, you can..." incorrectly joins two independent clauses with a comma; please split into two sentences or rephrase (e.g., "There are 2 ways to deploy the front end. If your website theme supports Twikoo, you can..."). Also, prefer "Twikoo's JS file" over "Twikoo's js file", and consider "include" instead of "introduce" for more natural wording.
</issue_to_address>

Sourcery 对开源项目免费——如果你觉得我们的评审有帮助,欢迎分享 ✨
帮我变得更有用!请对每条评论点 👍 或 👎,我会根据这些反馈改进后续评审。
Original comment in English

Hey - I've found 1 issue, and left some high level feedback:

  • The new heading and introductory paragraph would be clearer and more consistent with the rest of the docs if you use sentence case (e.g., # Quick start) and tighten wording (e.g., split long sentences and avoid repeating “Twikoo” where context is clear).
  • The three indented lines should be formatted as a proper Markdown list (using - or * and removing code-style indentation) and the reference to “Version Updates” should link to the relevant page or section in the docs.
Prompt for AI Agents
Please address the comments from this code review:

## Overall Comments
- The new heading and introductory paragraph would be clearer and more consistent with the rest of the docs if you use sentence case (e.g., `# Quick start`) and tighten wording (e.g., split long sentences and avoid repeating “Twikoo” where context is clear).
- The three indented lines should be formatted as a proper Markdown list (using `-` or `*` and removing code-style indentation) and the reference to “Version Updates” should link to the relevant page or section in the docs.

## Individual Comments

### Comment 1
<location path="docs/en/quick-start.md" line_range="6" />
<code_context>
+Twikoo is divided into cloud functions and front-end, and to integrate Twikoo on your website, you need to deploy both cloud functions and front-end, and be careful to keep both versions consistent.
+
+    There are many ways to deploy cloud functions, so choose the right deployment platform for you.
+    There are 2 ways to deploy front-end, if your website theme supports Twikoo, you can simply specify Twikoo in the configuration file; if your website theme does not support Twikoo, you need to modify the source code to manually introduce Twikoo's js file and initialize it.
+    If you have deployed an older version of Twikoo, refer to Version Updates to upgrade cloud functions and front-end versions.

</code_context>
<issue_to_address>
**suggestion (typo):** This sentence contains a comma splice and minor terminology issues; consider splitting into sentences and adjusting "js" capitalization.

The clause "There are 2 ways to deploy front-end, if your website theme supports Twikoo, you can..." incorrectly joins two independent clauses with a comma; please split into two sentences or rephrase (e.g., "There are 2 ways to deploy the front end. If your website theme supports Twikoo, you can..."). Also, prefer "Twikoo's JS file" over "Twikoo's js file", and consider "include" instead of "introduce" for more natural wording.
</issue_to_address>

Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

Comment thread docs/en/quick-start.md Outdated
Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
Comment thread docs/en/quick-start.md
@@ -1,5 +1,8 @@
# Quick start
# Quickly Start.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@sourcery-ai How about Quick Start? Some other guides use these words such as Use Quick Start to transfer data to a new iPhone or iPad

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.

2 participants