Ai
1 Star 0 Fork 0

coolyeah/leetcode-doocs

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
index.html 3.88 KB
一键复制 编辑 原始数据 按行查看 历史
ylb 提交于 2020-04-10 17:06 +08:00 . feat: add netlify site for leetcode project
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>LeetCode、剑指Offer、程序员面试金典题解</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="keywords" content="doc,docs,doocs,documentation,github,gitee,coding,pages,leetcode,coding-interview,cracking-the-coding-interview,yanglbme">
<meta name="description" content="LeetCode、剑指Offer、程序员面试金典题解">
<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="//unpkg.com/docsify/lib/themes/vue.css">
<link rel="stylesheet" href="//unpkg.com/docsify-dark-mode@0.6.1/dist/style.css" />
<link rel="icon" type="image/png" sizes="32x32" href="img/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="img/favicon-16x16.png">
</head>
<body>
<div id="app">本系列知识由 Doocs 开源社区原创发布</div>
<script>
window.$docsify = {
name: 'leetcode',
logo: '/img/doocs-leetcode.png',
search: [
'/','/solution/','/lcof/','lcci/'
],
auto2top: true,
loadSidebar: 'summary.md',
alias: {
'/lcci/.*/summary.md': '/lcci/summary.md',
'/lcof/.*/summary.md': '/lcof/summary.md',
'/solution/.*/summary.md': '/solution/summary.md'
},
pagination: {
previousText: '上一题',
nextText: '下一题',
crossChapter: true,
crossChapterText: true
},
darkMode: {
light: {
toggleBtnBg: '#42b983'
}
},
plugins: [
function (hook, vm) {
hook.beforeEach(function (html) {
const en = vm.route.file.indexOf('README_EN') > -1
if (/githubusercontent\.com/.test(vm.route.file)) {
url = vm.route.file
.replace('raw.githubusercontent.com', 'github.com')
.replace(/\/master/, '/blob/master')
} else {
url = 'https://github.com/doocs/leetcode/blob/master/' + vm.route.file
}
const edit = en ? 'Edit on GitHub' : '在 GitHub 编辑'
const editHtml = `[:memo: ${edit}](${url})\n`
return editHtml + html
})
hook.afterEach(function (html) {
const en = vm.route.file.indexOf('README_EN') != -1
const copyright = en ? '. All Rights Reserved' : ' 版权所有'
const footer = `<footer><span>Copyright © 2018-2020 <a href="https://github.com/doocs" target="_blank">Doocs</a>${copyright}</footer>`
return html + footer
})
},
]
}
</script>
<script src="//unpkg.com/docsify/lib/docsify.min.js"></script>
<script src="//unpkg.com/prismjs/components/prism-c.min.js"></script>
<script src="//unpkg.com/prismjs/components/prism-go.min.js"></script>
<script src="//unpkg.com/prismjs/components/prism-sql.min.js"></script>
<script src="//unpkg.com/prismjs/components/prism-bash.min.js"></script>
<script src="//unpkg.com/prismjs/components/prism-cpp.min.js"></script>
<script src="//unpkg.com/prismjs/components/prism-json.min.js"></script>
<script src="//unpkg.com/prismjs/components/prism-java.min.js"></script>
<script src="//unpkg.com/prismjs/components/prism-csharp.min.js"></script>
<script src="//unpkg.com/prismjs/components/prism-javascript.min.js"></script>
<script src="//unpkg.com/prismjs/components/prism-python.min.js"></script>
<script src="//unpkg.com/docsify-copy-code"></script>
<script src="//unpkg.com/docsify/lib/plugins/search.js"></script>
<script src="//unpkg.com/docsify/lib/plugins/emoji.js"></script>
<script src="//unpkg.com/docsify/lib/plugins/zoom-image.js"></script>
<script src="//unpkg.com/docsify-dark-mode@0.6.1/dist/index.js"></script>
<script src="//unpkg.com/docsify-pagination/dist/docsify-pagination.min.js"></script>
</body>
</html>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/coolyeah/leetcode-doocs.git
git@gitee.com:coolyeah/leetcode-doocs.git
coolyeah
leetcode-doocs
leetcode-doocs
master

搜索帮助