Skip to content

fix(docs): fix DCA SDKLinks method names and remove delete_dca page#1033

Merged
huacnlee merged 2 commits into
mainfrom
fix/dca-sdk-links
May 22, 2026
Merged

fix(docs): fix DCA SDKLinks method names and remove delete_dca page#1033
huacnlee merged 2 commits into
mainfrom
fix/dca-sdk-links

Conversation

@hogan-yuan
Copy link
Copy Markdown
Member

@hogan-yuan hogan-yuan commented May 22, 2026

Summary

Two issues fixed in the DCA documentation (all 3 locales: zh-CN, zh-HK, en):

  1. SDKLinks method names were wrong — the <SDKLinks> components referenced non-existent method names, causing broken SDK code links
  2. delete_dca.md removed — the SDK has no delete method; the CLI example on that page already used dca stop, so the page was redundant with stop_dca.md

SDKLinks fixes

File Before After
list_dca.md method="list_dca" method="list"
create_dca.md method="create_dca" method="create"
update_dca.md method="update_dca" method="update"
dca_history.md method="dca_history" method="history"

Already correct (no change): pause, resume, stop, stats, check_support, calc_date, set_reminder

Removed files (3 locales)

  • docs/{locale}/docs/account/dca/delete_dca.md — SDK has no delete method; functionality is covered by stop_dca.md

Test plan

  • autocorrect --lint docs/ — no issues ✅
  • Local dev server verified (npm run dev) ✅

🤖 Generated with Claude Code

- list_dca → list
- create_dca → create
- update_dca → update
- dca_history → history
- delete_dca → stop (SDK has no delete; CLI example uses 'dca stop')
@hogan-yuan hogan-yuan marked this pull request as ready for review May 22, 2026 02:50
@hogan-yuan hogan-yuan changed the title fix(docs): correct DCA SDKLinks method names fix(docs): fix DCA SDKLinks method names and remove delete_dca page May 22, 2026
@huacnlee huacnlee merged commit e89d4ba into main May 22, 2026
2 checks passed
@huacnlee huacnlee deleted the fix/dca-sdk-links branch May 22, 2026 03:36
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.

2 participants