Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chinese anchor point exception, clicking does not respond and cannot jump correctly #324

Open
AllenWriter opened this issue Nov 1, 2024 · 0 comments

Comments

@AllenWriter
Copy link

Problem description:

Mintlify document framework does not seem to support Chinese anchors. When I click on the Claude Docs document, switch to the Chinese version, and click on the directory page on the right, it usually does not jump correctly.

When you click on the Chinese directory on the page right, all the links are https://docs.anthropic.com/zh-CN/docs/welcome#. Therefore, it cannot jump correctly.

image

In the Mintify document project I built myself, it can only jump correctly when I write in English or use numbers in the title. Such as: http://2.56.166.37:3005/deployment/advanced-configuration/persistent-storage#iam-amazon-s3

If my title does not contain English or numbers, it will not work if I want to customize the anchor point.

For example, I had a title: ## 测试 on the docs.mdx file, and It cannot be accessed generally on the page; only docs# will be displayed. Even if I fill in ## [测试](#test), it still can't be opened usually. Only docs# displayer.

Suggestion

It is recommended to automatically generate Chinese pinyin, or allow content authors to customize content anchors.

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

No branches or pull requests

1 participant