更新项目文件
This commit is contained in:
parent
433ff37ca1
commit
4ad68dea7c
17
.idea/workspace.xml
generated
17
.idea/workspace.xml
generated
@ -4,7 +4,7 @@
|
|||||||
<option name="autoReloadType" value="SELECTIVE" />
|
<option name="autoReloadType" value="SELECTIVE" />
|
||||||
</component>
|
</component>
|
||||||
<component name="ChangeListManager">
|
<component name="ChangeListManager">
|
||||||
<list default="true" id="bcab706c-5ba0-41f2-97c8-0b468ae56157" name="Changes" comment="更新文档连接">
|
<list default="true" id="bcab706c-5ba0-41f2-97c8-0b468ae56157" name="Changes" comment="更新 MD 文件链接">
|
||||||
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
|
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
|
||||||
<change beforePath="$PROJECT_DIR$/docs/index.html" beforeDir="false" afterPath="$PROJECT_DIR$/docs/index.html" afterDir="false" />
|
<change beforePath="$PROJECT_DIR$/docs/index.html" beforeDir="false" afterPath="$PROJECT_DIR$/docs/index.html" afterDir="false" />
|
||||||
</list>
|
</list>
|
||||||
@ -59,7 +59,7 @@
|
|||||||
<option name="number" value="Default" />
|
<option name="number" value="Default" />
|
||||||
<option name="presentableId" value="Default" />
|
<option name="presentableId" value="Default" />
|
||||||
<updated>1706942673858</updated>
|
<updated>1706942673858</updated>
|
||||||
<workItem from="1711410086527" duration="3852000" />
|
<workItem from="1711410086527" duration="8102000" />
|
||||||
</task>
|
</task>
|
||||||
<task id="LOCAL-00001" summary="Docs init">
|
<task id="LOCAL-00001" summary="Docs init">
|
||||||
<option name="closed" value="true" />
|
<option name="closed" value="true" />
|
||||||
@ -93,7 +93,15 @@
|
|||||||
<option name="project" value="LOCAL" />
|
<option name="project" value="LOCAL" />
|
||||||
<updated>1711413264699</updated>
|
<updated>1711413264699</updated>
|
||||||
</task>
|
</task>
|
||||||
<option name="localTasksCounter" value="5" />
|
<task id="LOCAL-00005" summary="更新 MD 文件链接">
|
||||||
|
<option name="closed" value="true" />
|
||||||
|
<created>1711414937667</created>
|
||||||
|
<option name="number" value="00005" />
|
||||||
|
<option name="presentableId" value="LOCAL-00005" />
|
||||||
|
<option name="project" value="LOCAL" />
|
||||||
|
<updated>1711414937667</updated>
|
||||||
|
</task>
|
||||||
|
<option name="localTasksCounter" value="6" />
|
||||||
<servers />
|
<servers />
|
||||||
</component>
|
</component>
|
||||||
<component name="TypeScriptGeneratedFilesManager">
|
<component name="TypeScriptGeneratedFilesManager">
|
||||||
@ -104,6 +112,7 @@
|
|||||||
<MESSAGE value="添加 CNAME" />
|
<MESSAGE value="添加 CNAME" />
|
||||||
<MESSAGE value="测试中文翻译" />
|
<MESSAGE value="测试中文翻译" />
|
||||||
<MESSAGE value="更新文档连接" />
|
<MESSAGE value="更新文档连接" />
|
||||||
<option name="LAST_COMMIT_MESSAGE" value="更新文档连接" />
|
<MESSAGE value="更新 MD 文件链接" />
|
||||||
|
<option name="LAST_COMMIT_MESSAGE" value="更新 MD 文件链接" />
|
||||||
</component>
|
</component>
|
||||||
</project>
|
</project>
|
@ -79,7 +79,7 @@
|
|||||||
'/ru-ru/(.*)':
|
'/ru-ru/(.*)':
|
||||||
'https://raw.githubusercontent.com/docsifyjs/docs-ru/master/$1',
|
'https://raw.githubusercontent.com/docsifyjs/docs-ru/master/$1',
|
||||||
'/zh-cn/(.*)':
|
'/zh-cn/(.*)':
|
||||||
'https://src.isharkfly.com/iSharkFly-Docs/docsify-docs-cn/raw/branch/main/docs/$1.md',
|
'https://src.isharkfly.com/iSharkFly-Docs/docsify-docs-cn/raw/branch/main/docs/$1',
|
||||||
},
|
},
|
||||||
auto2top: true,
|
auto2top: true,
|
||||||
coverpage: true,
|
coverpage: true,
|
||||||
@ -182,9 +182,12 @@
|
|||||||
.replace('raw.githubusercontent.com', 'github.com')
|
.replace('raw.githubusercontent.com', 'github.com')
|
||||||
.replace(/\/master/, '/blob/master');
|
.replace(/\/master/, '/blob/master');
|
||||||
} else if (/jsdelivr\.net/.test(vm.route.file)) {
|
} else if (/jsdelivr\.net/.test(vm.route.file)) {
|
||||||
|
console.log(vm.route.file)
|
||||||
url = vm.route.file
|
url = vm.route.file
|
||||||
.replace('cdn.jsdelivr.net/gh', 'github.com')
|
.replace('cdn.jsdelivr.net/gh', 'github.com')
|
||||||
.replace('@master', '/blob/master');
|
.replace('@master', '/blob/master');
|
||||||
|
url ="https://src.isharkfly.com/iSharkFly-Docs/docsify-docs-cn/raw/branch/main/docs/custom-navbar.md"
|
||||||
|
console.log(url)
|
||||||
} else {
|
} else {
|
||||||
url =
|
url =
|
||||||
'https://github.com/docsifyjs/docsify/blob/develop/docs/' +
|
'https://github.com/docsifyjs/docsify/blob/develop/docs/' +
|
||||||
|
Loading…
x
Reference in New Issue
Block a user