Skip to content

Comments

i18n-ja-release-8.5: fix aliases in JA docs#22467

Merged
qiancai merged 2 commits intopingcap:i18n-ja-release-8.5from
qiancai:ja-8.5/fix-aliases
Feb 14, 2026
Merged

i18n-ja-release-8.5: fix aliases in JA docs#22467
qiancai merged 2 commits intopingcap:i18n-ja-release-8.5from
qiancai:ja-8.5/fix-aliases

Conversation

@qiancai
Copy link
Collaborator

@qiancai qiancai commented Feb 14, 2026

First-time contributors' checklist

What is changed, added or deleted? (Required)

  1. Remove all aliases that do not start with '/tidb/stable/' or '/tidbcloud/'.
  2. Add the '/ja' prefix to each alias that starts with '/tidb/stable/' or '/tidbcloud/'.

Which TiDB version(s) do your changes apply to? (Required)

Tips for choosing the affected version(s):

By default, CHOOSE MASTER ONLY so your changes will be applied to the next TiDB major or minor releases. If your PR involves a product feature behavior change or a compatibility change, CHOOSE THE AFFECTED RELEASE BRANCH(ES) AND MASTER.

For details, see tips for choosing the affected versions.

  • master (the latest development version)
  • v9.0 (TiDB 9.0 versions)
  • v8.5 (TiDB 8.5 versions)
  • v8.1 (TiDB 8.1 versions)
  • v7.5 (TiDB 7.5 versions)
  • v7.1 (TiDB 7.1 versions)
  • v6.5 (TiDB 6.5 versions)
  • v6.1 (TiDB 6.1 versions)
  • v5.4 (TiDB 5.4 versions)

What is the related PR or file link(s)?

  • This PR is translated from:
  • Other reference link(s):

Do your changes match any of the following descriptions?

  • Delete files
  • Change aliases
  • Need modification after applied to another branch
  • Might cause conflicts after applied to another branch

@ti-chi-bot
Copy link

ti-chi-bot bot commented Feb 14, 2026

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign overvenus for approval. For more information see the Code Review Process.
Please ensure that each of them provides their approval before proceeding.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ti-chi-bot ti-chi-bot bot added area/develop This PR relates to the area of TiDB App development. missing-translation-status This PR does not have translation status info. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. labels Feb 14, 2026
@gemini-code-assist
Copy link
Contributor

Summary of Changes

Hello @qiancai, 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 focuses on enhancing the consistency and maintainability of Japanese documentation aliases. It systematically removes outdated or non-standard alias paths and applies a '/ja' prefix to all valid 'tidb/stable' and 'tidbcloud' aliases, ensuring that Japanese-specific documentation links are correctly structured and easily identifiable. The changes were likely applied using the newly added Python script, streamlining future updates.

Highlights

  • Alias Standardization: All aliases in the Japanese documentation that do not start with '/tidb/stable/' or '/tidbcloud/' have been removed to ensure consistency.
  • Japanese Prefix Addition: The '/ja' prefix has been added to all remaining aliases that start with '/tidb/stable/' or '/tidbcloud/', standardizing paths for Japanese content.
  • Automation Script: A new Python script, 'add-ja-to-aliases.py', was introduced to automate the process of modifying and standardizing these aliases across the documentation.

🧠 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.

