Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
b9cd8ab
feat(dev): task #11
endless-bot May 8, 2026
9b875fc
feat(final): task #11
endless-bot May 8, 2026
024abeb
feat(sdk-docs): sync docs with openapi commit d7c2f6e
hogan-yuan May 9, 2026
4aede6b
fix(build): resolve OOM and mark.js ESM issues
hogan-yuan May 9, 2026
cf181d9
fix(autocorrect): add spaces around dash in trading_stats
hogan-yuan May 10, 2026
81a5ec4
fix(config): remove local-only superpowers exclude from srcExclude
hogan-yuan May 10, 2026
f63e3d4
chore: remove .temp from tracking and add to gitignore
hogan-yuan May 10, 2026
ec3fe63
chore(build): increase Node.js heap limit to 10GB
hogan-yuan May 10, 2026
092b483
fix(ssr): guard document access in PlatformStats with onMounted
hogan-yuan May 10, 2026
59f0458
docs(sdk): validate and fix response schemas from live API calls
hogan-yuan May 11, 2026
4c343f7
fix(autocorrect): add space in 标普 500 ETF in list_dca example
hogan-yuan May 11, 2026
4ffbf10
docs(sdk): fix schemas based on live Python SDK calls
hogan-yuan May 11, 2026
d315c93
docs(sdk): fix financial_report and profit_analysis_detail schemas
hogan-yuan May 11, 2026
532f1d1
docs(sdk): fill empty-list schemas from .pyi type annotations
hogan-yuan May 11, 2026
2ff02c1
docs(sdk): fix schemas from additional SDK calls
hogan-yuan May 11, 2026
9299281
fix(docs): correct start/end type to integer in profit_analysis_detai…
hogan-yuan May 11, 2026
f142381
docs(sdk): complete write-op and empty-list schemas from demo account
hogan-yuan May 11, 2026
b6b20a5
fix(docs): resolve disable/enable alert errors; add sequence to sdk r…
hogan-yuan May 11, 2026
90df0db
docs(alert): merge enable/disable into update_alert page
hogan-yuan May 13, 2026
eca58ef
fix(docs): update alert examples to use update(item) API
hogan-yuan May 13, 2026
141570f
docs(sdk): fix schemas from SDK calls on refreshed token
hogan-yuan May 13, 2026
36132be
docs(sidebar): reorganize sidebar structure and clean up titles
huacnlee May 13, 2026
1496a65
docs(sidebar): collapse Appendix/Protocol by default for zh-HK
huacnlee May 13, 2026
2e33a8f
docs: fix CLI command map and update overview with all categories
huacnlee May 13, 2026
90cb10a
.
huacnlee May 13, 2026
f57d854
.
huacnlee May 13, 2026
7922a5b
.
huacnlee May 13, 2026
d425d7a
Add changelog
huacnlee May 13, 2026
ce4421f
.
huacnlee May 13, 2026
78c66cf
.
huacnlee May 13, 2026
32450c9
fix(docs): replace counter_id with symbol in executives and list_dca …
hogan-yuan May 14, 2026
b1ba25f
fix(docs): remove remaining counter_id in zh-CN/zh-HK executives and …
hogan-yuan May 14, 2026
0711097
fix(docs): replace counter_id with symbol in Response Examples
hogan-yuan May 14, 2026
462054d
docs(sdk): fix Response Examples and Schemas based on live SDK calls
hogan-yuan May 14, 2026
24ae574
.
huacnlee May 13, 2026
08e94f1
fix(docs): correct broker_holding_daily and broker_holding_detail sch…
hogan-yuan May 14, 2026
d50dd1d
docs(sdk): fix issues 4/5/6/12 based on live SDK verification
hogan-yuan May 14, 2026
794458d
docs(alert): add cross-references between AlertListResponse/AlertSymb…
hogan-yuan May 14, 2026
322379b
docs(sdk): add cross-references between nested Schema types
hogan-yuan May 14, 2026
1c68a8c
fix(autocorrect): add spaces between numbers and Chinese in broker_ho…
hogan-yuan May 14, 2026
00f850e
docs(sdk): convert simple schemas to ∟ inline style
hogan-yuan May 14, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 2 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,5 @@ jobs:
- name: Build for canary
run: |
bun run build:canary
env:
NODE_OPTIONS: --max-old-space-size=10240 --expose-gc
1 change: 1 addition & 0 deletions .github/workflows/canary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ jobs:
run: bun run build:canary
env:
VITE_PORTAL_GATEWAY_BASE_URL: 'https://m.longbridge.xyz'
NODE_OPTIONS: --max-old-space-size=10240 --expose-gc

- name: Upload to Aliyun OSS
run: |
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,4 @@ docs/superpowers

# generated at build time by fetch-mcp-tools plugin
docs/.vitepress/data/mcp-tools.json
docs/.vitepress/.temp/
24 changes: 23 additions & 1 deletion docs/.vitepress/config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ export default defineConfig(
metaChunk: true,
ignoreDeadLinks: true,
base: '/',
buildConcurrency: 10,

srcExclude: ['README.md', ...regionSrcExclude],
rewrites: rewriteMarkdownPath,
Expand Down Expand Up @@ -180,7 +181,7 @@ export default defineConfig(

vite: {
ssr: {
noExternal: ['vue-i18n'],
noExternal: ['vue-i18n', 'mark.js'],
},
server: {
port: 8000,
Expand All @@ -203,6 +204,18 @@ export default defineConfig(
},
build: {
chunkSizeWarningLimit: 1000,
rollupOptions: {
output: {
manualChunks(id) {
if (id.includes('node_modules')) {
if (id.includes('shiki') || id.includes('shikiji')) return 'shiki'
if (id.includes('@vue') || id.includes('vue-demi')) return 'vue-vendor'
if (id.includes('unocss') || id.includes('@unocss')) return 'unocss'
return 'vendor'
}
},
},
},
},
resolve: {
alias: [
Expand All @@ -217,6 +230,15 @@ export default defineConfig(
],
},
plugins: [
{
name: 'gc-between-bundles',
buildEnd() {
if (typeof global.gc === 'function') {
global.gc()
console.log('✓ GC triggered after bundle')
}
},
},
{
name: 'yaml-transform',
transform(src: string, id: string) {
Expand Down
8 changes: 8 additions & 0 deletions docs/.vitepress/config/markdown.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,20 @@ import { GenTryItPlugin } from '../md-plugins/gen-try-it.ts'
import { NormalizeMdPlugin } from '../md-plugins/normalize-md'
import { CliCommandPlugin } from '../md-plugins/cli-command'
import { RegionFilterPlugin } from '../md-plugins/region-filter'
import openPineGrammar from '../grammars/openpine.tmLanguage.json'

export const markdownConfig: MarkdownOptions = {
image: {
lazyLoading: true,
},
math: true,
languages: [
{
...openPineGrammar,
name: 'openpine',
aliases: ['pine'],
},
],
codeTransformers: [
// We use `[!!code` in demo to prevent transformation, here we revert it back.
{
Expand Down
Loading
Loading