Skip to content

Commit

Permalink
make v2 as the current version
Browse files Browse the repository at this point in the history
  • Loading branch information
asforest committed Jun 19, 2024
1 parent f53bae2 commit cdd26d1
Show file tree
Hide file tree
Showing 34 changed files with 22 additions and 21 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
8 changes: 4 additions & 4 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const config = {
organizationName: 'BalloonUpdate', // 用户 & 组织名
projectName: 'McPatchDocs', // 仓库名
onBrokenLinks: 'throw',
onBrokenMarkdownLinks: 'warn',
onBrokenMarkdownLinks: 'throw',

// 国际化
i18n: {
Expand All @@ -34,11 +34,11 @@ const config = {
/** @type {import('@docusaurus/preset-classic').Options} */
({
docs: {
lastVersion: 'current',
lastVersion: 'v1-old',
versions: {
current: {
label: 'v1-old',
path: 'v1-old',
label: 'v2',
path: 'v2',
},
},
sidebarPath: './sidebars.js',
Expand Down
File renamed without changes
File renamed without changes
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ sidebar_position: 5

问题表现:大多数情况表现为客户端同时存在一个mod的新版本和旧版本两个文件导致冲突

解决办法:若已经出问题:参考[注意事项](/guide/caution)页面里面的“怎么删除管理端不存在的文件”。若未出问题:不要使用合并功能
解决办法:若已经出问题:参考[注意事项](../guide/caution.md)页面里面的“怎么删除管理端不存在的文件”。若未出问题:不要使用合并功能

问题原因:在之前版本中存在,但后来被删除的文件在合并时会被认为是没有加入过更新的文件,也就导致这些文件没有被正确的删除

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ McPatchClient.jar需要放到`.minecraft/`目录下(如果未开启版本隔

`小小提示`:虽然不可以更新客户端程序本身,但是更新配置文件是允许的,但缺点是第二次启动时新的配置文件才会生效

`解决方法`:可以参考[热升级](/advance/dynamic-loader)使用DynamicLoader,缺点同样是是第二次启动时才会生效
`解决方法`:可以参考[热升级](../advance/dynamic-loader.md)使用DynamicLoader,缺点同样是是第二次启动时才会生效

### PCL的修改窗口标题改错了窗口

Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ sidebar_position: 6

---

McPatch客户端支持通过hmcl的下载整合包功能在线安装,点击[这里](/advance/spell-start)来阅读详细教程
McPatch客户端支持通过hmcl的下载整合包功能在线安装,点击[这里](../advance/spell-start.md)来阅读详细教程

### 游戏崩溃

Expand Down Expand Up @@ -110,4 +110,4 @@ Android平台通常使用ARM处理器和LPDDR内存,无论是处理器功耗

---

ModClient支持给McPatchClient.jar本身做自更新,可以点击[这里](/advance/modclient-self-update)阅读详细的教程
ModClient支持给McPatchClient.jar本身做自更新,可以点击[这里](../advance/modclient-self-update.md)阅读详细的教程
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ sidebar_position: 4

---

最后,请请仔细阅读[注意事项](/guide/caution),这里写的都是最、最、最常见的问题,看过后帮你少踩很多坑!内容包括但不限于:
最后,请请仔细阅读[注意事项](../guide/caution.md),这里写的都是最、最、最常见的问题,看过后帮你少踩很多坑!内容包括但不限于:

1. 不小心发错版本怎么办?
2. 为什么个别文件会更新失败?
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ sidebar_position: 2

已经发布的更新包不支持撤回,更不能手动删除文件,这会导致后面更新的文件数据错乱,且不会触发任何的报错弹框。此时应该再打一个新的版本来修复上个版本里的问题

若实在需要撤回这个版本,请参考[版本发错了怎么办](tutorial-notices.md#版本发错了怎么办)
若实在需要撤回这个版本,请参考[版本发错了怎么办](./caution.md#版本发错了怎么办)

:::

Expand All @@ -85,7 +85,7 @@ sidebar_position: 2

1. worksapce工作空间目录:服主日常维护客户端文件内容的地方
2. history历史目录:用来作为对比,以计算你对workspace目录做了哪些修改的目录
+ 此目录由程序自动维护,切勿手动修改,会导致数据错乱,若不小心修改了,参考[注意事项](/guide/caution#不小心修改了history目录)来还原
+ 此目录由程序自动维护,切勿手动修改,会导致数据错乱,若不小心修改了,参考[注意事项](./caution.md#不小心修改了history目录)来还原
3. public公共目录:用来存放历史更新包,
+ 版本列表文件(versions.txt)—— 这个文件仅1.1版本的管理端才有
+ 更新包文件(.zip)—— 这个文件仅1.1版本的管理端才有
File renamed without changes.
File renamed without changes.
File renamed without changes.
9 changes: 9 additions & 0 deletions versioned_sidebars/version-v1-old-sidebars.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"tutorialSidebar": [
{
"type": "autogenerated",
"dirName": "."
}
]
}

8 changes: 0 additions & 8 deletions versioned_sidebars/version-v2-sidebars.json

This file was deleted.

4 changes: 2 additions & 2 deletions versions.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[
"v2",
"v1"
"v1",
"v1-old"
]

0 comments on commit cdd26d1

Please sign in to comment.