Changelog
  • ai/concepts/vector-search-overview.md
    • Updated aliases to remove '/tidb/dev/' entries and added '/ja/' prefix to '/tidb/stable/' and '/tidbcloud/' aliases.
  • ai/guides/vector-search-full-text-search-python.md
    • Updated aliases to remove '/tidb/dev/' entries and added '/ja/' prefix to '/tidb/stable/' and '/tidbcloud/' aliases.
  • ai/guides/vector-search-full-text-search-sql.md
    • Updated aliases to remove '/tidb/dev/' entries and added '/ja/' prefix to '/tidb/stable/' and '/tidbcloud/' aliases.
  • ai/guides/vector-search-hybrid-search.md
    • Updated aliases to remove '/tidb/dev/' entries and added '/ja/' prefix to '/tidb/stable/' and '/tidbcloud/' aliases.
  • ai/integrations/vector-search-auto-embedding-amazon-titan.md
    • Updated aliases by adding '/ja/' prefix to '/tidbcloud/' aliases.
  • ai/integrations/vector-search-auto-embedding-cohere.md
    • Updated aliases by adding '/ja/' prefix to '/tidbcloud/' aliases.
  • ai/integrations/vector-search-auto-embedding-gemini.md
    • Updated aliases by adding '/ja/' prefix to '/tidbcloud/' aliases.
  • ai/integrations/vector-search-auto-embedding-huggingface.md
    • Updated aliases by adding '/ja/' prefix to '/tidbcloud/' aliases.
  • ai/integrations/vector-search-auto-embedding-jina-ai.md
    • Updated aliases by adding '/ja/' prefix to '/tidbcloud/' aliases.
  • ai/integrations/vector-search-auto-embedding-nvidia-nim.md
    • Updated aliases by adding '/ja/' prefix to '/tidbcloud/' aliases.
  • ai/integrations/vector-search-auto-embedding-openai.md
    • Updated aliases by adding '/ja/' prefix to '/tidbcloud/' aliases.
  • ai/integrations/vector-search-auto-embedding-overview.md
    • Updated aliases by adding '/ja/' prefix to '/tidbcloud/' aliases.
  • ai/integrations/vector-search-integrate-with-amazon-bedrock.md
    • Updated aliases by adding '/ja/' prefix to '/tidbcloud/' aliases.
  • ai/integrations/vector-search-integrate-with-django-orm.md
    • Updated aliases to remove '/tidb/dev/' entries and added '/ja/' prefix to '/tidb/stable/' and '/tidbcloud/' aliases.
  • ai/integrations/vector-search-integrate-with-jinaai-embedding.md
    • Updated aliases to remove '/tidb/dev/' entries and added '/ja/' prefix to '/tidb/stable/' and '/tidbcloud/' aliases.
  • ai/integrations/vector-search-integrate-with-langchain.md
    • Updated aliases to remove '/tidb/dev/' entries and added '/ja/' prefix to '/tidb/stable/' and '/tidbcloud/' aliases.
  • ai/integrations/vector-search-integrate-with-llamaindex.md
    • Updated aliases to remove '/tidb/dev/' entries and added '/ja/' prefix to '/tidb/stable/' and '/tidbcloud/' aliases.
  • ai/integrations/vector-search-integrate-with-peewee.md
    • Updated aliases to remove '/tidb/dev/' entries and added '/ja/' prefix to '/tidb/stable/' and '/tidbcloud/' aliases.
  • ai/integrations/vector-search-integrate-with-sqlalchemy.md
    • Updated aliases to remove '/tidb/dev/' entries and added '/ja/' prefix to '/tidb/stable/' and '/tidbcloud/' aliases.
  • ai/integrations/vector-search-integration-overview.md
    • Updated aliases to remove '/tidb/dev/' entries and added '/ja/' prefix to '/tidb/stable/' and '/tidbcloud/' aliases.
  • ai/quickstart-via-python.md
    • Updated aliases to remove '/tidb/dev/' entries and added '/ja/' prefix to '/tidb/stable/' and '/tidbcloud/' aliases.
  • ai/quickstart-via-sql.md
    • Updated aliases to remove '/tidb/dev/' entries and added '/ja/' prefix to '/tidb/stable/' and '/tidbcloud/' aliases.
  • ai/reference/vector-search-changelogs.md
    • Updated aliases by adding '/ja/' prefix to '/tidbcloud/' aliases.
  • ai/reference/vector-search-data-types.md
    • Updated aliases to remove '/tidb/dev/' entries and added '/ja/' prefix to '/tidb/stable/' and '/tidbcloud/' aliases.
  • ai/reference/vector-search-functions-and-operators.md
    • Updated aliases to remove '/tidb/dev/' entries and added '/ja/' prefix to '/tidb/stable/' and '/tidbcloud/' aliases.
  • ai/reference/vector-search-improve-performance.md
    • Updated aliases to remove '/tidb/dev/' entries and added '/ja/' prefix to '/tidb/stable/' and '/tidbcloud/' aliases.
  • ai/reference/vector-search-index.md
    • Updated aliases to remove '/tidb/dev/' entries and added '/ja/' prefix to '/tidb/stable/' and '/tidbcloud/' aliases.
  • ai/reference/vector-search-limitations.md
    • Updated aliases to remove '/tidb/dev/' entries and added '/ja/' prefix to '/tidb/stable/' and '/tidbcloud/' aliases.
  • ai/vector-search-get-started-using-python.md
    • Updated aliases to remove '/tidb/dev/' entries and added '/ja/' prefix to '/tidb/stable/' and '/tidbcloud/' aliases.
  • api/_index.md
    • Updated aliases by adding '/ja/' prefix to '/tidbcloud/' aliases.
  • best-practices/best-practices-on-public-cloud.md
    • Updated aliases to remove '/tidb/dev/' entries and added '/ja/' prefix to '/tidb/stable/' aliases.
  • best-practices/ddl-introduction.md
    • Updated aliases to remove '/tidb/dev/' entries and added '/ja/' prefix to '/tidb/stable/' and '/tidbcloud/' aliases.
  • best-practices/grafana-monitor-best-practices.md
    • Updated aliases to remove '/tidb/dev/' entries and added '/ja/' prefix to '/tidb/stable/' aliases.
  • best-practices/haproxy-best-practices.md
    • Updated aliases to remove '/tidb/dev/' entries and added '/ja/' prefix to '/tidb/stable/' aliases.
  • best-practices/high-concurrency-best-practices.md
    • Updated aliases to remove '/tidb/dev/' entries and added '/ja/' prefix to '/tidb/stable/' aliases.
  • best-practices/index-management-best-practices.md
    • Updated aliases to remove '/tidb/dev/' entries and added '/ja/' prefix to '/tidb/stable/' aliases.
  • best-practices/massive-regions-best-practices.md
    • Updated aliases to remove '/tidb/dev/' entries and added '/ja/' prefix to '/tidb/stable/' aliases.
  • best-practices/multi-column-index-best-practices.md
    • Updated aliases to remove '/tidb/dev/' entries and added '/ja/' prefix to '/tidb/stable/' aliases.
  • best-practices/pd-scheduling-best-practices.md
    • Updated aliases to remove '/tidb/dev/' entries and added '/ja/' prefix to '/tidb/stable/' aliases.
  • best-practices/readonly-nodes.md
    • Updated aliases to remove '/tidb/dev/' entries and added '/ja/' prefix to '/tidb/stable/' aliases.
  • best-practices/saas-best-practices.md
    • Updated aliases to remove '/tidb/dev/' entries and added '/ja/' prefix to '/tidb/stable/' aliases.
  • best-practices/three-dc-local-read.md
    • Updated aliases to remove '/tidb/dev/' entries and added '/ja/' prefix to '/tidb/stable/' aliases.
  • best-practices/three-nodes-hybrid-deployment.md
    • Updated aliases to remove '/tidb/dev/' entries and added '/ja/' prefix to '/tidb/stable/' aliases.
  • best-practices/tidb-best-practices.md
    • Updated aliases to remove '/tidb/dev/' entries and added '/ja/' prefix to '/tidb/stable/' aliases.
  • best-practices/uuid.md
    • Updated aliases to remove '/tidb/dev/' entries and added '/ja/' prefix to '/tidb/stable/' and '/tidbcloud/' aliases.
  • develop/_index.md
    • Updated aliases to remove '/tidb/dev/' entries and added '/ja/' prefix to '/tidb/stable/' and '/tidbcloud/' aliases.
  • develop/dev-guide-aws-appflow-integration.md
    • Updated aliases to remove '/tidb/dev/' entries and added '/ja/' prefix to '/tidb/stable/' and '/tidbcloud/' aliases.
  • develop/dev-guide-bookshop-schema-design.md
    • Updated aliases to remove '/tidb/dev/' entries and added '/ja/' prefix to '/tidb/stable/' and '/tidbcloud/' aliases.
  • develop/dev-guide-build-cluster-in-cloud.md
    • Updated aliases to remove '/tidb/dev/' entries and added '/ja/' prefix to '/tidb/stable/' and '/tidbcloud/' aliases.
  • develop/dev-guide-choose-driver-or-orm.md
    • Updated aliases to remove '/tidb/dev/' entries and added '/ja/' prefix to '/tidb/stable/' and '/tidbcloud/' aliases.
  • develop/dev-guide-connect-to-tidb.md
    • Updated aliases to remove '/tidb/dev/' entries and added '/ja/' prefix to '/tidb/stable/' aliases.
  • develop/dev-guide-connection-parameters.md
    • Updated aliases to remove '/tidb/dev/' entries and added '/ja/' prefix to '/tidb/stable/' and '/tidbcloud/' aliases.
  • develop/dev-guide-create-database.md
    • Updated aliases to remove '/tidb/dev/' entries and added '/ja/' prefix to '/tidb/stable/' and '/tidbcloud/' aliases.
  • develop/dev-guide-create-secondary-indexes.md
    • Updated aliases to remove '/tidb/dev/' entries and added '/ja/' prefix to '/tidb/stable/' and '/tidbcloud/' aliases.
  • develop/dev-guide-create-table.md
    • Updated aliases to remove '/tidb/dev/' entries and added '/ja/' prefix to '/tidb/stable/' and '/tidbcloud/' aliases.
  • develop/dev-guide-delete-data.md
    • Updated aliases to remove '/tidb/dev/' entries and added '/ja/' prefix to '/tidb/stable/' and '/tidbcloud/' aliases.
  • develop/dev-guide-get-data-from-single-table.md
    • Updated aliases to remove '/tidb/dev/' entries and added '/ja/' prefix to '/tidb/stable/' and '/tidbcloud/' aliases.
  • develop/dev-guide-gui-datagrip.md
    • Updated aliases to remove '/tidb/dev/' entries and added '/ja/' prefix to '/tidb/stable/' and '/tidbcloud/' aliases.
  • develop/dev-guide-gui-dbeaver.md
    • Updated aliases to remove '/tidb/dev/' entries and added '/ja/' prefix to '/tidb/stable/' and '/tidbcloud/' aliases.
  • develop/dev-guide-gui-mysql-workbench.md
    • Updated aliases to remove '/tidb/dev/' entries and added '/ja/' prefix to '/tidb/stable/' and '/tidbcloud/' aliases.
  • develop/dev-guide-gui-navicat.md
    • Updated aliases to remove '/tidb/dev/' entries and added '/ja/' prefix to '/tidb/stable/' and '/tidbcloud/' aliases.
  • develop/dev-guide-gui-vscode-sqltools.md
    • Updated aliases to remove '/tidb/dev/' entries and added '/ja/' prefix to '/tidb/stable/' and '/tidbcloud/' aliases.
  • develop/dev-guide-hybrid-oltp-and-olap-queries.md
    • Updated aliases to remove '/tidb/dev/' entries and added '/ja/' prefix to '/tidb/stable/' and '/tidbcloud/' aliases.
  • develop/dev-guide-implicit-type-conversion.md
    • Updated aliases to remove '/tidb/dev/' entries and added '/ja/' prefix to '/tidb/stable/' and '/tidbcloud/' aliases.
  • develop/dev-guide-index-best-practice.md
    • Updated aliases to remove '/tidb/dev/' entries and added '/ja/' prefix to '/tidb/stable/' and '/tidbcloud/' aliases.
  • develop/dev-guide-insert-data.md
    • Updated aliases to remove '/tidb/dev/' entries and added '/ja/' prefix to '/tidb/stable/' and '/tidbcloud/' aliases.
  • develop/dev-guide-join-tables.md
    • Updated aliases to remove '/tidb/dev/' entries and added '/ja/' prefix to '/tidb/stable/' and '/tidbcloud/' aliases.
  • develop/dev-guide-object-naming-guidelines.md
    • Updated aliases to remove '/tidb/dev/' entries and added '/ja/' prefix to '/tidb/stable/' and '/tidbcloud/' aliases.
  • develop/dev-guide-optimistic-and-pessimistic-transaction.md
    • Updated aliases to remove '/tidb/dev/' entries and added '/ja/' prefix to '/tidb/stable/' and '/tidbcloud/' aliases.
  • develop/dev-guide-optimize-sql-best-practices.md
    • Updated aliases to remove '/tidb/dev/' entries and added '/ja/' prefix to '/tidb/stable/' and '/tidbcloud/' aliases.
  • develop/dev-guide-optimize-sql-overview.md
    • Updated aliases to remove '/tidb/dev/' entries and added '/ja/' prefix to '/tidb/stable/' and '/tidbcloud/' aliases.
  • develop/dev-guide-optimize-sql.md
    • Updated aliases to remove '/tidb/dev/' entries and added '/ja/' prefix to '/tidb/stable/' and '/tidbcloud/' aliases.
  • develop/dev-guide-paginate-results.md
    • Updated aliases to remove '/tidb/dev/' entries and added '/ja/' prefix to '/tidb/stable/' and '/tidbcloud/' aliases.
  • develop/dev-guide-playground-gitpod.md
    • Updated aliases to remove '/tidb/dev/' entries and added '/ja/' prefix to '/tidb/stable/' and '/tidbcloud/' aliases.
  • develop/dev-guide-prepared-statement.md
    • Updated aliases to remove '/tidb/dev/' entries and added '/ja/' prefix to '/tidb/stable/' and '/tidbcloud/' aliases.
  • develop/dev-guide-proxysql-integration.md
    • Updated aliases to remove '/tidb/dev/' entries and added '/ja/' prefix to '/tidb/stable/' and '/tidbcloud/' aliases.
  • develop/dev-guide-sample-application-aws-lambda.md
    • Updated aliases to remove '/tidb/dev/' entries and added '/ja/' prefix to '/tidb/stable/' and '/tidbcloud/' aliases.
  • develop/dev-guide-sample-application-cs.md
    • Updated aliases to remove '/tidb/dev/' entries and added '/ja/' prefix to '/tidb/stable/' and '/tidbcloud/' aliases.
  • develop/dev-guide-sample-application-golang-gorm.md
    • Updated aliases to remove '/tidb/dev/' entries and added '/ja/' prefix to '/tidb/stable/' and '/tidbcloud/' aliases.
  • develop/dev-guide-sample-application-golang-sql-driver.md
    • Updated aliases to remove '/tidb/dev/' entries and added '/ja/' prefix to '/tidb/stable/' and '/tidbcloud/' aliases.
  • develop/dev-guide-sample-application-java-hibernate.md
    • Updated aliases to remove '/tidb/dev/' entries and added '/ja/' prefix to '/tidb/stable/' and '/tidbcloud/' aliases.
  • develop/dev-guide-sample-application-java-jdbc.md
    • Updated aliases to remove '/tidb/dev/' entries and added '/ja/' prefix to '/tidb/stable/' and '/tidbcloud/' aliases.
  • develop/dev-guide-sample-application-java-mybatis.md
    • Updated aliases to remove '/tidb/dev/' entries and added '/ja/' prefix to '/tidb/stable/' and '/tidbcloud/' aliases.
  • develop/dev-guide-sample-application-java-spring-boot.md
    • Updated aliases to remove '/tidb/dev/' entries and added '/ja/' prefix to '/tidb/stable/' and '/tidbcloud/' aliases.
  • develop/dev-guide-sample-application-nextjs.md
    • Updated aliases to remove '/tidb/dev/' entries and added '/ja/' prefix to '/tidb/stable/' and '/tidbcloud/' aliases.
  • develop/dev-guide-sample-application-nodejs-mysql2.md
    • Updated aliases to remove '/tidb/dev/' entries and added '/ja/' prefix to '/tidb/stable/' and '/tidbcloud/' aliases.
  • develop/dev-guide-sample-application-nodejs-mysqljs.md
    • Updated aliases to remove '/tidb/dev/' entries and added '/ja/' prefix to '/tidb/stable/' and '/tidbcloud/' aliases.
  • develop/dev-guide-sample-application-nodejs-prisma.md
    • Updated aliases to remove '/tidb/dev/' entries and added '/ja/' prefix to '/tidb/stable/' and '/tidbcloud/' aliases.
  • develop/dev-guide-sample-application-nodejs-sequelize.md
    • Updated aliases to remove '/tidb/dev/' entries and added '/ja/' prefix to '/tidb/stable/' and '/tidbcloud/' aliases.
  • develop/dev-guide-sample-application-nodejs-typeorm.md
    • Updated aliases to remove '/tidb/dev/' entries and added '/ja/' prefix to '/tidb/stable/' and '/tidbcloud/' aliases.
  • develop/dev-guide-sample-application-python-django.md
    • Updated aliases to remove '/tidb/dev/' entries and added '/ja/' prefix to '/tidb/stable/' and '/tidbcloud/' aliases.
  • develop/dev-guide-sample-application-python-mysql-connector.md
    • Updated aliases to remove '/tidb/dev/' entries and added '/ja/' prefix to '/tidb/stable/' and '/tidbcloud/' aliases.
  • develop/dev-guide-sample-application-python-mysqlclient.md
    • Updated aliases to remove '/tidb/dev/' entries and added '/ja/' prefix to '/tidb/stable/' and '/tidbcloud/' aliases.
  • develop/dev-guide-sample-application-python-peewee.md
    • Updated aliases to remove '/tidb/dev/' entries and added '/ja/' prefix to '/tidb/stable/' and '/tidbcloud/' aliases.
  • develop/dev-guide-sample-application-python-pymysql.md
    • Updated aliases to remove '/tidb/dev/' entries and added '/ja/' prefix to '/tidb/stable/' and '/tidbcloud/' aliases.
  • develop/dev-guide-sample-application-python-sqlalchemy.md
    • Updated aliases to remove '/tidb/dev/' entries and added '/ja/' prefix to '/tidb/stable/' and '/tidbcloud/' aliases.
  • develop/dev-guide-sample-application-ruby-mysql2.md
    • Updated aliases to remove '/tidb/dev/' entries and added '/ja/' prefix to '/tidb/stable/' and '/tidbcloud/' aliases.
  • develop/dev-guide-sample-application-ruby-rails.md
    • Updated aliases to remove '/tidb/dev/' entries and added '/ja/' prefix to '/tidb/stable/' and '/tidbcloud/' aliases.
  • develop/dev-guide-schema-design-overview.md
    • Updated aliases to remove '/tidb/dev/' entries and added '/ja/' prefix to '/tidb/stable/' and '/tidbcloud/' aliases.
  • develop/dev-guide-sql-development-specification.md
    • Updated aliases to remove '/tidb/dev/' entries and added '/ja/' prefix to '/tidb/stable/' and '/tidbcloud/' aliases.
  • develop/dev-guide-third-party-support.md
    • Updated aliases to remove '/tidb/dev/' entries and added '/ja/' prefix to '/tidb/stable/' and '/tidbcloud/' aliases.
  • develop/dev-guide-third-party-tools-compatibility.md
    • Updated aliases to remove '/tidb/dev/' entries and added '/ja/' prefix to '/tidb/stable/' and '/tidbcloud/' aliases.
  • develop/dev-guide-tidb-crud-sql.md
    • Updated aliases to remove '/tidb/dev/' entries and added '/ja/' prefix to '/tidb/stable/' and '/tidbcloud/' aliases.
  • develop/dev-guide-timeouts-in-tidb.md
    • Updated aliases to remove '/tidb/dev/' entries and added '/ja/' prefix to '/tidb/stable/' and '/tidbcloud/' aliases.
  • develop/dev-guide-transaction-overview.md
    • Updated aliases to remove '/tidb/dev/' entries and added '/ja/' prefix to '/tidb/stable/' and '/tidbcloud/' aliases.
  • develop/dev-guide-transaction-restraints.md
    • Updated aliases to remove '/tidb/dev/' entries and added '/ja/' prefix to '/tidb/stable/' and '/tidbcloud/' aliases.
  • develop/dev-guide-transaction-troubleshoot.md
    • Updated aliases to remove '/tidb/dev/' entries and added '/ja/' prefix to '/tidb/stable/' and '/tidbcloud/' aliases.
  • develop/dev-guide-troubleshoot-overview.md
    • Updated aliases to remove '/tidb/dev/' entries and added '/ja/' prefix to '/tidb/stable/' and '/tidbcloud/' aliases.
  • develop/dev-guide-unique-serial-number-generation.md
    • Updated aliases to remove '/tidb/dev/' entries and added '/ja/' prefix to '/tidb/stable/' and '/tidbcloud/' aliases.
  • develop/dev-guide-unstable-result-set.md
    • Updated aliases to remove '/tidb/dev/' entries and added '/ja/' prefix to '/tidb/stable/' and '/tidbcloud/' aliases.
  • develop/dev-guide-update-data.md
    • Updated aliases to remove '/tidb/dev/' entries and added '/ja/' prefix to '/tidb/stable/' and '/tidbcloud/' aliases.
  • develop/dev-guide-use-common-table-expression.md
    • Updated aliases to remove '/tidb/dev/' entries and added '/ja/' prefix to '/tidb/stable/' and '/tidbcloud/' aliases.
  • develop/dev-guide-use-follower-read.md
    • Updated aliases to remove '/tidb/dev/' entries and added '/ja/' prefix to '/tidb/stable/' and '/tidbcloud/' aliases.
  • develop/dev-guide-use-stale-read.md
    • Updated aliases to remove '/tidb/dev/' entries and added '/ja/' prefix to '/tidb/stable/' and '/tidbcloud/' aliases.
  • develop/dev-guide-use-subqueries.md
    • Updated aliases to remove '/tidb/dev/' entries and added '/ja/' prefix to '/tidb/stable/' and '/tidbcloud/' aliases.
  • develop/dev-guide-use-temporary-tables.md
    • Updated aliases to remove '/tidb/dev/' entries and added '/ja/' prefix to '/tidb/stable/' and '/tidbcloud/' aliases.
  • develop/dev-guide-use-views.md
    • Updated aliases to remove '/tidb/dev/' entries and added '/ja/' prefix to '/tidb/stable/' and '/tidbcloud/' aliases.
  • develop/dev-guide-wordpress.md
    • Updated aliases by adding '/ja/' prefix to '/tidbcloud/' aliases.
  • develop/java-app-best-practices.md
    • Updated aliases to remove '/tidb/dev/' entries and added '/ja/' prefix to '/tidb/stable/' aliases.
  • develop/serverless-driver-drizzle-example.md
    • Updated aliases by adding '/ja/' prefix to '/tidbcloud/' aliases.
  • develop/serverless-driver-kysely-example.md
    • Updated aliases by adding '/ja/' prefix to '/tidbcloud/' aliases.
  • develop/serverless-driver-node-example.md
    • Updated aliases by adding '/ja/' prefix to '/tidbcloud/' aliases.
  • develop/serverless-driver-prisma-example.md
    • Updated aliases by adding '/ja/' prefix to '/tidbcloud/' aliases.
  • develop/serverless-driver.md
    • Updated aliases by adding '/ja/' prefix to '/tidbcloud/' aliases.
  • releases/_index.md
    • Updated aliases to remove '/tidb/v8.5/' entries and added '/ja/' prefix to '/tidb/stable/' aliases.
  • scripts/add-ja-to-aliases.py
    • Added a new Python script to automate the alias modification process.
  • tidb-cloud/backup-and-restore-serverless.md
    • Updated aliases by adding '/ja/' prefix to '/tidbcloud/' aliases.
  • tidb-cloud/backup-and-restore.md
    • Updated aliases by adding '/ja/' prefix to '/tidbcloud/' aliases.
  • tidb-cloud/configure-external-storage-access.md
    • Updated aliases by adding '/ja/' prefix to '/tidbcloud/' aliases.
  • tidb-cloud/connected-care-overview.md
    • Updated aliases by adding '/ja/' prefix to '/tidbcloud/' aliases.
  • tidb-cloud/dedicated-external-storage.md
    • Removed the alias '/tidb-cloud/config-s3-and-gcs-access'.
  • tidb-cloud/dedicated/_index.md
    • Updated aliases by adding '/ja/' prefix to '/tidbcloud/' aliases.
  • tidb-cloud/essential-database-audit-logging.md
    • Updated aliases by adding '/ja/' prefix to '/tidbcloud/' aliases.
  • tidb-cloud/import-csv-files.md
    • Updated aliases by adding '/ja/' prefix to '/tidbcloud/' aliases.
  • tidb-cloud/migrate-from-mysql-using-data-migration.md
    • Updated aliases by adding '/ja/' prefix to '/tidbcloud/' aliases.
  • tidb-cloud/premium/backup-and-restore-premium.md
    • Updated aliases by adding '/ja/' prefix to '/tidbcloud/' aliases.
  • tidb-cloud/releases/tidb-cloud-release-notes.md
    • Updated aliases by adding '/ja/' prefix to '/tidbcloud/' aliases.
  • tidb-cloud/secure-connections-to-serverless-clusters.md
    • Updated aliases by adding '/ja/' prefix to '/tidbcloud/' aliases.
  • tidb-cloud/select-cluster-tier.md
    • Updated aliases by adding '/ja/' prefix to '/tidbcloud/' aliases.
  • tidb-cloud/serverless-faqs.md
    • Updated aliases by adding '/ja/' prefix to '/tidbcloud/' aliases.
  • tidb-cloud/serverless-limitations.md
    • Updated aliases by adding '/ja/' prefix to '/tidbcloud/' aliases.
  • tidb-cloud/setup-aws-self-hosted-kafka-private-link-service.md
    • Updated aliases by adding '/ja/' prefix to '/tidbcloud/' aliases.
  • tidb-cloud/ticloud-branch-shell.md
    • Updated aliases by adding '/ja/' prefix to '/tidbcloud/' aliases.
  • tidb-cloud/ticloud-import-start.md
    • Updated aliases by adding '/ja/' prefix to '/tidbcloud/' aliases.
  • tidb-cloud/ticloud-serverless-region.md
    • Updated aliases by adding '/ja/' prefix to '/tidbcloud/' aliases.
  • tidb-cloud/ticloud-serverless-shell.md
    • Updated aliases by adding '/ja/' prefix to '/tidbcloud/' aliases.
  • tidb-cloud/ticloud-upgrade.md
    • Updated aliases by adding '/ja/' prefix to '/tidbcloud/' aliases.
  • tidb-cloud/tidb-cloud-billing-ticdc-rcu.md
    • Updated aliases by adding '/ja/' prefix to '/tidbcloud/' aliases.
  • tidb-cloud/tidb-cloud-encrypt-cmek-aws.md
    • Updated aliases by adding '/ja/' prefix to '/tidbcloud/' aliases.
  • tidb-cloud/tidb-cloud-glossary.md
    • Updated aliases by adding '/ja/' prefix to '/tidbcloud/' aliases.
  • tidb-cloud/tidb-cloud-htap-quickstart.md
    • Updated aliases by adding '/ja/' prefix to '/tidbcloud/' aliases.
  • tidb-cloud/tidb-cloud-migration-overview.md
    • Updated aliases by adding '/ja/' prefix to '/tidbcloud/' aliases.
  • tidb-cloud/tidb-cloud-partners.md
    • Updated aliases by adding '/ja/' prefix to '/tidbcloud/' aliases.
  • tidb-cloud/tidb-cloud-tls-connect-to-dedicated.md
    • Updated aliases by adding '/ja/' prefix to '/tidbcloud/' aliases.
  • tidb-cloud/tune-performance.md
    • Updated aliases by adding '/ja/' prefix to '/tidbcloud/' aliases.
  • tidb-cloud/v7.1-performance-benchmarking-with-sysbench.md
    • Updated aliases by adding '/ja/' prefix to '/tidbcloud/' aliases.
  • tidb-cloud/v7.1-performance-benchmarking-with-tpcc.md
    • Updated aliases by adding '/ja/' prefix to '/tidbcloud/' aliases.
  • tidb-cloud/v7.5-performance-benchmarking-with-sysbench.md
    • Updated aliases by adding '/ja/' prefix to '/tidbcloud/' aliases.
  • tidb-cloud/v7.5-performance-benchmarking-with-tpcc.md
    • Updated aliases by adding '/ja/' prefix to '/tidbcloud/' aliases.
  • tidb-resource-control-ru-groups.md
    • Updated aliases to remove '/tidb/v8.5/' entries and added '/ja/' prefix to '/tidb/stable/' aliases.
