From 384f8594f276dcb0288f8158af3e0f3b03999050 Mon Sep 17 00:00:00 2001 From: pompurin404 Date: Wed, 18 Sep 2024 21:00:51 +0800 Subject: [PATCH] update url --- .github/ISSUE_TEMPLATE/bug_report_zh.yml | 2 +- .github/ISSUE_TEMPLATE/config.yml | 2 +- src/renderer/src/App.tsx | 2 +- src/renderer/src/pages/override.tsx | 6 +++--- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug_report_zh.yml b/.github/ISSUE_TEMPLATE/bug_report_zh.yml index 359c0ab1..02206fcf 100644 --- a/.github/ISSUE_TEMPLATE/bug_report_zh.yml +++ b/.github/ISSUE_TEMPLATE/bug_report_zh.yml @@ -10,7 +10,7 @@ body: options: - label: 我已在标题简短的描述了我所遇到的问题 - label: 我未在[Issue Tracker](./?q=is%3Aissue)中找到我要提出的问题 - - label: 我未在[常见问题](https://mihomo.party/guides/issue/general/)中找到我要提出的问题 + - label: 我未在[常见问题](https://mihomo.party/docs/issues/common)中找到我要提出的问题 - label: 这是GUI程序的问题,而不是内核程序的问题 - label: 我已经使用最新的测试版本测试过,问题依旧存在 diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml index 4ba9733c..5355170a 100644 --- a/.github/ISSUE_TEMPLATE/config.yml +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -2,4 +2,4 @@ blank_issues_enabled: false contact_links: - name: '常见问题' about: '提出问题前请先查看常见问题' - url: 'https://mihomo.party/guides/issue/general/' + url: 'https://mihomo.party/docs/issues/common' diff --git a/src/renderer/src/App.tsx b/src/renderer/src/App.tsx index 7d143f7b..f99576ec 100644 --- a/src/renderer/src/App.tsx +++ b/src/renderer/src/App.tsx @@ -356,7 +356,7 @@ export const firstDriver = driver({ popover: { title: '覆写', description: - 'Mihomo Party 提供强大的覆写功能,可以对您导入的订阅配置进行个性化修改,如添加规则、自定义代理组等,您可以直接导入别人写好的覆写文件,也可以自己动手编写,编辑好覆写文件一定要记得在需要覆写的订阅上启用,覆写文件的语法请参考 官方文档', + 'Mihomo Party 提供强大的覆写功能,可以对您导入的订阅配置进行个性化修改,如添加规则、自定义代理组等,您可以直接导入别人写好的覆写文件,也可以自己动手编写,编辑好覆写文件一定要记得在需要覆写的订阅上启用,覆写文件的语法请参考 官方文档', side: 'right', align: 'center' } diff --git a/src/renderer/src/pages/override.tsx b/src/renderer/src/pages/override.tsx index c23ca69c..fe0e6f79 100644 --- a/src/renderer/src/pages/override.tsx +++ b/src/renderer/src/pages/override.tsx @@ -131,7 +131,7 @@ const Override: React.FC = () => { isIconOnly className="app-nodrag" onPress={() => { - open('https://mihomo.party/guides/function/override/yaml/') + open('https://mihomo.party/docs/guide/override') }} > @@ -210,14 +210,14 @@ const Override: React.FC = () => { await addOverrideItem({ name: '新建YAML', type: 'local', - file: '# https://mihomo.party/guides/function/override/yaml/', + file: '# https://mihomo.party/docs/guide/override/yaml', ext: 'yaml' }) } else if (key === 'new-js') { await addOverrideItem({ name: '新建JS', type: 'local', - file: '// https://mihomo.party/guides/function/override/js/\nfunction main(config) {\n return config\n}', + file: '// https://mihomo.party/docs/guide/override/javascript\nfunction main(config) {\n return config\n}', ext: 'js' }) }