2016-11-20 15:56:37 +08:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
2020-10-06 03:10:30 +08:00
|
|
|
<head>
|
|
|
|
<meta charset="UTF-8" />
|
|
|
|
<title>docsify</title>
|
|
|
|
<link rel="icon" href="_media/favicon.ico" />
|
|
|
|
<meta
|
|
|
|
name="google-site-verification"
|
|
|
|
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
|
|
|
|
name="viewport"
|
|
|
|
content="width=device-width, initial-scale=1.0, minimum-scale=1.0"
|
|
|
|
/>
|
|
|
|
<link
|
|
|
|
rel="stylesheet"
|
|
|
|
href="//cdn.jsdelivr.net/npm/docsify@4/lib/themes/vue.css"
|
|
|
|
title="vue"
|
|
|
|
/>
|
|
|
|
<link
|
|
|
|
rel="stylesheet"
|
|
|
|
href="//cdn.jsdelivr.net/npm/docsify@4/lib/themes/dark.css"
|
|
|
|
title="dark"
|
|
|
|
disabled
|
|
|
|
/>
|
|
|
|
<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
|
|
|
|
/>
|
2023-01-10 16:02:02 +08:00
|
|
|
<link
|
|
|
|
rel="stylesheet"
|
|
|
|
href="//cdn.jsdelivr.net/npm/docsify@4/lib/themes/dolphin.css"
|
|
|
|
title="dolphin"
|
|
|
|
disabled
|
|
|
|
/>
|
2020-10-06 03:10:30 +08:00
|
|
|
<style>
|
|
|
|
nav.app-nav li ul {
|
|
|
|
min-width: 100px;
|
|
|
|
}
|
2018-02-11 22:10:05 +08:00
|
|
|
|
2020-10-06 03:10:30 +08:00
|
|
|
#carbonads {
|
|
|
|
box-shadow: none !important;
|
|
|
|
width: auto !important;
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
</head>
|
2020-08-17 22:53:11 +08:00
|
|
|
|
2020-10-06 03:10:30 +08:00
|
|
|
<body>
|
|
|
|
<div id="app">Loading ...</div>
|
2022-02-05 17:21:50 +08:00
|
|
|
<script src="//cdn.jsdelivr.net/npm/docsify-plugin-carbon@1"></script>
|
2020-10-06 03:10:30 +08:00
|
|
|
<script>
|
2021-02-05 04:40:12 +08:00
|
|
|
// Set html "lang" attribute based on URL
|
2023-07-03 16:27:22 +08:00
|
|
|
const lang = location.hash.match(/#\/(de-de|es|ru-ru|zh-cn)\//);
|
2021-02-05 04:40:12 +08:00
|
|
|
|
|
|
|
if (lang) {
|
|
|
|
document.documentElement.setAttribute('lang', lang[1]);
|
|
|
|
}
|
|
|
|
|
|
|
|
// Docsify configuration
|
2020-10-06 03:10:30 +08:00
|
|
|
window.$docsify = {
|
|
|
|
alias: {
|
|
|
|
'.*?/awesome':
|
|
|
|
'https://raw.githubusercontent.com/docsifyjs/awesome-docsify/master/README.md',
|
|
|
|
'.*?/changelog':
|
|
|
|
'https://raw.githubusercontent.com/docsifyjs/docsify/master/CHANGELOG.md',
|
|
|
|
'/.*/_navbar.md': '/_navbar.md',
|
2021-02-05 04:46:07 +08:00
|
|
|
'/es/(.*)':
|
|
|
|
'https://raw.githubusercontent.com/docsifyjs/docs-es/master/$1',
|
2020-10-06 03:10:30 +08:00
|
|
|
'/de-de/(.*)':
|
|
|
|
'https://raw.githubusercontent.com/docsifyjs/docs-de/master/$1',
|
|
|
|
'/ru-ru/(.*)':
|
|
|
|
'https://raw.githubusercontent.com/docsifyjs/docs-ru/master/$1',
|
2021-02-05 04:46:07 +08:00
|
|
|
'/zh-cn/(.*)':
|
|
|
|
'https://cdn.jsdelivr.net/gh/docsifyjs/docs-zh@master/$1',
|
2017-10-23 09:38:38 +08:00
|
|
|
},
|
2020-10-06 03:10:30 +08:00
|
|
|
auto2top: true,
|
|
|
|
coverpage: true,
|
|
|
|
executeScript: true,
|
|
|
|
loadSidebar: true,
|
|
|
|
loadNavbar: true,
|
|
|
|
mergeNavbar: true,
|
|
|
|
maxLevel: 4,
|
|
|
|
subMaxLevel: 2,
|
|
|
|
ga: 'UA-106147152-1',
|
|
|
|
matomo: {
|
|
|
|
host: '//matomo.thunderwave.de',
|
|
|
|
id: 6,
|
|
|
|
},
|
|
|
|
name: 'docsify',
|
2021-10-15 14:11:56 +08:00
|
|
|
nameLink: {
|
|
|
|
'/es/': '#/es/',
|
|
|
|
'/de-de/': '#/de-de/',
|
|
|
|
'/ru-ru/': '#/ru-ru/',
|
|
|
|
'/zh-cn/': '#/zh-cn/',
|
|
|
|
'/': '#/',
|
|
|
|
},
|
2020-10-06 03:10:30 +08:00
|
|
|
search: {
|
|
|
|
noData: {
|
2021-02-05 04:47:17 +08:00
|
|
|
'/es/': '¡No hay resultados!',
|
2020-10-06 03:10:30 +08:00
|
|
|
'/de-de/': 'Keine Ergebnisse!',
|
2021-02-05 04:47:17 +08:00
|
|
|
'/ru-ru/': 'Никаких результатов!',
|
2020-10-06 03:10:30 +08:00
|
|
|
'/zh-cn/': '没有结果!',
|
|
|
|
'/': 'No results!',
|
|
|
|
},
|
|
|
|
paths: 'auto',
|
|
|
|
placeholder: {
|
2021-02-05 04:47:17 +08:00
|
|
|
'/es/': 'Buscar',
|
2020-10-06 03:10:30 +08:00
|
|
|
'/de-de/': 'Suche',
|
2021-02-05 04:47:17 +08:00
|
|
|
'/ru-ru/': 'Поиск',
|
2020-10-06 03:10:30 +08:00
|
|
|
'/zh-cn/': '搜索',
|
|
|
|
'/': 'Search',
|
|
|
|
},
|
2022-02-05 17:21:50 +08:00
|
|
|
pathNamespaces: ['/es', '/de-de', '/ru-ru', '/zh-cn'],
|
2020-10-06 03:10:30 +08:00
|
|
|
},
|
2020-10-22 02:14:07 +08:00
|
|
|
vueComponents: {
|
|
|
|
'button-counter': {
|
2023-07-03 16:27:22 +08:00
|
|
|
template: /* html */ `<button @click="count += 1">You clicked me {{ count }} times</button>`,
|
|
|
|
data() {
|
2020-10-22 02:14:07 +08:00
|
|
|
return {
|
|
|
|
count: 0,
|
|
|
|
};
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
2020-10-17 14:50:46 +08:00
|
|
|
vueGlobalOptions: {
|
2023-07-03 16:27:22 +08:00
|
|
|
data() {
|
2020-10-17 14:50:46 +08:00
|
|
|
return {
|
|
|
|
count: 0,
|
|
|
|
message: 'Hello, World!',
|
2020-10-21 06:45:34 +08:00
|
|
|
// Fake API response
|
|
|
|
images: [
|
|
|
|
{ title: 'Image 1', url: 'https://picsum.photos/150?random=1' },
|
|
|
|
{ title: 'Image 2', url: 'https://picsum.photos/150?random=2' },
|
|
|
|
{ title: 'Image 3', url: 'https://picsum.photos/150?random=3' },
|
|
|
|
],
|
2020-10-17 14:50:46 +08:00
|
|
|
};
|
|
|
|
},
|
2020-10-21 06:45:34 +08:00
|
|
|
computed: {
|
2023-07-03 16:27:22 +08:00
|
|
|
timeOfDay() {
|
2020-10-21 06:45:34 +08:00
|
|
|
const date = new Date();
|
|
|
|
const hours = date.getHours();
|
|
|
|
|
|
|
|
if (hours < 12) {
|
|
|
|
return 'morning';
|
|
|
|
} else if (hours < 18) {
|
|
|
|
return 'afternoon';
|
|
|
|
} else {
|
|
|
|
return 'evening';
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
2020-10-17 14:50:46 +08:00
|
|
|
methods: {
|
2023-07-03 16:27:22 +08:00
|
|
|
hello() {
|
2020-10-17 14:50:46 +08:00
|
|
|
alert(this.message);
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
2020-11-12 06:24:50 +08:00
|
|
|
vueMounts: {
|
2020-10-17 14:50:46 +08:00
|
|
|
'#counter': {
|
2023-07-03 16:27:22 +08:00
|
|
|
data() {
|
2020-10-17 14:50:46 +08:00
|
|
|
return {
|
|
|
|
count: 0,
|
|
|
|
};
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
2020-10-06 03:10:30 +08:00
|
|
|
plugins: [
|
2021-02-10 14:03:15 +08:00
|
|
|
DocsifyCarbon.create('CEBI6KQE', 'docsifyjsorg'),
|
2022-02-05 17:21:50 +08:00
|
|
|
function (hook, vm) {
|
2023-07-03 16:27:22 +08:00
|
|
|
hook.beforeEach(html => {
|
2020-10-06 03:10:30 +08:00
|
|
|
if (/githubusercontent\.com/.test(vm.route.file)) {
|
|
|
|
url = vm.route.file
|
|
|
|
.replace('raw.githubusercontent.com', 'github.com')
|
|
|
|
.replace(/\/master/, '/blob/master');
|
|
|
|
} else if (/jsdelivr\.net/.test(vm.route.file)) {
|
|
|
|
url = vm.route.file
|
|
|
|
.replace('cdn.jsdelivr.net/gh', 'github.com')
|
|
|
|
.replace('@master', '/blob/master');
|
|
|
|
} else {
|
|
|
|
url =
|
2021-04-18 16:14:33 +08:00
|
|
|
'https://github.com/docsifyjs/docsify/blob/develop/docs/' +
|
2020-10-06 03:10:30 +08:00
|
|
|
vm.route.file;
|
|
|
|
}
|
2023-07-03 16:27:22 +08:00
|
|
|
const editHtml = '[:memo: Edit Document](' + url + ')\n';
|
2020-10-06 03:10:30 +08:00
|
|
|
return (
|
|
|
|
editHtml +
|
|
|
|
html +
|
|
|
|
'\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>'
|
|
|
|
);
|
2023-07-03 16:27:22 +08:00
|
|
|
});
|
2020-10-06 03:10:30 +08:00
|
|
|
},
|
|
|
|
],
|
|
|
|
};
|
|
|
|
</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/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-nginx.min.js"></script>
|
|
|
|
<script src="//cdn.jsdelivr.net/npm/prismjs@1/components/prism-php.min.js"></script>
|
|
|
|
<script>
|
2022-02-05 17:21:50 +08:00
|
|
|
// Public site only
|
|
|
|
if (/docsify/.test(location.host)) {
|
|
|
|
document.write(
|
|
|
|
'<script src="//cdn.jsdelivr.net/npm/docsify@4/lib/plugins/ga.min.js"><\/script>'
|
|
|
|
);
|
|
|
|
document.write(
|
|
|
|
'<script src="//cdn.jsdelivr.net/npm/docsify@4/lib/plugins/matomo.min.js"><\/script>'
|
|
|
|
);
|
|
|
|
}
|
2020-10-06 03:10:30 +08:00
|
|
|
</script>
|
2020-10-08 02:13:03 +08:00
|
|
|
<script src="//cdn.jsdelivr.net/npm/vue@2/dist/vue.min.js"></script>
|
2020-10-17 14:50:46 +08:00
|
|
|
<!-- <script src="//cdn.jsdelivr.net/npm/vue@3/dist/vue.global.prod.js"></script> -->
|
2020-10-06 03:10:30 +08:00
|
|
|
</body>
|
2018-05-02 22:38:34 +08:00
|
|
|
</html>
|