Activity
  • The pull request was created by qiancai.
  • The author has provided a detailed description of the changes, outlining the intent to standardize aliases in Japanese documentation.
  • The changes involve removing non-standard aliases and adding a '/ja' prefix to specific valid aliases.
  • A new Python script was added to automate these alias modifications.
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
Contributor

@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 updates the aliases in a large number of Japanese documentation files to ensure they are correctly prefixed for the Japanese version of the documentation, utilizing a Python script for automation. While the script's logic is sound, it introduces a minor information exposure due to a hardcoded absolute path containing a local username, which also limits its portability. Additionally, there are suggestions to improve the script's overall reusability and robustness.

I am having trouble creating individual review comments. Click here to see my feedback.

scripts/add-ja-to-aliases.py (92-108)

medium

The script uses a hardcoded absolute path for TARGET_DOC_PATH at the top of the file, which limits its portability. It's better to make this configurable by accepting it as a command-line argument. Using Python's argparse module is a good way to handle this.

With the suggested change to the main function, you should also remove the global TARGET_DOC_PATH variable at the top of the file.

This change makes the script more reusable and easier for other developers to run on their own machines without modifying the source code.

def main():
    import argparse

    parser = argparse.ArgumentParser(
        description="Update aliases in markdown files for Japanese documentation."
    )
    parser.add_argument(
        "target_path", help="The root directory of the documentation to process."
    )
    args = parser.parse_args()
    target_doc_path = args.target_path

    modified_count = 0
    scanned_count = 0

    for root, _dirs, files in os.walk(target_doc_path):
        for filename in files:
            if not filename.endswith(".md"):
                continue
            filepath = os.path.join(root, filename)
            scanned_count += 1
            if process_file(filepath):
                rel_path = os.path.relpath(filepath, target_doc_path)
                print(f"  Modified: {rel_path}")
                modified_count += 1

    print(f"\nDone. Scanned {scanned_count} files, modified {modified_count} files.")

