forked from docsifyjs/docsify
-
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.
Merge branch 'develop' into allow-config-function
- Loading branch information
Showing
28 changed files
with
2,116 additions
and
1,639 deletions.
There are no files selected for viewing
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 @@ | ||
titleAndCommits: true | ||
allowMergeCommits: true | ||
allowRevertCommits: true | ||
anyCommit: true |
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
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,6 @@ | ||
--- | ||
author: John Smith | ||
date: 2020-1-1 | ||
--- | ||
|
||
> This is from the `example.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
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
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
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 |
---|---|---|
|
@@ -9,14 +9,20 @@ | |
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> | ||
<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, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"> | ||
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/docsify/lib/themes/vue.css" title="vue"> | ||
|
||
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0"> | ||
<link | ||
rel="stylesheet" | ||
href="//cdn.jsdelivr.net/npm/docsify-darklight-theme@3/dist/docsify-style.min.css" | ||
title="docsify-darklight-theme" | ||
type="text/css" | ||
/> | ||
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/docsify/lib/themes/vue.css" title="vue" disabled> | ||
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/docsify/lib/themes/dark.css" title="dark" disabled> | ||
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/docsify/lib/themes/buble.css" title="buble" disabled> | ||
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/docsify/lib/themes/pure.css" title="pure" disabled> | ||
|
||
<script src="//cdn.jsdelivr.net/npm/docsify-plugin-codefund/index.js"></script> | ||
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/[email protected]/dist/style.css"/> | ||
<style> | ||
nav.app-nav li ul { | ||
min-width: 100px; | ||
|
@@ -32,7 +38,7 @@ | |
'.*?/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', | ||
'/zh-cn/(.*)': 'https://raw.githubusercontent.com/docsifyjs/docs-zh/master/$1', | ||
'/zh-cn/(.*)': 'https://cdn.jsdelivr.net/gh/docsifyjs/docs-zh@master/$1', | ||
'/de-de/(.*)': 'https://raw.githubusercontent.com/docsifyjs/docs-de/master/$1', | ||
'/ru/(.*)': 'https://raw.githubusercontent.com/docsifyjs/docs-ru/master/$1', | ||
'/es/(.*)': 'https://raw.githubusercontent.com/docsifyjs/docs-es/master/$1' | ||
|
@@ -64,10 +70,8 @@ | |
'/': 'Search' | ||
} | ||
}, | ||
darkMode: { | ||
light: { | ||
toggleBtnBg: '#42b983' | ||
} | ||
darklightTheme: { | ||
bodyFontSize : '15px', | ||
}, | ||
formatUpdated: '{MM}/{DD} {HH}:{mm}', | ||
plugins: [ | ||
|
@@ -77,6 +81,10 @@ | |
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 = 'https://github.com/docsifyjs/docsify/blob/master/docs/' + vm.route.file | ||
} | ||
|
@@ -99,7 +107,10 @@ | |
<script src="//cdn.jsdelivr.net/npm/prismjs/components/prism-bash.min.js"></script> | ||
<script src="//cdn.jsdelivr.net/npm/prismjs/components/prism-markdown.min.js"></script> | ||
<script src="//cdn.jsdelivr.net/npm/prismjs/components/prism-nginx.min.js"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/index.js"></script> | ||
<script | ||
src="//cdn.jsdelivr.net/npm/docsify-darklight-theme@3/dist/index.min.js" | ||
type="text/javascript"> | ||
</script> | ||
<script> | ||
((window.gitter = {}).chat = {}).options = { | ||
room: 'docsifyjs/Lobby' | ||
|
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
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
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
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
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
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
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
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
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
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
Oops, something went wrong.