更新链接
This commit is contained in:
parent
cfb4148dab
commit
d06f051eb8
|
@ -4,10 +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="更新 CROS 可能出现问题的连接">
|
||||||
<change afterPath="$PROJECT_DIR$/Dockerfile" afterDir="false" />
|
|
||||||
<change afterPath="$PROJECT_DIR$/docs/docker-compose.yaml" afterDir="false" />
|
|
||||||
<change beforePath="$PROJECT_DIR$/.idea/misc.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/misc.xml" afterDir="false" />
|
|
||||||
<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>
|
||||||
|
@ -63,7 +60,7 @@
|
||||||
<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="3852000" />
|
||||||
<workItem from="1711477746841" duration="865000" />
|
<workItem from="1711477746841" duration="1774000" />
|
||||||
</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" />
|
||||||
|
@ -97,7 +94,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="更新 CROS 可能出现问题的连接">
|
||||||
|
<option name="closed" value="true" />
|
||||||
|
<created>1711478854257</created>
|
||||||
|
<option name="number" value="00005" />
|
||||||
|
<option name="presentableId" value="LOCAL-00005" />
|
||||||
|
<option name="project" value="LOCAL" />
|
||||||
|
<updated>1711478854257</updated>
|
||||||
|
</task>
|
||||||
|
<option name="localTasksCounter" value="6" />
|
||||||
<servers />
|
<servers />
|
||||||
</component>
|
</component>
|
||||||
<component name="TypeScriptGeneratedFilesManager">
|
<component name="TypeScriptGeneratedFilesManager">
|
||||||
|
@ -120,6 +125,7 @@
|
||||||
<MESSAGE value="测试中文翻译" />
|
<MESSAGE value="测试中文翻译" />
|
||||||
<MESSAGE value="更新文档连接" />
|
<MESSAGE value="更新文档连接" />
|
||||||
<MESSAGE value="域名配置到" />
|
<MESSAGE value="域名配置到" />
|
||||||
<option name="LAST_COMMIT_MESSAGE" value="域名配置到" />
|
<MESSAGE value="更新 CROS 可能出现问题的连接" />
|
||||||
|
<option name="LAST_COMMIT_MESSAGE" value="更新 CROS 可能出现问题的连接" />
|
||||||
</component>
|
</component>
|
||||||
</project>
|
</project>
|
346
docs/index.html
346
docs/index.html
|
@ -1,85 +1,74 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8" />
|
<meta charset="UTF-8"/>
|
||||||
<title>docsify</title>
|
<title>docsify</title>
|
||||||
<link rel="icon" href="_media/favicon.ico" />
|
<link rel="icon" href="_media/favicon.ico"/>
|
||||||
<meta
|
<meta name="google-site-verification" content="6t0LoIeFksrjF4c9sqUEsVXiQNxLp2hgoqo0KryT-sE"/>
|
||||||
name="google-site-verification"
|
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
|
||||||
content="6t0LoIeFksrjF4c9sqUEsVXiQNxLp2hgoqo0KryT-sE"
|
<meta name="keywords" content="doc,docs,documentation,gitbook,creator,generator,github,jekyll,github-pages"/>
|
||||||
/>
|
<meta name="description" content="A magical documentation generator."/>
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0"/>
|
||||||
<meta
|
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/docsify@4/lib/themes/vue.css" title="vue"/>
|
||||||
name="keywords"
|
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/docsify@4/lib/themes/dark.css" title="dark" disabled/>
|
||||||
content="doc,docs,documentation,gitbook,creator,generator,github,jekyll,github-pages"
|
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/docsify@4/lib/themes/buble.css" title="buble" disabled/>
|
||||||
/>
|
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/docsify@4/lib/themes/pure.css" title="pure" disabled/>
|
||||||
<meta name="description" content="A magical documentation generator." />
|
|
||||||
<meta
|
<!-- Google Tag Manager -->
|
||||||
name="viewport"
|
<script>(function (w, d, s, l, i) {
|
||||||
content="width=device-width, initial-scale=1.0, minimum-scale=1.0"
|
w[l] = w[l] || [];
|
||||||
/>
|
w[l].push({
|
||||||
<link
|
'gtm.start':
|
||||||
rel="stylesheet"
|
new Date().getTime(), event: 'gtm.js'
|
||||||
href="//cdn.jsdelivr.net/npm/docsify@4/lib/themes/vue.css"
|
});
|
||||||
title="vue"
|
var f = d.getElementsByTagName(s)[0],
|
||||||
/>
|
j = d.createElement(s), dl = l != 'dataLayer' ? '&l=' + l : '';
|
||||||
<link
|
j.async = true;
|
||||||
rel="stylesheet"
|
j.src =
|
||||||
href="//cdn.jsdelivr.net/npm/docsify@4/lib/themes/dark.css"
|
'https://www.googletagmanager.com/gtm.js?id=' + i + dl;
|
||||||
title="dark"
|
f.parentNode.insertBefore(j, f);
|
||||||
disabled
|
})(window, document, 'script', 'dataLayer', 'GTM-W3NL9V');</script>
|
||||||
/>
|
<!-- End Google Tag Manager -->
|
||||||
<link
|
|
||||||
rel="stylesheet"
|
|
||||||
href="//cdn.jsdelivr.net/npm/docsify@4/lib/themes/buble.css"
|
|
||||||
title="buble"
|
|
||||||
disabled
|
|
||||||
/>
|
|
||||||
<link
|
|
||||||
rel="stylesheet"
|
|
||||||
href="//cdn.jsdelivr.net/npm/docsify@4/lib/themes/pure.css"
|
|
||||||
title="pure"
|
|
||||||
disabled
|
|
||||||
/>
|
|
||||||
<style>
|
<style>
|
||||||
nav.app-nav li ul {
|
nav.app-nav li ul {
|
||||||
min-width: 100px;
|
min-width: 100px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#carbonads {
|
#carbonads {
|
||||||
box-shadow: none !important;
|
box-shadow: none !important;
|
||||||
width: auto !important;
|
width: auto !important;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
<div id="app">Loading ...</div>
|
<div id="app">Loading ...</div>
|
||||||
<script src="//cdn.jsdelivr.net/npm/docsify-plugin-carbon@1"></script>
|
<script src="//cdn.jsdelivr.net/npm/docsify-plugin-carbon@1"></script>
|
||||||
<script>
|
<script>
|
||||||
// Set html "lang" attribute based on URL
|
// Set html "lang" attribute based on URL
|
||||||
var lang = location.hash.match(/#\/(de-de|es|ru-ru|zh-cn)\//);
|
var lang = location.hash.match(/#\/(de-de|es|ru-ru|zh-cn)\//);
|
||||||
|
|
||||||
if (lang) {
|
if (lang) {
|
||||||
document.documentElement.setAttribute('lang', lang[1]);
|
document.documentElement.setAttribute('lang', lang[1]);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Docsify configuration
|
// Docsify configuration
|
||||||
window.$docsify = {
|
window.$docsify = {
|
||||||
alias: {
|
alias: {
|
||||||
'.*?/awesome':
|
'.*?/awesome':
|
||||||
'https://raw.githubusercontent.com/docsifyjs/awesome-docsify/master/README.md',
|
'https://raw.githubusercontent.com/docsifyjs/awesome-docsify/master/README.md',
|
||||||
'.*?/changelog':
|
'.*?/changelog':
|
||||||
'https://raw.githubusercontent.com/docsifyjs/docsify/master/CHANGELOG.md',
|
'https://raw.githubusercontent.com/docsifyjs/docsify/master/CHANGELOG.md',
|
||||||
'/.*/_navbar.md': '/_navbar.md',
|
'/.*/_navbar.md': '/_navbar.md',
|
||||||
'/es/(.*)':
|
'/es/(.*)':
|
||||||
'https://raw.githubusercontent.com/docsifyjs/docs-es/master/$1',
|
'https://raw.githubusercontent.com/docsifyjs/docs-es/master/$1',
|
||||||
'/de-de/(.*)':
|
'/de-de/(.*)':
|
||||||
'https://raw.githubusercontent.com/docsifyjs/docs-de/master/$1',
|
'https://raw.githubusercontent.com/docsifyjs/docs-de/master/$1',
|
||||||
'/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',
|
'https://src.isharkfly.com/iSharkFly-Docs/docsify-docs-cn/raw/branch/main/docs/$1',
|
||||||
},
|
},
|
||||||
auto2top: true,
|
auto2top: true,
|
||||||
coverpage: true,
|
coverpage: true,
|
||||||
|
@ -89,137 +78,130 @@
|
||||||
mergeNavbar: true,
|
mergeNavbar: true,
|
||||||
maxLevel: 4,
|
maxLevel: 4,
|
||||||
subMaxLevel: 2,
|
subMaxLevel: 2,
|
||||||
ga: 'UA-106147152-1',
|
|
||||||
matomo: {
|
|
||||||
host: '//matomo.thunderwave.de',
|
|
||||||
id: 6,
|
|
||||||
},
|
|
||||||
name: 'docsify',
|
name: 'docsify',
|
||||||
nameLink: {
|
nameLink: {
|
||||||
'/es/': '#/es/',
|
'/es/': '#/es/',
|
||||||
'/de-de/': '#/de-de/',
|
'/de-de/': '#/de-de/',
|
||||||
'/ru-ru/': '#/ru-ru/',
|
'/ru-ru/': '#/ru-ru/',
|
||||||
'/zh-cn/': '#/zh-cn/',
|
'/zh-cn/': '#/zh-cn/',
|
||||||
'/': '#/',
|
'/': '#/',
|
||||||
},
|
},
|
||||||
search: {
|
search: {
|
||||||
noData: {
|
noData: {
|
||||||
'/es/': '¡No hay resultados!',
|
'/es/': '¡No hay resultados!',
|
||||||
'/de-de/': 'Keine Ergebnisse!',
|
'/de-de/': 'Keine Ergebnisse!',
|
||||||
'/ru-ru/': 'Никаких результатов!',
|
'/ru-ru/': 'Никаких результатов!',
|
||||||
'/zh-cn/': '没有结果!',
|
'/zh-cn/': '没有结果!',
|
||||||
'/': 'No results!',
|
'/': 'No results!',
|
||||||
},
|
},
|
||||||
paths: 'auto',
|
paths: 'auto',
|
||||||
placeholder: {
|
placeholder: {
|
||||||
'/es/': 'Buscar',
|
'/es/': 'Buscar',
|
||||||
'/de-de/': 'Suche',
|
'/de-de/': 'Suche',
|
||||||
'/ru-ru/': 'Поиск',
|
'/ru-ru/': 'Поиск',
|
||||||
'/zh-cn/': '搜索',
|
'/zh-cn/': '搜索',
|
||||||
'/': 'Search',
|
'/': 'Search',
|
||||||
},
|
},
|
||||||
pathNamespaces: ['/es', '/de-de', '/ru-ru', '/zh-cn'],
|
pathNamespaces: ['/es', '/de-de', '/ru-ru', '/zh-cn'],
|
||||||
},
|
},
|
||||||
vueComponents: {
|
vueComponents: {
|
||||||
'button-counter': {
|
'button-counter': {
|
||||||
template:
|
template:
|
||||||
'<button @click="count += 1">You clicked me {{ count }} times</button>',
|
'<button @click="count += 1">You clicked me {{ count }} times</button>',
|
||||||
data: function () {
|
data: function () {
|
||||||
return {
|
return {
|
||||||
count: 0,
|
count: 0,
|
||||||
};
|
};
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
|
||||||
},
|
},
|
||||||
vueGlobalOptions: {
|
vueGlobalOptions: {
|
||||||
data: function () {
|
data: function () {
|
||||||
return {
|
return {
|
||||||
count: 0,
|
count: 0,
|
||||||
message: 'Hello, World!',
|
message: 'Hello, World!',
|
||||||
// Fake API response
|
// Fake API response
|
||||||
images: [
|
images: [
|
||||||
{ title: 'Image 1', url: 'https://picsum.photos/150?random=1' },
|
{title: 'Image 1', url: 'https://picsum.photos/150?random=1'},
|
||||||
{ title: 'Image 2', url: 'https://picsum.photos/150?random=2' },
|
{title: 'Image 2', url: 'https://picsum.photos/150?random=2'},
|
||||||
{ title: 'Image 3', url: 'https://picsum.photos/150?random=3' },
|
{title: 'Image 3', url: 'https://picsum.photos/150?random=3'},
|
||||||
],
|
],
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
timeOfDay: function () {
|
timeOfDay: function () {
|
||||||
const date = new Date();
|
const date = new Date();
|
||||||
const hours = date.getHours();
|
const hours = date.getHours();
|
||||||
|
|
||||||
if (hours < 12) {
|
if (hours < 12) {
|
||||||
return 'morning';
|
return 'morning';
|
||||||
} else if (hours < 18) {
|
} else if (hours < 18) {
|
||||||
return 'afternoon';
|
return 'afternoon';
|
||||||
} else {
|
} else {
|
||||||
return 'evening';
|
return 'evening';
|
||||||
}
|
}
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
methods: {
|
||||||
methods: {
|
hello: function () {
|
||||||
hello: function () {
|
alert(this.message);
|
||||||
alert(this.message);
|
},
|
||||||
},
|
},
|
||||||
},
|
|
||||||
},
|
},
|
||||||
vueMounts: {
|
vueMounts: {
|
||||||
'#counter': {
|
'#counter': {
|
||||||
data: function () {
|
data: function () {
|
||||||
return {
|
return {
|
||||||
count: 0,
|
count: 0,
|
||||||
};
|
};
|
||||||
|
},
|
||||||
},
|
},
|
||||||
},
|
|
||||||
},
|
},
|
||||||
plugins: [
|
plugins: [
|
||||||
DocsifyCarbon.create('CEBI6KQE', 'docsifyjsorg'),
|
DocsifyCarbon.create('CEBI6KQE', 'docsifyjsorg'),
|
||||||
function (hook, vm) {
|
function (hook, vm) {
|
||||||
hook.beforeEach(function (html) {
|
hook.beforeEach(function (html) {
|
||||||
if (/githubusercontent\.com/.test(vm.route.file)) {
|
if (/githubusercontent\.com/.test(vm.route.file)) {
|
||||||
url = vm.route.file
|
url = vm.route.file
|
||||||
.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 (/src\.isharkfly\.com/.test(vm.route.file)) {
|
||||||
url = vm.route.file
|
url = vm.route.file;
|
||||||
.replace('cdn.jsdelivr.net/gh', 'github.com')
|
} else {
|
||||||
.replace('@master', '/blob/master');
|
url =
|
||||||
} else {
|
'https://github.com/docsifyjs/docsify/blob/develop/docs/' +
|
||||||
url =
|
vm.route.file;
|
||||||
'https://github.com/docsifyjs/docsify/blob/develop/docs/' +
|
}
|
||||||
vm.route.file;
|
var editHtml = '[:memo: Edit Document](' + url + ')\n';
|
||||||
}
|
return (
|
||||||
var editHtml = '[:memo: Edit Document](' + url + ')\n';
|
editHtml +
|
||||||
return (
|
html +
|
||||||
editHtml +
|
'\n\n----\n\n' +
|
||||||
html +
|
'<a href="https://docsify.js.org" target="_blank" style="color: inherit; font-weight: normal; text-decoration: none;">Powered by docsify</a>'
|
||||||
'\n\n----\n\n' +
|
);
|
||||||
'<a href="https://docsify.js.org" target="_blank" style="color: inherit; font-weight: normal; text-decoration: none;">Powered by docsify</a>'
|
})
|
||||||
);
|
},
|
||||||
})
|
|
||||||
},
|
|
||||||
],
|
],
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
<script src="//cdn.jsdelivr.net/npm/docsify@4/lib/docsify.min.js"></script>
|
<script src="//cdn.jsdelivr.net/npm/docsify@4/lib/docsify.min.js"></script>
|
||||||
<script src="//cdn.jsdelivr.net/npm/docsify@4/lib/plugins/search.min.js"></script>
|
<script src="//cdn.jsdelivr.net/npm/docsify@4/lib/plugins/search.min.js"></script>
|
||||||
<script src="//cdn.jsdelivr.net/npm/prismjs@1/components/prism-bash.min.js"></script>
|
<script src="//cdn.jsdelivr.net/npm/prismjs@1/components/prism-bash.min.js"></script>
|
||||||
<script src="//cdn.jsdelivr.net/npm/prismjs@1/components/prism-markdown.min.js"></script>
|
<script src="//cdn.jsdelivr.net/npm/prismjs@1/components/prism-markdown.min.js"></script>
|
||||||
<script src="//cdn.jsdelivr.net/npm/prismjs@1/components/prism-nginx.min.js"></script>
|
<script src="//cdn.jsdelivr.net/npm/prismjs@1/components/prism-nginx.min.js"></script>
|
||||||
<script src="//cdn.jsdelivr.net/npm/prismjs@1/components/prism-php.min.js"></script>
|
<script src="//cdn.jsdelivr.net/npm/prismjs@1/components/prism-php.min.js"></script>
|
||||||
<script>
|
<script>
|
||||||
// Public site only
|
// Public site only
|
||||||
if (/docsify/.test(location.host)) {
|
if (/docsify/.test(location.host)) {
|
||||||
document.write(
|
document.write(
|
||||||
'<script src="//cdn.jsdelivr.net/npm/docsify@4/lib/plugins/ga.min.js"><\/script>'
|
'<script src="//cdn.jsdelivr.net/npm/docsify@4/lib/plugins/ga.min.js"><\/script>'
|
||||||
);
|
);
|
||||||
document.write(
|
document.write(
|
||||||
'<script src="//cdn.jsdelivr.net/npm/docsify@4/lib/plugins/matomo.min.js"><\/script>'
|
'<script src="//cdn.jsdelivr.net/npm/docsify@4/lib/plugins/matomo.min.js"><\/script>'
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
<script src="//cdn.jsdelivr.net/npm/vue@2/dist/vue.min.js"></script>
|
<script src="//cdn.jsdelivr.net/npm/vue@2/dist/vue.min.js"></script>
|
||||||
<!-- <script src="//cdn.jsdelivr.net/npm/vue@3/dist/vue.global.prod.js"></script> -->
|
<!-- <script src="//cdn.jsdelivr.net/npm/vue@3/dist/vue.global.prod.js"></script> -->
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
Loading…
Reference in New Issue