Commit Graph

884 Commits

Author SHA1 Message Date
mixbo b5a1843588 Update readme text (#95) 2022-05-07 22:27:56 +08:00
mixbo e12c060dfc Support local dev redirect to /docs (#94)
* Local dev server index should redirect to /docs

* Nav item developer redirect to open domain
2022-05-07 22:24:42 +08:00
Jason Lee 7156ff9896 Fix previus, next page link. 2022-05-07 22:01:41 +08:00
Jason Lee 90c2eab7b9 统一 API Host 用 https://openapi.longbridge.global 2022-05-07 22:01:41 +08:00
webbillion cfb4967732 现在首页链接会在当前窗口打开 (#93) 2022-05-07 21:28:29 +08:00
Jason Lee 62242751d7 Add getting-started 2022-05-07 20:36:25 +08:00
Jason Lee 9bbfc61c8c Fix invalid locale redirect bug 2022-05-07 20:05:09 +08:00
白泽 1d5325a0fe Fix how-to-access-api doc (#91)
* fix how-to-access-api.md on simple chinese

* fix Access Token

* fix app secret

* fix url

* remove import urllib

* fix app key and app secret

Co-authored-by: chaojiang <chao.jiang@longbridge.sg>
2022-05-07 18:36:19 +08:00
白泽 7bb9c9d1ed Add getting-developed doc on en and traditional (#81)
* modify error code, add en doc and traditional doc

* fix error message

* Access Token add quote

* fix zh-HK how-to-access-api

Co-authored-by: chaojiang <chao.jiang@longbridge.sg>
2022-05-07 17:42:20 +08:00
QFCG e14b583f48 提交第一版多语言版本 (#84)
* 提交第一版多语言版本

* fix language to english

Co-authored-by: 梁轩伟 <xuanwei.liang@longbridge.sg>
2022-05-07 17:41:23 +08:00
sky-lft 4db2279dcb Asset/i18n new (#86)
* [mod] 资产英文翻译和繁体翻译

* [mod] 翻译返回示例的语言

* [mod] 接口描述改成The API开头

* [mod] 根据review修改部分翻译

Co-authored-by: sky <futao.li@longbridge.sg>
2022-05-07 17:10:35 +08:00
mixbo cd6c6383e3 Revert h1 defined in doc (#90) 2022-05-07 16:29:25 +08:00
mixbo 5d4d0a176e Add h1 to doc (#89) 2022-05-07 16:10:54 +08:00
mixbo 5bda3e2fff Change doc id (#88) 2022-05-07 14:57:08 +08:00
Jason Lee ffbf43248b Merge pull request #87 from nowa/patch-1
Update diff-ws-tcp.md
2022-05-07 14:32:20 +08:00
Nowa Zhu 6a0dbe0922 Update diff-ws-tcp.md 2022-05-07 14:31:10 +08:00
Jason Lee ff47fee2e5 Update .autocorrectrc 2022-05-07 10:49:57 +08:00
mixbo c795a9548c Create swagger dir if not exist (#83) 2022-05-06 21:46:35 +08:00
mixbo 84b5136ce9 Move swagger doc default locale to zh-CN dir (#82) 2022-05-06 21:38:56 +08:00
LuGHuaaa 2c1600b195 Add Order en / zh-HK (#80)
Co-authored-by: guohua.lu <guohua.lu@longbridge.sg>
2022-05-06 18:18:49 +08:00
Jason Lee c0cb0143bc Merge pull request #79 from longbridgeapp/fix-word-spell
Fix word spell
2022-05-06 18:15:50 +08:00
webbillion c563cefd02 添加新的语言选择菜单 (#78)
* 添加 多语言切换组件

* 暂时修复服务端渲染报错的问题

* 适配服务端渲染使用 hook 获取 locale

* 优化简体中文路径展示

* 现在移动端侧边栏会隐藏多语言选项

* 移除多余注释

* 现在 locale 的 cookie 会写在根域名下面

* 优化获取根域名的方式

* 现在下拉菜单会在点击其它地方时关闭

* 修复语言 cookie 过期的问题

Co-authored-by: 于跃 <yue.yu_@longbridge.sg>
2022-05-06 17:48:46 +08:00
Jason Lee 422935987c AutoCorrect fix word spell 2022-05-06 17:46:06 +08:00
Jason Lee b5793256a5 Add .autocorretrc config file. 2022-05-06 17:29:25 +08:00
mixbo fd60f50af9 Refactor loading component (#77) 2022-05-06 00:15:48 +08:00
mixbo 00023d3d32 Fix loading component style error (#76) 2022-05-06 00:06:25 +08:00
mixbo dfc4ef54fb Merge pull request #75 from longbridgeapp/fix/navbar-link
Fix appeared multiple active navbar item
2022-05-05 23:55:14 +08:00
ihavecoke 397ec6ff91 Fix appeared multiple active navbar item 2022-05-05 23:54:22 +08:00
mixbo b0956da4e5 Merge pull request #74 from longbridgeapp/fix/nav-item-margin
修复导航栏边距问题
2022-05-05 23:46:50 +08:00
于跃 26bfc66360 修复导航栏链接边距问题 2022-05-05 23:44:50 +08:00
mixbo 417da37a2b Merge pull request #73 from longbridgeapp/feat/ci
Support canary branch deploy canary env
2022-05-05 18:49:08 +08:00
ihavecoke 3aa5f75cbc Support canary branch deploy canary env 2022-05-05 18:48:34 +08:00
mixbo 68ef7a440f Merge pull request #72 from longbridgeapp/fix/import-error
解决 Loading 引用 Bug
2022-05-05 18:44:01 +08:00
ihavecoke a2f2799fcc 解决 Loading 引用 Bug 2022-05-05 18:41:39 +08:00
mixbo a72a6e45ed Merge pull request #71 from longbridgeapp/fix/hooks
修复 sdk 页面 hooks 使用方法错误
2022-05-05 18:34:43 +08:00
ihavecoke 0ede1b1051 修复 sdk 页面 hooks 使用方法错误
(cherry picked from commit f84cf80050)
2022-05-05 15:35:33 +08:00
LuGHuaaa def2c8310e Fix typo (#69)
* fix typo

* fix response message

* fix typo

Co-authored-by: guohua.lu <guohua.lu@longbridge.sg>
2022-05-05 15:10:51 +08:00
mixbo 7801cee1b7 修复浏览器回退时一些页面 404 的Bug (#68) 2022-05-05 14:42:59 +08:00
QFCG d3caa067ef 增加 Protobuf 说明;接入方式增加 SDK;'协议指令' -> '业务指令' (#66)
* 增加proto说明;接入方式增加sdk;'协议指令'=>'业务指令'

* sdk=>SDK

Co-authored-by: 梁轩伟 <xuanwei.liang@longbridge.sg>
2022-05-05 10:28:19 +08:00
Jason Lee 38b8e5b032 Merge pull request #67 from longbridgeapp/feat/i18n
支持多语言
2022-05-05 09:56:27 +08:00
ihavecoke 53c8d88d0a Header support en locale 2022-05-04 18:36:28 +08:00
ihavecoke 7848c99ea4 Swagger 文档支持动态生成多语言文件 2022-05-04 18:34:51 +08:00
ihavecoke 6a65d5b04f 使用 YES or NO 表示参数是否必填,以适配模板在多语言场景下的内容生成 2022-05-04 18:15:18 +08:00
ihavecoke 2ece823b5c Add base i18n folder 2022-05-04 18:12:10 +08:00
ihavecoke f79add93ff Add i18n start script 2022-05-04 18:11:35 +08:00
ihavecoke 714f093ab8 Add select locale component 2022-05-04 18:11:15 +08:00
sunfuze 173e2538f8 Update protocol_overview.md 2022-04-29 17:49:18 +08:00
sunfuze dd03fa580b 描述要清晰 2022-04-29 17:31:46 +08:00
sunfuze 6ee4e0e724 Merge pull request #65 from sunfuze/main
optimize socket documents
2022-04-29 17:21:40 +08:00
sunfuze 6ce19d0662 Merge branch 'main' into main 2022-04-29 17:21:33 +08:00