Lucien Shaw
28ca820784
docs: 完善文档站的代码检查和涉及的文本替换 ( #14156 )
...
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-09-18 23:53:59 +08:00
SherkeyXD
ada9b0849b
docs(rft): 切换文档主题至 vuepress-theme-plume ( #13821 )
...
Co-authored-by: Lucien Shaw <myxlc55@outlook.com >
Co-authored-by: MistEO <mistereo@hotmail.com >
2025-09-18 18:26:14 +08:00
Lucien Shaw
bb735b6ee7
feat: 为官网首页添加多语言支持 ( #13943 )
...
* build: 引入react i18n组件
* i18n: 加载多语言支持模块
* i18n: 添加语言切换按钮
* i18n: 添加网页下载按钮多语言支持
* build: 更新typescript依赖
* fix: 修复callback导致语言切换不生效的问题
* i18n: 完成首页所有元素的多语言支持
* chore: 删除冗余代码
* i18n: 优化了语言切换按钮的交互逻辑并添加多语言占位符
* chore: 规范了部分代码的格式并删除冗余代码
* i18n: ko-kr
* chore: kr 미러 to mirror
* fix: 修复检测和切换语言的问题
* chore: 调整了尾注用户协议部分的显示方式
* refactor: 更改首页尾注的显示方式
* style: 统一Trans元素为self-close样式
* i18n: zh-tw
* fix: 修复换行和块之间的空格问题并补上缺失的翻译
* feat: 更改首页语言也会同步更改文档按钮对应的链接
* refactor: 将弃用的MutableRefObject替换为RefObject
* feat: 语言切换按钮的选项使用对应的语言渲染
* feat: 统一管理所有语言信息并开放读取语言接口
* fix: 去除按钮在鼠标悬停时出现的下划线
* style: 统一不使用行尾分号
* build: 更新部分依赖
* fix: 修正不成对的Trans块对应的本地化文本
* feat: 移动设备横屏浏览时出现垂直滚动条
移动设备横屏时,可能仍能出现下载按钮,全部展开时可能过高,此时出现垂直滚动条,方便用户浏览所有内容
* i18n: JP
* fix: 强制隐藏下载链接容器的水平滚动条
* fix: 将下载链接容器设置为占满宽度
* i18n: JP edits
* fix: 修复滚动条引起的上端裁切问题
* feat: action按钮组根据实际宽度调整布局
不再依靠md:xxx的固定阈值区分小屏和中屏及以上,而是根据不同语言的按钮宽度动态计算是否溢出,从而决定排布方式
* feat: 使用上下文管理布局
使用layoutStateContext来管理布局相关状态,主要是宽度溢出检测
* fix: Copilot 说我们是小驼峰
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* perf: Copilot 说我们不再需要下划线和它的偏移
我还是第一次知道这里下划线这么难看
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
* feat: 把别的按钮样式抄到语言切换按钮上
* style: 复活 Prettier
这 Prettier 什么鬼情况
我没有要求你把所有文件都格式化,我不是恶魔,后面忘了,总之我可能得狠狠恢复你了。真的。
所以这缩进怎么又 2 又 4 的
* chore: Auto update by pre-commit hooks [skip changelog]
* refactor: 更改副标题和尾注的元素class以优化动画和显示
* style: 将typescript代码文件的缩进统一为2
* fix: 改正测速进行中的i18n key
* refactor: 删除link类的下划线css定义
* build: 更新prettier依赖和相关配置
* style: prettier美化
* chore: 尝试规避github ci找不到插件的错误
* chore: Auto update by pre-commit hooks [skip changelog]
* refactor: 使用.prettierrc.js管理官网相关文件的美化配置
* refactor: 暂时取消自动import排序美化
* fix: 下载按钮动画问题
* feat: 响应式设计测量宽度时,临时隐藏相关元素
* style: prettier
* refactor: 下载按钮组居中对齐
* feat: 让系统架构提示动画从上到下
* refactor: 优化第二行按钮动画
* refactor: 优化协议部分文本动画
* i18n: 为一句过长的日语添加换行符
* fix: 修复进度条样式
* refactor: 不将i18n作为触发器
* chore: 首页图片资源文件路径变更
* chore: 添加多语言图片占位
* i18n: 首页图片支持多语言切换
* chore: 更新日文的首页截图
* chore: Auto update by pre-commit hooks [skip changelog]
* fix: 在首页的文档链接后补全斜杠
* chore: 更新prettier的EOL设置
* style: prettier美化
* chore: pre-commit复活
* refactor: 统一languageFilename变量名
* refactor: 移除加载截图模块的dead code
* i18n: 为mirrorchyan的跳转链接添加多语言支持
mirrorchyan提供简中和英语,因此其他语言需要fallback到二者之一。
- 繁体中文跳转到简体中文
- 日语和韩语跳转到英文
* fix: dead code删除不彻底
* i18n: 去除除了简中以外的”海外源“字样
* i18n: 规范化简中和繁中的locale文本
* i18n:调整英文文本的语法和表达
* i18n: 规范化日文文本
* chore: prettier
* i18n: KR screenshot
* i18n: txwy screenshot
* chore: Auto update by pre-commit hooks [skip changelog]
* i18n: zh-tw tweak
* refactor: mirror酱相关的两处key更名
* docs: 优化中文和英文的部分语句表达方式
Linux 下载那句我怎么看怎么觉得怪
我想改成 `下载完成(Linux 版本仅包含动态库与资源文件)` `Download completed (Linux version includes dynamic libraries and resource files only)`
但感觉改完也很怪
感觉不如把这俩直接换成 CLI 的下载
* i18n: fix version info loading error message and pluralize downloads for zh-cn
* chore: update en-us screens dark and light
* chore: Auto update by pre-commit hooks [skip changelog]
* fix: focus
* chore: Auto update by pre-commit hooks [skip changelog]
* refactor: 去除多余类型标记
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
---------
Co-authored-by: HX3N <scarlet7518@gmail.com >
Co-authored-by: momomochi987 <as99us301@gmail.com >
Co-authored-by: Manicsteiner <Manicsteiner@outlook.com >
Co-authored-by: Rbqwow <55343783+Rbqwow@users.noreply.github.com >
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com >
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Constrat <56174894+Constrat@users.noreply.github.com >
2025-09-17 21:19:07 +08:00
SherkeyXD
4d780df455
chore(deps): bump dependencies ( #13121 )
2025-07-16 14:58:35 +08:00
Rbqwow
3bb0833704
build: 更新文档主题库 ( #11627 )
...
* build: 更新网站依赖
* build:更新vphope版本
* build: 怎么忘记加这个了
* fix: 修复构建错误
* chore: fix Vite CJS Node API deprecated warning
* chore: log
* perf: turbo 添加文档 cache
* perf: 注释掉新版不读取的切换语言公告内容
但公告这个属性得留着 不留着就没有切换语言的弹窗了
* fix: 修复字体问题
* build: update package version
* docs: remove root locale
* docs: add author
* ci: update node version
* build: turbo一直叫我更新,于是我更新了
* docs: update package
* docs: 再见吧牛牛今晚我就要远航
* docs: fix root locale problem
* docs: remove unused command
* feat: 牛兮归来!
* build: update turbo
* chore: 语言提醒怎么又没了 加回来
---------
Co-authored-by: SherkeyXD <57581480+SherkeyXD@users.noreply.github.com >
2025-04-09 21:09:31 +08:00
SherkeyXD
1a2619419f
chore: fix docsearch base
2024-07-27 02:05:38 +08:00
SherkeyXD
c2b980317a
chore: rollback @vuepress/plugin-docsearch version
...
close #9835
2024-07-27 00:51:34 +08:00
SherkeyXD
ab8a1f1782
docs: 修复 docsearch 路径错误的问题
2024-07-22 19:53:21 +08:00
alisa
994be62578
feat: update turbo to v2
2024-07-09 11:00:17 +08:00
uye
57fbe81be1
refactor: website docs **translation needed** ( #9287 )
...
Co-authored-by: wlwxj <d1ve_wh4le@outlook.com >
Co-authored-by: Rbqwow <55343783+Rbqwow@users.noreply.github.com >
Co-authored-by: Constrat <56174894+Constrat@users.noreply.github.com >
Co-authored-by: HX3N <scarlet7518@gmail.com >
Co-authored-by: Wallsman <63186641+wallsman@users.noreply.github.com >
Co-authored-by: Loong <wangl.cc@outlook.com >
Co-authored-by: 神代綺凛 <i@loli.best >
Co-authored-by: SherkeyXD <57581480+SherkeyXD@users.noreply.github.com >
2024-07-08 01:57:20 +08:00
Alisa
c2bd0133ba
refactor: 合并 MAA Website 仓库 ( #8886 )
...
* chore: migrate maa website
* ci: change docs build test to website build test
* fix: rename artifact name to dist
* ci: add workflow to deploy website to azure
2024-04-24 09:31:52 +08:00
alisa
01c96431ce
feat: add google analytics to docs
2024-04-23 10:24:48 +08:00
SherkeyXD
17ac702c8f
docs: 升级依赖,移除package-lock.json
2024-02-11 00:19:46 +08:00
SherkeyXD
e22aa3a217
docs: 升级依赖,调整视觉效果
2024-02-03 19:24:24 +00:00
Sherkey
073bedb3db
feat(docs): 文档大升级 ( #5885 )
...
+ 迁移到[vuepress-hope](https://theme-hope.vuejs.press/zh/ )主题
该主题有很多好用的特性,包括但不限于mermaid流程图,charts/echarts图表,更美观的提示卡片等
+ 优化的侧边栏和导航栏
+ 内置图标支持
+ 使用卡片来优化阅读体验
+ 修复了jsonc和cpp的高亮问题
2023-08-10 09:53:28 +08:00
SherkeyXD
73f05342a2
docs: 添加sitemap支持
2023-08-02 21:38:35 +08:00
bakashigure
232fa1e3f4
feat: 随机展示简中文档中模拟器支持列表
2023-06-15 00:22:22 +08:00
Horror Proton
500eb4713e
docs: transform doc from maa-website repo
...
ref https://github.com/MaaAssistantArknights/maa-website/pull/94
2023-04-29 16:39:53 +08:00
zhangweijian97
4b913695c3
docs: 新增文档-写给萌新的发电全流程以及修改了package.json
2022-05-23 23:44:26 +08:00
Alisa
7dcec8d949
Update package.json
2022-05-07 03:05:30 +08:00
bakashigure
70301c63b0
feat: 新增文档
2022-05-07 02:04:48 +08:00