Files
LinuxMirrors/docs/index.html
Super Manito f5300e7b45 Update
2022-02-04 10:34:52 +08:00

138 lines
4.7 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>LinuxMirrors · 让换源更简单</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="description" content="Description">
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0">
<link rel="stylesheet" href="./css/vue.css">
<link rel="icon" type="image/x-icon" href="./img/icon/linux.svg" />
</head>
<body>
<div id="app">网页加载中...</div>
<script>
window.$docsify = {
name: 'LinuxMirrors',
repo: 'https://github.com/SuperManito/LinuxMirrors',
// 导航栏logo
logo: './img/logo.png',
// 加载封面
coverpage: true,
// 小屏幕设备自动合并导航栏到侧边栏
mergeNavbar: true,
// 启用自定义404页
notFoundPage: true,
// 跳转后自动移到顶部
auto2top: true,
// 搜索
search: 'auto',
search: {
maxAge: 86400000, // 过期时间,单位毫秒,默认一天
placeholder: '搜索',
noData: '找不到结果!',
// 搜索标题的最大层级, 1 - 6
depth: 2,
hideOtherSidebarContent: false, // 是否隐藏其他侧边栏内容
// 避免搜索索引冲突
// 同一域下的多个网站之间
namespace: 'website-1',
// 使用不同的索引作为路径前缀namespaces
// 注意:仅适用于 paths: 'auto' 模式
// 初始化索引时,我们从侧边栏查找第一个路径
// 如果它与列表中的前缀匹配,我们将切换到相应的索引
pathNamespaces: ['/zh-cn', '/ru-ru', '/ru-ru/v1'],
// 您可以提供一个正则表达式来匹配前缀。在这种情况下,
// 匹配到的字符串将被用来识别索引
pathNamespaces: /^(\/(zh-cn|ru-ru))?(\/(v1|v2))?/
},
// 页脚内容
footer: {
copy: '<span>Copyright © 2022,</span>',
auth: ' <a href="javascript:window.open(\'https://github.com/SuperManito\')">SuperManito</a> . Released under the <a href="javascript:window.open(\'https://github.com/SuperManito/LinuxMirrors/blob/main/LICENSE\')">GPL-2.0</a>',
pre: '',
style: 'text-align: center;',
class: 'className',
},
// 阅读进度条
progress: {
position: "bottom",
color: "var(--themeColor)",
height: "3px",
},
// 浅色|暗黑主题
darklightTheme: {
siteFont: "PT Sans",
defaultTheme: 'dark',
codeFontFamily: 'Roboto Mono, Monaco, courier, monospace',
bodyFontSize: '17px',
light: {
themeColor: '#1e90ff',
toogleBackground: '#091a28',
background: '#ffffff',
textColor: '#34495e',
codeTextColor: '#525252',
codeBackgroundColor: '#f8f8f8',
borderColor: 'rgba(0, 0, 0, 0.07)',
blockQuoteColor: '#858585',
highlightColor: '#d22778',
sidebarSublink: '#7c7c7c',
codeTypeColor: '#091a28',
herfColor: '#2973b7',
coverBackground: 'linear-gradient(to top, #fff1eb 0%, #ace0f9 100%)',
toogleImage: 'url(https://cdn.jsdelivr.net/npm/docsify-darklight-theme@latest/icons/moon.svg)',
},
dark: {
themeColor: '#42b983',
toogleBackground: '#ffffff',
background: '#091a28',
textColor: '#b4b4b4',
codeTextColor: '#ffffff',
codeBackgroundColor: '#0e2233',
borderColor: '#0f293e',
blockQuoteColor: '#858585',
highlightColor: '#a6bb06',
sidebarSublink: '#b4b4b4',
codeTypeColor: '#ffffff',
herfColor: '#16995e',
coverBackground: 'linear-gradient(to top, #fff1eb 0%, #ace0f9 100%)',
toogleImage: 'url(https://cdn.jsdelivr.net/npm/docsify-darklight-theme@latest/icons/sun.svg)',
}
}
}
</script>
<!-- Docsify v4 -->
<script src="./js/docsify@4.js"></script>
<!-- 暗黑主题 -->
<script src="./js/dark-theme.js"></script>
<!-- 页脚内容 -->
<script src="./js/docsify-footer-enh.min.js"></script>
<!-- 复制代码到剪贴板 -->
<script src="./js/docsify-copy-code.min.js"></script>
<!-- 阅读进度条 -->
<script src="./js/docsify-progress.min.js"></script>
<!-- Emoji表情支持 -->
<script src="./js/emoji.min.js"></script>
<!-- 搜索 -->
<script src="./js/search.js"></script>
<!-- 代码高亮 -->
<script src="./js/prism-bash.min.js"></script>
<!-- 更新日志 -->
<script src="./js/change-log.js"></script>
<!-- 离线模式 -->
<script>
if (typeof navigator.serviceWorker !== 'undefined') {
navigator.serviceWorker.register('./js/sw.js')
}
</script>
</body>
</html>