-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit c63f37e
Showing
5 changed files
with
129 additions
and
0 deletions.
There are no files selected for viewing
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# 标题 | ||
|
||
这是一个 docsify 网站模版。 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# docsify website sample <small>0.0.1</small> | ||
|
||
<a href="https://github.com/lexmin0412/docsify-website-sample">Github</a> | ||
<a href="#README">Get Started</a> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
- 开始 | ||
|
||
- [概述](/README.md) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,119 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
|
||
<head> | ||
<meta charset="UTF-8"> | ||
<title>docsify website sample</title> | ||
<link rel="shortcut icon" href="./favicon.ico" type="image/x-icon"> | ||
<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"> | ||
<!-- vue主题样式 --> | ||
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/docsify@4/lib/themes/vue.css"> | ||
<!-- 暗黑主题插件样式 --> | ||
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/docsify-darklight-theme@latest/dist/style.min.css" | ||
title="docsify-darklight-theme" type="text/css" /> | ||
</head> | ||
|
||
<body> | ||
<div id="app">loading...</div> | ||
<!-- 在github上编辑插件 --> | ||
<script src="//cdn.jsdelivr.net/npm/docsify-edit-on-github"></script> | ||
<script> | ||
window.$docsify = { | ||
basePath: '/', // 资源相对路径 | ||
name: 'docsify website sample', // 文档标题,会显示在侧边栏顶部 | ||
nameLink: '/', // 点击文档标题后的跳转地址 | ||
repo: 'lexmin0412/docsify-website-sample', // 有repo属性则右上角会展示github图标,点击可进入 | ||
loadSidebar: true, // 加载侧边栏 | ||
externalLinkTarget: '_blank', // 外部链接的打开方式,默认_blank | ||
cornerExternalLinkTarget: '_blank', // 右上角链接的打开方式。默认为 _blank | ||
routerMode: 'hash', // 路由方式 默认hash | ||
coverpage: true, // 展示封面 | ||
notFoundPage: true, // 在找不到指定页面时加载_404.md | ||
auto2top: true, // 切换页面后是否自动跳转到页面顶部 | ||
search: { // 搜索插件配置 | ||
paths: 'auto', | ||
placeholder: '🔍 搜索', | ||
noData: '😞 没有结果!' | ||
}, | ||
count: { // 字数统计插件配置 | ||
countable: true, | ||
fontsize: '0.9em', | ||
color: 'rgb(90,90,90)', | ||
language: 'chinese' | ||
}, | ||
pagination: { // 分页插件配置 | ||
previousText: '上一章节', | ||
nextText: '下一章节', | ||
crossChapter: true, | ||
}, | ||
plugins: [ | ||
EditOnGithubPlugin.create( | ||
'https://github.com/lexmin0412/docsify-website-sample/blob/master/docs/', | ||
null, | ||
function ( file ) { | ||
if ( file.indexOf( 'en' ) === -1 ) { | ||
return '在 GitHub 上编辑' | ||
} else { | ||
return 'Edit on Github' | ||
} | ||
} | ||
) | ||
], | ||
themeColor: "#42b983", // 暗黑模式主题色 | ||
darklightTheme: { | ||
siteFont: "PT Sans", | ||
defaultTheme: 'dark', | ||
codeFontFamily: 'Roboto Mono, Monaco, courier, monospace', | ||
bodyFontSize: '17px', | ||
dark: { | ||
accent: '#42b983', | ||
toogleBackground: '#ffffff', | ||
background: '#091a28', | ||
textColor: '#b4b4b4', | ||
codeTextColor: '#ffffff', | ||
codeBackgroudColor: '#0e2233', | ||
borderColor: '#0d2538', | ||
blockQuoteColour: '#858585', | ||
highlightColor: '#d22778', | ||
sidebarSublink: '#b4b4b4', | ||
codeTypeColor: '#ffffff', | ||
coverBackground: 'linear-gradient(to left bottom, hsl(118, 100%, 85%) 0%,hsl(181, 100%, 85%) 100%)', | ||
toogleImage: 'url(https://cdn.jsdelivr.net/npm/docsify-darklight-theme@latest/icons/sun.svg)' | ||
}, | ||
light: { | ||
accent: '#42b983', | ||
toogleBackground: '#091a28', | ||
background: '#ffffff', | ||
textColor: '#34495e', | ||
codeTextColor: '#525252', | ||
codeBackgroudColor: '#f8f8f8', | ||
borderColor: 'rgba(0, 0, 0, 0.07)', | ||
blockQuoteColor: '#858585', | ||
highlightColor: '#d22778', | ||
sidebarSublink: '#b4b4b4', | ||
codeTypeColor: '#091a28', | ||
coverBackground: 'linear-gradient(to left bottom, hsl(118, 100%, 85%) 0%,hsl(181, 100%, 85%) 100%)', | ||
toogleImage: 'url(https://cdn.jsdelivr.net/npm/docsify-darklight-theme@latest/icons/moon.svg)' | ||
} | ||
} | ||
} | ||
</script> | ||
</body> | ||
|
||
<script src="//cdn.jsdelivr.net/npm/docsify@4"></script> | ||
<script src="//cdn.jsdelivr.net/npm/docsify/lib/plugins/search.min.js"></script> | ||
<!--全局搜索插件--> | ||
<script src="//unpkg.com/docsify-count/dist/countable.js"></script> | ||
<!--字数统计插件--> | ||
<script src="//cdn.jsdelivr.net/npm/docsify-copy-code"></script> | ||
<!--代码段复制插件--> | ||
<script src="//cdn.jsdelivr.net/npm/docsify/lib/plugins/zoom-image.min.js"></script> | ||
<!--图片缩放插件--> | ||
<script src="//unpkg.com/docsify-pagination/dist/docsify-pagination.min.js"></script> | ||
<!-- 阅读进度条插件 --> | ||
<script src="//cdn.jsdelivr.net/npm/docsify-darklight-theme@latest/dist/index.min.js"></script> | ||
<!-- 暗黑主题切换插件 --> | ||
|
||
</html> |
c63f37e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
knowledge – ./
knowledge-git-main-zimei11.vercel.app
knowledge-zeta.vercel.app
knowledge-zimei11.vercel.app