Skip to content

Commit a50d356

Browse files
twosugarclaude
andauthored
Fix/doc drap (#1239)
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
1 parent dd00a96 commit a50d356

26 files changed

Lines changed: 82 additions & 79 deletions

File tree

docs/en/docs/account/overview.mdx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Portfolio profit/loss analysis and currency exchange rates.
1818
| [profit_analysis_summary](./portfolio/profit-analysis-summary) | Overall portfolio P&L summary |
1919
| [profit_analysis_detail](./portfolio/profit-analysis-detail) | Per-position P&L breakdown |
2020
| [profit_analysis_by_market](./portfolio/profit-analysis-by-market) | P&L grouped by market |
21-
| [capital_flow](./portfolio/capital-flow) | Account capital flow history |
21+
| [capital_flow](./portfolio/profit-analysis-flows) | Account capital flow history |
2222
| [exchange_rates](./portfolio/exchange-rates) | Current exchange rates for supported currencies |
2323

2424
## AlertContext
@@ -49,7 +49,7 @@ Create and manage community share lists (watchlists shared with others).
4949

5050
| Method | Description |
5151
|---|---|
52-
| [list_sharelist](./sharelist/list-sharelist) | List all share lists |
53-
| [create_sharelist](./sharelist/create-sharelist) | Create a new share list |
54-
| [update_sharelist](./sharelist/update-sharelist) | Update a share list |
55-
| [delete_sharelist](./sharelist/delete-sharelist) | Delete a share list |
52+
| [list_sharelist](/docs/content/sharelist/list-sharelist) | List all share lists |
53+
| [create_sharelist](/docs/content/sharelist/create-sharelist) | Create a new share list |
54+
| [update_sharelist](/docs/content/sharelist/update-sharelist) | Update a share list |
55+
| [delete_sharelist](/docs/content/sharelist/delete-sharelist) | Delete a share list |

docs/en/docs/legal/index.mdx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,12 @@ Legal agreements and disclaimers for Longbridge Developers. Documents are provid
1111

1212
## Singapore (SG)
1313

14-
- [User Data Authorisation and Acknowledgement](./user-data-authorization-sg)
15-
- [Developers Platform Disclaimer](./developers-platform-disclaimer-sg)
16-
- [API Non-Commercial Licence Agreement](./api-license-agreement-sg)
14+
- [User Data Authorisation and Acknowledgement](/docs/legal/user-data-authorization-sg)
15+
- [Developers Platform Disclaimer](/docs/legal/developers-platform-disclaimer-sg)
16+
- [API Non-Commercial Licence Agreement](/docs/legal/api-license-agreement-sg)
1717

1818
## Hong Kong (HK)
1919

20-
- [User Data Authorisation and Acknowledgement](./user-data-authorization-hk)
21-
- [Developers Platform Disclaimer](./developers-platform-disclaimer-hk)
22-
- [API Non-Commercial Licence Agreement](./api-license-agreement-hk)
20+
- [User Data Authorisation and Acknowledgement](/docs/legal/user-data-authorization-hk)
21+
- [Developers Platform Disclaimer](/docs/legal/developers-platform-disclaimer-hk)
22+
- [API Non-Commercial Licence Agreement](/docs/legal/api-license-agreement-hk)

docs/en/docs/market/status/trade-day.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ longbridge trading days CN
2222

2323
:::info
2424

25-
[Business Command](../../socket/biz_command): `9`
25+
[Business Command](/docs/socket/biz_command): `9`
2626

2727
:::
2828

docs/en/docs/market/status/trade-session.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ longbridge trading session
1818

1919
:::info
2020

21-
[Business Command](../../socket/biz_command): `8`
21+
[Business Command](/docs/socket/biz_command): `8`
2222

2323
:::
2424

@@ -231,7 +231,7 @@ func main() {
231231
| ∟ trade_session | object[] | Trading session |
232232
| ∟∟ beg_time | int32 | Being trading time, in `hhmm` format, for example: `900` |
233233
| ∟∟ end_time | int32 | End trading time, in `hhmm` format, for example: `1400` |
234-
| ∟∟ trade_session | int32 | Trading session, see [TradeSession](../objects#tradesession---trading-session) |
234+
| ∟∟ trade_session | int32 | Trading session, see [TradeSession](/docs/quote/objects#tradesession---trading-session) |
235235

236236
### Protobuf
237237

docs/en/docs/quote/options/optionchain-date-strike.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ longbridge option chain TSLA.US --date 2026-04-17
3131
| Name | Type | Required | Description |
3232
| ----------- | ------ | -------- | ---------------------------------------------------------------------------------------------------------------------------- |
3333
| symbol | string | Yes | Security code, in `ticker.region` format, for example:`700.HK` |
34-
| expiry_date | string | Yes | Option expiry date,in `YYMMDD` format, for example: `20220429`, obtained by [Option Expiry Date](./optionchain_date.md) API |
34+
| expiry_date | string | Yes | Option expiry date,in `YYMMDD` format, for example: `20220429`, obtained by [Option Expiry Date](./optionchain-date) API |
3535

3636
### Protobuf
3737

docs/en/docs/quote/subscribe/overview.mdx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,15 @@ Subscriptions push incremental updates in real time. For one-off or on-demand qu
2828

2929
| Data | Pull API |
3030
|------|----------|
31-
| Quotes | [Quotes](../stocks/quote) |
32-
| Depth | [Depth](../stocks/depth) |
33-
| Broker queue | [Broker Queue](../stocks/brokers) |
34-
| Trades | [Trades](../stocks/trade) |
35-
| Intraday | [Intraday](../stocks/intraday) |
36-
| Candlesticks | [Candlesticks](../stocks/candlestick) |
31+
| Quotes | [Quotes](/docs/quote/pull/quote) |
32+
| Depth | [Depth](/docs/quote/pull/depth) |
33+
| Broker queue | [Broker Queue](/docs/quote/pull/brokers) |
34+
| Trades | [Trades](/docs/quote/pull/trade) |
35+
| Intraday | [Intraday](/docs/quote/pull/intraday) |
36+
| Candlesticks | [Candlesticks](/docs/quote/pull/candlestick) |
3737

3838
## Notes
3939

4040
- Subscriptions are scoped to the current connection; they are cleared when the connection drops.
41-
- Use [Get Subscriptions](./subsciption) to inspect your active subscriptions at any time.
41+
- Use [Get Subscriptions](./subscription) to inspect your active subscriptions at any time.
4242
- Quote permissions determine which data types are available. See [Quote Permission Levels](../overview#quote-permission-levels).

docs/en/docs/screener/screener_user_strategies.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,4 +219,4 @@ func main() {
219219

220220
<a id="ScreenerStrategiesResponse"></a>
221221

222-
The response structure is identical to [screener_recommend_strategies](./screener_recommend_strategies). Please refer to that document for the Schema definition.
222+
The response structure is identical to [screener_recommend_strategies](/docs/screener/screener-recommend-strategies). Please refer to that document for the Schema definition.

docs/en/docs/socket/control-command.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ Server -->> Client: auth response, req_id: 1, session: xxx
100100
101101
```
102102

103-
> Auth `token` can be created through [HTTP API](./socket-token-api)
103+
> Auth `token` can be created through [HTTP API](/docs/socket-token-api)
104104
105105
After auth success, server will set session in auth response, client can use the session to reconnect and no need to request a new `token`.
106106

docs/en/docs/style-guide/index.mdx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ These guidelines apply to all documentation contributors: human writers, AI agen
1616

1717
| Page | What it covers |
1818
|------|----------------|
19-
| [Content Types](./content-types) | The nine content types — when to use each, required sections, and title format |
20-
| [Information Architecture](./information-architecture) | Standard user journey, sidebar ordering, and mixed-content rules |
21-
| [API Reference Standards](./api-reference) | Endpoint titles, parameter descriptions, cURL examples, and deprecation handling |
22-
| [Writing Guidelines](./writing-guidelines) | Voice, headings, code examples, callout boxes, links, and tables |
23-
| [Multilingual and Frontmatter](./multilingual) | Three-language sync rules, frontmatter fields, and what not to write |
19+
| [Content Types](/docs/style-guide/content-types) | The nine content types — when to use each, required sections, and title format |
20+
| [Information Architecture](/docs/style-guide/information-architecture) | Standard user journey, sidebar ordering, and mixed-content rules |
21+
| [API Reference Standards](/docs/style-guide/api-reference) | Endpoint titles, parameter descriptions, cURL examples, and deprecation handling |
22+
| [Writing Guidelines](/docs/style-guide/writing-guidelines) | Voice, headings, code examples, callout boxes, links, and tables |
23+
| [Multilingual and Frontmatter](/docs/style-guide/multilingual) | Three-language sync rules, frontmatter fields, and what not to write |
2424

2525
## Content architecture
2626

docs/zh-CN/docs/account/overview.mdx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ slug: overview
1818
| [profit_analysis_summary](./portfolio/profit-analysis-summary) | 组合整体盈亏汇总 |
1919
| [profit_analysis_detail](./portfolio/profit-analysis-detail) | 按持仓明细的盈亏拆分 |
2020
| [profit_analysis_by_market](./portfolio/profit-analysis-by-market) | 按市场分组的盈亏统计 |
21-
| [capital_flow](./portfolio/capital-flow) | 账户资金流水记录 |
21+
| [capital_flow](./portfolio/profit-analysis-flows) | 账户资金流水记录 |
2222
| [exchange_rates](./portfolio/exchange-rates) | 支持币种的当前汇率 |
2323

2424
## AlertContext
@@ -49,7 +49,7 @@ slug: overview
4949

5050
| 方法 | 说明 |
5151
|---|---|
52-
| [list_sharelist](./sharelist/list-sharelist) | 查看所有股单 |
53-
| [create_sharelist](./sharelist/create-sharelist) | 新建股单 |
54-
| [update_sharelist](./sharelist/update-sharelist) | 更新股单 |
55-
| [delete_sharelist](./sharelist/delete-sharelist) | 删除股单 |
52+
| [list_sharelist](/zh-CN/docs/content/sharelist/list-sharelist) | 查看所有股单 |
53+
| [create_sharelist](/zh-CN/docs/content/sharelist/create-sharelist) | 新建股单 |
54+
| [update_sharelist](/zh-CN/docs/content/sharelist/update-sharelist) | 更新股单 |
55+
| [delete_sharelist](/zh-CN/docs/content/sharelist/delete-sharelist) | 删除股单 |

0 commit comments

Comments
 (0)