Repository navigation
fix(docs): fix broken error-codes link and remove Chinese text from English pages - #1296
Merged
Merged
Conversation
…-codes page /docs/error-codes does not exist; the error codes live in the x-pages topic rendered at /docs/api?page=error-codes.
- Replace full-width punctuation (, :) in English prose, tables and diagrams - Use English sidebar group names in the Real-Time Market Data page - Translate Chinese values in English code examples and shared openapi.yaml response examples, using CLI --lang en output where available; keep explicitly localized fields (name_cn, name_hk, *_zhcn) unchanged
hogan-yuan
added a commit
that referenced
this pull request
Oct 23, 2026
## What changed Fixed three links that returned 404: - **Agent Auth Code** links on `/docs/cli/install` and `/docs/mcp` pointed to `/agent-auth`; they now go to `/docs/agent-auth`. - **MCP authorization flow** link on `/docs/agent-auth` pointed to `/mcp`; it now goes to `/docs/mcp`. - **Candlestick - Pull** link on the candlestick push page (`/docs/quote/push/candlestick`) pointed to `/quote/stocks/candlestick`; it now goes to `/docs/quote/pull/candlestick` (with the `/zh-CN` / `/zh-HK` prefix on the Chinese pages). The `/docs/error-codes` link at the bottom of API Reference pages was already fixed in #1296. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changed
Broken Error Codes link
/docs/api/list_news) and in the Overview page pointed to/docs/error-codes, which 404s. It now opens the API Reference error codes page (/docs/api?page=error-codes), with the locale prefix preserved.Chinese text on English pages
,:) in English prose, tables and sequence diagrams (socket protocol pages, option chain, trade definitions, changelog, etc.).Quote → …,Trade → …) instead of行情/交易.openapi.yaml) now use English values, such as rank categories, top-movers reasons and labels, screener indicators and strategies, IPO names, sharelists, fundamentals and alerts. Values are taken fromlongbridge --lang enoutput where available.name_cn,name_hk,participant_name_cn,*_zhcn) keep their Chinese values.🤖 Generated with Claude Code