Skip to content

Conversation

@Oreoxmt
Copy link
Collaborator

@Oreoxmt Oreoxmt commented Jan 14, 2026

Close #666

This PR replaces the single llms.txt file with a hierarchical structure across English, Chinese, and Japanese documentation. A root llms.txt file now serves as the primary entry point, routing to product-specific llms.txt files for TiDB Cloud (Dedicated, Essential, Starter), TiDB Self-Managed, and TiDB on Kubernetes.

These llms.txt files are generated from TOC*.md files in the docs-staging repository. The current files are generated based on commit 3e63238.

The following table details the newly introduced or modified llms.txt files, their internal paths, and their corresponding public URLs:

Language Product/Plan Internal Path Public URL
English Root static/llms.txt https://docs.pingcap.com/llms.txt
TiDB Cloud Dedicated static/tidbcloud/llms.txt https://docs.pingcap.com/tidbcloud/llms.txt
TiDB Cloud Essential static/tidbcloud/essential/llms.txt https://docs.pingcap.com/tidbcloud/essential/llms.txt
TiDB Cloud Starter static/tidbcloud/starter/llms.txt https://docs.pingcap.com/tidbcloud/starter/llms.txt
TiDB Self-Managed static/tidb/llms.txt https://docs.pingcap.com/tidb/llms.txt
TiDB on Kubernetes static/tidb-in-kubernetes/llms.txt https://docs.pingcap.com/tidb-in-kubernetes/llms.txt
Chinese Root static/zh/llms.txt https://docs.pingcap.com/zh/llms.txt
TiDB Cloud Dedicated static/zh/tidbcloud/llms.txt https://docs.pingcap.com/zh/tidbcloud/llms.txt
TiDB Cloud Essential static/zh/tidbcloud/essential/llms.txt https://docs.pingcap.com/zh/tidbcloud/essential/llms.txt
TiDB Cloud Starter static/zh/tidbcloud/starter/llms.txt https://docs.pingcap.com/zh/tidbcloud/starter/llms.txt
TiDB Self-Managed static/zh/tidb/llms.txt https://docs.pingcap.com/zh/tidb/llms.txt
TiDB on Kubernetes static/zh/tidb-in-kubernetes/llms.txt https://docs.pingcap.com/zh/tidb-in-kubernetes/llms.txt
Japanese Root static/ja/llms.txt https://docs.pingcap.com/ja/llms.txt
TiDB Cloud Dedicated static/ja/tidbcloud/llms.txt https://docs.pingcap.com/ja/tidbcloud/llms.txt
TiDB Cloud Essential static/ja/tidbcloud/essential/llms.txt https://docs.pingcap.com/ja/tidbcloud/essential/llms.txt
TiDB Cloud Starter static/ja/tidbcloud/starter/llms.txt https://docs.pingcap.com/ja/tidbcloud/starter/llms.txt
TiDB Self-Managed static/ja/tidb/llms.txt https://docs.pingcap.com/ja/tidb/llms.txt
TiDB on Kubernetes N/A N/A

@vercel
Copy link

vercel bot commented Jan 14, 2026

@Oreoxmt is attempting to deploy a commit to the test-vi Team on Vercel.

A member of the Team first needs to authorize it.

@gemini-code-assist
Copy link

Summary of Changes

Hello @Oreoxmt, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request significantly refactors the documentation structure by implementing a new hierarchical system for llms.txt files. This change improves the organization and accessibility of product-specific and language-localized documentation, making it more efficient for users to find relevant information for various TiDB offerings.

Highlights

  • Hierarchical llms.txt Structure: Replaced a single llms.txt file with a new hierarchical structure to better organize documentation across different product plans and languages.
  • Multilingual Support: Introduced separate llms.txt files for English, Chinese (zh), and Japanese (ja) documentation, enhancing localization.
  • Product-Specific Documentation: Created dedicated llms.txt files for TiDB Cloud (Dedicated, Essential, Starter), TiDB Self-Managed, and TiDB on Kubernetes, allowing for more granular content management.

🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console.

Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request introduces a hierarchical structure for llms.txt files across English, Chinese, and Japanese documentation, which is a great step towards better organization. My review has identified several areas for improvement across the newly added files, including inconsistencies with the PR description, leftover developer comments, incorrect Markdown syntax, and untranslated text in localized files. I've provided specific suggestions for each issue to help polish the changes before they are merged.

Comment on lines +31 to +33
## TiDB on Kubernetes

- [TiDB on Kubernetes ドキュメント](https://docs.pingcap.com/tidb-in-kubernetes/llms.txt): TiDB Operator を使用して Kubernetes で TiDB を実行するためのドキュメント。

Choose a reason for hiding this comment

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

medium

PR の説明では、日本語ドキュメントでは「TiDB on Kubernetes」は該当しない (N/A) と記載されていますが、このファイルにはそのセクションが含まれており、英語のドキュメントへのリンクが記載されています。これは矛盾しています。該当しない場合はこのセクションを削除してください。

- C#
- [C#](https://docs.pingcap.com/tidbcloud/dev-guide-sample-application-cs.md): Learn how to connect to TiDB using C#. This tutorial provides sample C# code snippets for interacting with TiDB.
- [WordPress](https://docs.pingcap.com/tidbcloud/dev-guide-wordpress.md): Learn how to use TiDB Cloud Starter to run WordPress. This tutorial gives step-by-step guidance to run WordPress + TiDB Cloud Starter in a few minutes.
- Serverless Driver ![BETA](https://docs-download.pingcap.com/media/images/docs/tidb-cloud/blank_transparent_placeholder.png) <!--TBD, ToDo: Not sure if we need to update the driver name-->

Choose a reason for hiding this comment

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

medium

This line contains a TBD/ToDo comment that should be resolved and removed before merging the pull request.

  - Serverless Driver ![BETA](https://docs-download.pingcap.com/media/images/docs/tidb-cloud/blank_transparent_placeholder.png)

- C#
- [C#](https://docs.pingcap.com/tidbcloud/dev-guide-sample-application-cs.md): Learn how to connect to TiDB using C#. This tutorial provides sample C# code snippets for interacting with TiDB.
- [WordPress](https://docs.pingcap.com/tidbcloud/dev-guide-wordpress.md): Learn how to use TiDB Cloud Starter to run WordPress. This tutorial gives step-by-step guidance to run WordPress + TiDB Cloud Starter in a few minutes.
- Serverless Driver ![BETA](https://docs-download.pingcap.com/media/images/docs/tidb-cloud/blank_transparent_placeholder.png) <!--TBD, ToDo: Not sure if we need to update the driver name-->

Choose a reason for hiding this comment

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

medium

This line contains a TBD/ToDo comment. Please resolve the to-do item and remove the comment before this pull request is merged.

  - Serverless Driver ![BETA](https://docs-download.pingcap.com/media/images/docs/tidb-cloud/blank_transparent_placeholder.png)

- C#
- [C#](https://docs.pingcap.com/zh/tidbcloud/dev-guide-sample-application-cs.md): 学习如何使用 C# 连接 TiDB。本教程提供了与 TiDB 交互的 C# 代码示例片段。
- [WordPress](https://docs.pingcap.com/zh/tidbcloud/dev-guide-wordpress.md): 学习如何使用 TiDB Cloud Starter 运行 WordPress。本教程将为你提供分步指导,让你在几分钟内运行 WordPress + TiDB Cloud Starter。
- Serverless Driver ![BETA](https://docs-download.pingcap.com/media/images/docs/tidb-cloud/blank_transparent_placeholder.png) <!--TBD, ToDo: Not sure if we need to update the driver name-->

Choose a reason for hiding this comment

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

medium

此行包含一个 TBD/ToDo 注释。请在合并前解决此问题并移除该注释。

  - Serverless Driver ![BETA](https://docs-download.pingcap.com/media/images/docs/tidb-cloud/blank_transparent_placeholder.png)

- C#
- [C#](https://docs.pingcap.com/zh/tidbcloud/dev-guide-sample-application-cs.md): 学习如何使用 C# 连接 TiDB。本教程提供了与 TiDB 交互的 C# 代码示例片段。
- [WordPress](https://docs.pingcap.com/zh/tidbcloud/dev-guide-wordpress.md): 学习如何使用 TiDB Cloud Starter 运行 WordPress。本教程将为你提供分步指导,让你在几分钟内运行 WordPress + TiDB Cloud Starter。
- Serverless Driver ![BETA](https://docs-download.pingcap.com/media/images/docs/tidb-cloud/blank_transparent_placeholder.png) <!--TBD, ToDo: Not sure if we need to update the driver name-->

Choose a reason for hiding this comment

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

medium

此行包含一个 TBD/ToDo 注释。请在合并前解决此问题并移除该注释。

  - Serverless Driver ![BETA](https://docs-download.pingcap.com/media/images/docs/tidb-cloud/blank_transparent_placeholder.png)

- 连接到 TiDB Cloud 集群
- [连接概览](https://docs.pingcap.com/zh/tidbcloud/connect-to-tidb-cluster-serverless.md): 了解如何通过不同方式连接到你的 TiDB Cloud Starter 或 TiDB Cloud Essential 集群。
- [通过 Public Endpoint 连接](https://docs.pingcap.com/zh/tidbcloud/connect-via-standard-connection-serverless.md): 了解如何通过公共端点连接到你的 TiDB Cloud Starter 或 TiDB Cloud Essential 集群。
- [通过 AWS Private Link 连接](https://docs.pingcap.com/zh/tidbcloud/set-up-private-endpoint-connections-serverless.md): 了解如何通过私有终端节点连接到你的 TiDB Cloud 集群。

Choose a reason for hiding this comment

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

medium

链接文本“通过 AWS Private Link 连接”与链接 URL (private-endpoint) 和描述(“私有终端节点”)不一致。为保持一致性,建议将链接文本更新为“通过 AWS Private Endpoint 连接”。

      - [通过 AWS Private Endpoint 连接](https://docs.pingcap.com/zh/tidbcloud/set-up-private-endpoint-connections-serverless.md): 了解如何通过私有终端节点连接到你的 TiDB Cloud 集群。

- [Advanced StatefulSet Controller](https://docs.pingcap.com/tidb-in-kubernetes/stable/advanced-statefulset.md): Learn how to enable and use the advanced StatefulSet controller.
- [Admission Controller](https://docs.pingcap.com/tidb-in-kubernetes/stable/enable-admission-webhook.md): Learn how to enable the admission controller in TiDB Operator and the functionality of the admission controller.
- [Sysbench Performance Test](https://docs.pingcap.com/tidb-in-kubernetes/stable/benchmark-sysbench.md): Learn the Sysbench performance test of TiDB on Kubernetes.
- [API References](<https://github.com/pingcap/tidb-operator/blob/v1.6.4/docs/api-references/docs.md>)

Choose a reason for hiding this comment

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

low

The angle brackets < and > around the URL are not standard Markdown syntax and may cause parsing issues with some tools. Please remove them.

  - [API References](https://github.com/pingcap/tidb-operator/blob/v1.6.4/docs/api-references/docs.md)

- [增强型 StatefulSet 控制器](https://docs.pingcap.com/zh/tidb-in-kubernetes/stable/advanced-statefulset.md): 介绍如何开启、使用增强型 StatefulSet 控制器
- [准入控制器](https://docs.pingcap.com/zh/tidb-in-kubernetes/stable/enable-admission-webhook.md): 介绍如何开启 TiDB Operator 准入控制器以及它的作用。
- [Sysbench 性能测试](https://docs.pingcap.com/zh/tidb-in-kubernetes/stable/benchmark-sysbench.md): TiDB Operator GA 发布后,我们在 GKE 平台进行了全面的性能测试。测试结果显示,在 Host 网络模式下,TiDB 性能略优于 Pod 网络模式(约 7%)。此外,使用 Ubuntu 系统的 Host 网络模式下,TiDB 性能也略优于 COS 系统(约 9%)。在集群外访问时,使用 Load Balancer 会略损失性能(约 5%)。多可用区下节点之间的延迟增加,会对 TiDB 性能产生一定影响(30% ~ 6%)。计算型机型相对普通型机器带来了很大 QPS 提升(50% ~ 60%)。
- [API 参考文档](<https://github.com/pingcap/tidb-operator/blob/v1.6.4/docs/api-references/docs.md>)

Choose a reason for hiding this comment

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

low

URL 周围的尖括号 <> 不是标准的 Markdown 链接语法,可能会导致某些工具解析失败。请移除它们。

  - [API 参考文档](https://github.com/pingcap/tidb-operator/blob/v1.6.4/docs/api-references/docs.md)

- [通过 AWS Private Endpoint 连接](https://docs.pingcap.com/zh/tidbcloud/set-up-private-endpoint-connections-serverless.md): 了解如何通过私有终端节点连接到你的 TiDB Cloud 集群。
- [通过 Alibaba Cloud Private Endpoint 连接](https://docs.pingcap.com/zh/tidbcloud/set-up-private-endpoint-connections-on-alibaba-cloud.md): 了解如何通过阿里云私有终端节点连接到你的 TiDB Cloud 集群。
- [为 Public Endpoint 配置防火墙规则](https://docs.pingcap.com/zh/tidbcloud/configure-serverless-firewall-rules-for-public-endpoints.md): 了解如何安全地为 TiDB Cloud Starter 或 TiDB Cloud Essential 集群配置和管理具有公共访问权限的防火墙规则。
- [通过 TLS 连接](https://docs.pingcap.com/zh/tidbcloud/secure-connections-to-serverless-clusters.md): Introduce TLS connections in TiDB Cloud Starter and TiDB Cloud Essential.

Choose a reason for hiding this comment

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

low

此行的描述是英文的。为保持语言一致性,请将其翻译成中文。另外,请检查并修正文件中其他类似的英文描述。

    - [通过 TLS 连接](https://docs.pingcap.com/zh/tidbcloud/secure-connections-to-serverless-clusters.md): 介绍 TiDB Cloud Starter 和 TiDB Cloud Essential 中的 TLS 连接。

- [通过 AWS Private Link 连接](https://docs.pingcap.com/zh/tidbcloud/set-up-private-endpoint-connections-serverless.md): 了解如何通过私有终端节点连接到你的 TiDB Cloud 集群。
- [通过 Alibaba Cloud Private Endpoint 连接](https://docs.pingcap.com/zh/tidbcloud/set-up-private-endpoint-connections-on-alibaba-cloud.md): 了解如何通过阿里云私有终端节点连接到你的 TiDB Cloud 集群。
- [为 Public Endpoint 配置防火墙规则](https://docs.pingcap.com/zh/tidbcloud/configure-serverless-firewall-rules-for-public-endpoints.md): 了解如何安全地为 TiDB Cloud Starter 或 TiDB Cloud Essential 集群配置和管理具有公共访问权限的防火墙规则。
- [通过 TLS 连接](https://docs.pingcap.com/zh/tidbcloud/secure-connections-to-serverless-clusters.md): Introduce TLS connections in TiDB Cloud Starter and TiDB Cloud Essential.

Choose a reason for hiding this comment

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

low

此行的描述是英文的。为保持语言一致性,请将其翻译成中文。另外,请检查并修正文件中其他类似的英文描述。

    - [通过 TLS 连接](https://docs.pingcap.com/zh/tidbcloud/secure-connections-to-serverless-clusters.md): 介绍 TiDB Cloud Starter 和 TiDB Cloud Essential 中的 TLS 连接。

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.

Provide separate llms.txt for different product plans in en/zh/ja

1 participant