Skip to content

fix(docs): point stale doc links to the pages' current URLs - #1300

Merged
twosugar merged 1 commit into
mainfrom
fix/docs-broken-links
Oct 23, 2026
Merged

twosugar merged 1 commit into
mainfrom
fix/docs-broken-links

Conversation

@twosugar

Copy link
Copy Markdown
Collaborator

What changed

Links that 404 on open.longbridge.com because the target pages moved or were renamed (#1001 sidebar reorganization, #1033 delete_dca removal) without the links being updated. Applied to en, zh-CN and zh-HK (73 files, 121 lines, links only).

Old link (404) New link Where
quote/pull/trade-day market/trade-days quote/overview, socket/biz_command
quote/pull/trade-session market/trade-session same
quote/pull/capital_flow_intraday / capital_distribution capital-flow-intraday / capital-distribution (slugs were always hyphenated) same
quote/individual/watchlist_* (4) quote/watchlist/watchlist_* quote/overview
fundamental/market/market-status, unusual-items market/market-status, market/unusual-items fundamental/overview
fundamental/calendar/* (5) market/calendar/* fundamental/overview
account/dca/delete-dca account/dca/stop-dca (row renamed stop_dca; the delete page was removed in #1033 and already ran dca stop) account/overview
/docs/trade/, /docs/quote/ (folder URLs, no page) /docs/trade/trade-overview, /docs/quote/overview 20 CLI pages
docs/#rate-limit (bad relative link) /docs#rate-limit en qa/general

Source: broken-link list from LBUS UAT (ClickUp z9dbb3kc39). The test site open.longbridge.xyz still serves May builds left in OSS for some old paths (e.g. /docs/quote/pull/trade-day, last-modified 2026-05-16), which hid these there.

Verification

  • All 55 resolved target URLs return 200 on open.longbridge.com.
  • Content check: for each old path still on the test site, the intro text and CLI command match the new page (titles were reworded, permission tag Basic → Free).
  • Independent review of the diff: only link targets changed, no frontmatter touched, no remaining links of the same kind across docs/*/docs.
  • Not done: local site build / clicking through in a browser.

🤖 Generated with Claude Code

Several pages moved or were renamed (#1001 sidebar reorganization,
#1033 delete_dca removal) without updating the links that point to
them, so those links 404 on open.longbridge.com. The test site still
serves leftover May builds from OSS, which hid the problem there.

- quote/overview, socket/biz_command: trade-day -> market/trade-days,
  trade-session -> market/trade-session, capital_* -> capital-*
  (the slugs were always hyphenated), individual/watchlist_* ->
  watchlist/watchlist_*
- fundamental/overview: market-status, unusual-items and the five
  calendars now link to market/...
- account/overview: delete_dca row -> stop_dca (the delete page was
  removed in #1033; it already ran `dca stop`)
- cli/**: folder links /docs/trade/ and /docs/quote/ -> trade-overview
  and quote/overview
- en qa/general: fix the relative Rate Limit link

Applied to en, zh-CN and zh-HK. All 55 resolved target URLs return
200 on open.longbridge.com.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@twosugar
twosugar merged commit ce1db4d into main Oct 23, 2026
2 checks passed
@twosugar
twosugar deleted the fix/docs-broken-links branch October 23, 2026 07:11
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.

1 participant