28 Commits

Author SHA1 Message Date
Jason Lee 0517c68999 Upgrade Docusaurus v3.x (#253)
- [x] `@apply` 无法工作, https://github.com/facebook/docusaurus/issues/10005
- [x] `bun run build` 无法工作:`[ERROR] Client bundle compiled with errors
therefore further build is impossible.`
2025-04-02 18:05:33 +08:00
Jason Lee cfec198ff2 Remove Swagger, just use simple Markdown files. (#314) 2025-03-20 16:13:25 +08:00
Jason Lee 8a777a29c2 chore: Switch to use Bun to dev and build. (#312) 2025-03-20 14:15:43 +08:00
ihavecoke 3ed9935014 feat: Add support for llms.txt file deployment (#306) 2025-03-19 17:40:18 +08:00
ihavecoke 5c82112707 feat: Implement raw markdown file processing and distribution (#305) 2025-03-19 14:25:33 +08:00
Jason Lee 3db9fde5ed 重构 API 文档结构,给每个文件增加 SDK 的文件链接。 (#268)
<img width="903" alt="image"
src="https://github.com/longportapp/openapi-website/assets/5518/c26d8c42-ae93-4acb-9550-286a52bf210a">
2024-05-20 19:28:41 +08:00
Jason Lee 11764eb201 Upgrade Tailwind CSS v3.3 2023-03-29 11:01:26 +08:00
Jason Lee c23a5320b1 Upgrade docusaurus@v2.4.0 and improve theme. 2023-03-28 19:23:50 +08:00
Jason Lee e55425bef4 查找替换 Longbridge 改为 LongPort 2023-03-09 14:39:57 +08:00
王一旋 9be1568825 Use cross-env to inject env 2022-06-06 17:38:10 +08:00
王一旋 44bd7b4bc8 Add Tabs component
微调 Tabs 样式
2022-06-06 16:39:16 +08:00
webbillion 279f42cbb4 WIP 调整 SDK 页面,并添加 markdown 自定义内容 (#134)
* 调整 SDK 页面

* 升级 tailwind 和 sdk 文件位置
2022-05-13 11:01:08 +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
webbillion c563cefd02 添加新的语言选择菜单 (#78)
* 添加 多语言切换组件

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

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

* 优化简体中文路径展示

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

* 移除多余注释

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

* 优化获取根域名的方式

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

* 修复语言 cookie 过期的问题

Co-authored-by: 于跃 <yue.yu_@longbridge.sg>
2022-05-06 17:48:46 +08:00
ihavecoke f79add93ff Add i18n start script 2022-05-04 18:11:35 +08:00
Joe 2a9d05019a add mermaid support; add binary protocol document 2022-04-28 20:34:21 +08:00
Jason Lee c97b6e225f Fix build swapper docs on canary deployment 2022-04-25 20:10:18 +08:00
Jason Lee fe909f7911 调整 Swagger 自动生成的 Markdown 文件 Git ignore,只在发布的时候走 CI build 2022-04-25 19:30:26 +08:00
Jason Lee 815f1ea1d4 改进 yarn dev:swagger 避免 Crash,同时监控 templates 2022-04-25 17:20:43 +08:00
ihavecoke f54554638c Add more docs 2022-04-25 14:51:46 +08:00
ihavecoke c1372fa926 Add script to watch swagger config convert to markdown 2022-04-25 14:51:46 +08:00
ihavecoke 02520b0026 Add swagger to generate docs 2022-04-25 14:51:44 +08:00
Jason Lee 00921ec58c 引入 TailwindCSS,引入 GitHub Markdown Style 2022-04-24 17:21:55 +08:00
于跃 f49721f5d6 feat: add image preview function and remove last updated 2022-04-22 14:19:56 +08:00
ihavecoke 50611300f2 Add custom webpack config for change webpack dist path 2022-04-17 20:28:31 +08:00
ihavecoke b839be66fc Change build script out directory 2022-04-15 11:56:07 +08:00
ihavecoke d75f464b0a Add canary & release build script 2022-04-14 15:15:37 +08:00
ihavecoke e94ac5b5e2 setup project base files 2022-04-14 12:09:45 +08:00