Commit Graph

249 Commits

Author SHA1 Message Date
ihavecoke c9219fb0af Change some text 2022-05-09 15:46:06 +08:00
ihavecoke 02e7b9d54a Fix auto link to current locale doc in github 2022-05-09 15:33:24 +08:00
ihavecoke 1e7048f61a 部分功能文案添加多语言支持 2022-05-09 15:33:24 +08:00
sunfuze 3ef2daa68c Merge pull request #103 from sunfuze/main
refresh token no need param aaid
2022-05-09 15:31:02 +08:00
Joe 032d846fed refresh token no need param aaid 2022-05-09 15:19:10 +08:00
sky b4964c3ea7 add example param demo in zh-CN and zh-HK 2022-05-09 14:02:27 +08:00
sunfuze 36123021bf I18n (#99)
* convert to zh-HK

* support en

* corrent some words

* use HTTP API instead of Rest Api

* correct some translation error

* fix english writing standard
2022-05-09 13:59:42 +08:00
sky 08baa46a5b 修改参数描述的信息 2022-05-09 12:02:44 +08:00
mixbo f9b5740283 Show request example section if request not exisit paramaters field (#98) 2022-05-09 11:19:21 +08:00
sky-lft 78d4f67b53 修改 cashInfos 字段在文档中的介绍 (#97)
Co-authored-by: sky <futao.li@longbridge.sg>
2022-05-08 23:16:07 +08:00
sky-lft 6d79311311 Asset/code example (#96) 2022-05-08 01:08:13 +08:00
Jason Lee eb6801d6c5 Update how-to-access-api.md 2022-05-07 23:29:34 +08:00
Jason Lee 7e4e44391d Update getting-started.md 2022-05-07 23:22:51 +08:00
Jason Lee 2adb156d8b Update getting-started.md 2022-05-07 22:34:48 +08:00
Jason Lee d2e896a06a Update getting-started.md 2022-05-07 22:29:35 +08:00
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