scripts/add-ja-to-aliases.py (16)

security-low low

The script contains a hardcoded absolute path /Users/grcai/Documents/GitHub/docs. This is a security and operational issue for two reasons:

  1. Information Exposure: It discloses the local username (grcai) and the directory structure of the developer's machine in the public repository.
  2. Portability: The script will fail in any environment where this specific path does not exist, such as CI/CD pipelines or other developers' machines.

It is recommended to use a relative path or an environment variable to specify the target directory.

TARGET_DOC_PATH = os.getenv("TARGET_DOC_PATH", ".")

scripts/add-ja-to-aliases.py (25-66)

low

The current implementation uses regular expressions to parse and modify the aliases line. While this works for the current format, it can be fragile if the format of the frontmatter changes, for example, if aliases are split across multiple lines.

For better robustness, consider using a YAML parsing library (like PyYAML or ruamel.yaml) to parse the frontmatter, modify the aliases list, and then write the frontmatter back. This would handle different formatting styles and multi-line aliases gracefully.

However, for a one-off script, the current approach is acceptable.

@ti-chi-bot
Copy link

ti-chi-bot bot commented Feb 14, 2026

@shhdgit: adding LGTM is restricted to approvers and reviewers in OWNERS files.

Details

In response to this:

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@qiancai qiancai merged commit 12f5acd into pingcap:i18n-ja-release-8.5 Feb 14, 2026
4 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/develop This PR relates to the area of TiDB App development. missing-translation-status This PR does not have translation status info. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants