更新项目文件
This commit is contained in:
parent
433ff37ca1
commit
4ad68dea7c
|
@ -4,7 +4,7 @@
|
|||
<option name="autoReloadType" value="SELECTIVE" />
|
||||
</component>
|
||||
<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$/docs/index.html" beforeDir="false" afterPath="$PROJECT_DIR$/docs/index.html" afterDir="false" />
|
||||
</list>
|
||||
|
@ -59,7 +59,7 @@
|
|||
<option name="number" value="Default" />
|
||||
<option name="presentableId" value="Default" />
|
||||
<updated>1706942673858</updated>
|
||||
<workItem from="1711410086527" duration="3852000" />
|
||||
<workItem from="1711410086527" duration="8102000" />
|
||||
</task>
|
||||
<task id="LOCAL-00001" summary="Docs init">
|
||||
<option name="closed" value="true" />
|
||||
|
@ -93,7 +93,15 @@
|
|||
<option name="project" value="LOCAL" />
|
||||
<updated>1711413264699</updated>
|
||||
</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 />
|
||||
</component>
|
||||
<component name="TypeScriptGeneratedFilesManager">
|
||||
|
@ -104,6 +112,7 @@
|
|||
<MESSAGE value="添加 CNAME" />
|
||||
<MESSAGE value="测试中文翻译" />
|
||||
<MESSAGE value="更新文档连接" />
|
||||
<option name="LAST_COMMIT_MESSAGE" value="更新文档连接" />
|
||||
<MESSAGE value="更新 MD 文件链接" />
|
||||
<option name="LAST_COMMIT_MESSAGE" value="更新 MD 文件链接" />
|
||||
</component>
|
||||
</project>
|
|
@ -79,7 +79,7 @@
|
|||
'/ru-ru/(.*)':
|
||||
'https://raw.githubusercontent.com/docsifyjs/docs-ru/master/$1',
|
||||
'/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,
|
||||
coverpage: true,
|
||||
|
@ -182,9 +182,12 @@
|
|||
.replace('raw.githubusercontent.com', 'github.com')
|
||||
.replace(/\/master/, '/blob/master');
|
||||
} else if (/jsdelivr\.net/.test(vm.route.file)) {
|
||||
console.log(vm.route.file)
|
||||
url = vm.route.file
|
||||
.replace('cdn.jsdelivr.net/gh', 'github.com')
|
||||
.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 {
|
||||
url =
|
||||
'https://github.com/docsifyjs/docsify/blob/develop/docs/' +
|
||||
|
|
Loading…
Reference in New Issue