index.html 4.1 KB
Newer Older
shengzhang_'s avatar
shengzhang_ 已提交
1
<!DOCTYPE html>
shengzhang_'s avatar
shengzhang_ 已提交
2
<html lang="zh">
shengzhang_'s avatar
shengzhang_ 已提交
3 4 5 6 7 8 9
	<head>
		<meta charset="UTF-8">
		<title>sa-token</title>
		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
		<meta name="description" content="Description">
		<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
		<meta name="keywords" content="sa-token|sa-token框架|sa-token文档|sa-token在线文档|权限认证框架">
shengzhang_'s avatar
...  
shengzhang_ 已提交
10
		<meta name="description" content="sa-token是一个JavaWeb权限认证框架,强大、简单、好用,登录验证、权限验证、自定义session会话、踢人下线、持久层扩展、无cookie模式、模拟他人账号、多账号体系、注解式鉴权、Spring集成...,零配置开箱即用,覆盖所有应用场景,你所需要的功能,这里都有">
shengzhang_'s avatar
shengzhang_ 已提交
11
		<link rel="stylesheet" href="https://unpkg.com/docsify@4.11.3/lib/themes/vue.css">
shengzhang_'s avatar
shengzhang_ 已提交
12
		<link rel="stylesheet" href="./index.css">
shengzhang_'s avatar
shengzhang_ 已提交
13 14 15 16 17 18 19 20 21 22 23 24
		<link rel="shortcut icon" type="image/x-icon" href="logo.png">
	</head>
	<body>
		<a href="/">
			<div class="logo-box">
				<img src="logo.png" title="logo" />
				<h1 class="logo-text">sa-token</h1>
			</div>
		</a>
		<nav>
			<a href="/">首页</a>
			<a href="/doc/">文档</a>
shengzhang_'s avatar
shengzhang_ 已提交
25
			<a href="http://sa-app.dev33.cn/wall.html?name=sa-token" target="_blank">需求墙</a>
shengzhang_'s avatar
shengzhang_ 已提交
26 27 28 29 30
			<a href="/doc/#/more/update-log">更新日志</a>
		</nav>
		<div id="app">加载中...</div>
		<script>
			var name = '<img style="width: 50px; height: 50px; vertical-align: middle;" src="logo.png" alt="logo" /> ';
shengzhang_'s avatar
shengzhang_ 已提交
31
			name += '<b style="font-size: 24px; vertical-align: middle;">sa-token</b> <sub>v1.4.0</sub>'
shengzhang_'s avatar
shengzhang_ 已提交
32 33 34 35
			window.$docsify = {
				name: name, // 名字 
				repo: 'https://github.com/click33/sa-token', // github地址 
				// themeColor: '#06A3D7', // 主题颜色  
shengzhang_'s avatar
shengzhang_ 已提交
36
				basePath: location.pathname.substr(0, location.pathname.lastIndexOf('/') + 1),	// 自动计算项目名字 
shengzhang_'s avatar
shengzhang_ 已提交
37 38 39 40 41 42 43 44 45 46
				// basePath: '/sa-token-doc/',		// 设置文件加载的父路径, 这在一些带项目名部署的文件中非常有效
				auto2top: true, // 是否在切换页面后回到顶部 
				// coverpage: true, // 开启封面 
				subMaxLevel: 3, // 标题解析层级, 写几就在目录树中解析到几级标题 ,一般写2吧也就 
				loadSidebar: true, // 加载自定义侧边栏 , 目录定制在: _sidebar.md 文件 (需要创建 .nojekyll 的空文件,阻止 GitHub Pages 忽略命名是下划线开头的文件)
				copyCode: { // 复制插件 
					buttonText: '复制到剪贴板',
					errorText: '错误',
					successText: '复制成功'
				},
shengzhang_'s avatar
shengzhang_ 已提交
47
				// search: 'auto', // 搜索功能 
shengzhang_'s avatar
shengzhang_ 已提交
48 49
				alias: {
					'/.*/_sidebar.md': '/_sidebar.md'
shengzhang_'s avatar
shengzhang_ 已提交
50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65
				},
				plugins: [	// 自定义插件 
					function(hook, vm) {
						// 解析之后执行 
						hook.afterEach(function(html) {
							var url = 'https://github.com/click33/sa-token/tree/master/sa-token-doc/doc/' + vm.route.file;
							var footer = [
								'<br/><br/><br/><br/><br/><br/><br/><hr/>',
								'<footer>',
								'&emsp;<span>发现错误?想参与编辑? <a href="' + url + '" target="_blank">在 GitHub 上编辑此页!</a> </span>',
								'</footer>'
							].join('');
							return html + footer;
						});
					}
				]	
shengzhang_'s avatar
shengzhang_ 已提交
66 67 68 69 70
			}
		</script>
		<script src="https://unpkg.com/docsify@4.9.4/lib/docsify.min.js"></script>
		<script src="https://unpkg.com/docsify-copy-code@2.1.0/dist/docsify-copy-code.min.js"></script>
		<script src="https://unpkg.com/prismjs@1.19.0/components/prism-java.min.js"></script>
shengzhang_'s avatar
shengzhang_ 已提交
71
		<script src="https://cdn.jsdelivr.net/npm/docsify/lib/plugins/search.min.js"></script>
shengzhang_'s avatar
shengzhang_ 已提交
72 73 74 75 76 77 78 79 80 81 82 83 84 85

		<script>
			(function() {
				var bp = document.createElement('script');
				var curProtocol = window.location.protocol.split(':')[0];
				if (curProtocol === 'https') {
					bp.src = 'https://zz.bdstatic.com/linksubmit/push.js';
				} else {
					bp.src = 'http://push.zhanzhang.baidu.com/push.js';
				}
				var s = document.getElementsByTagName("script")[0];
				s.parentNode.insertBefore(bp, s);
			})();
		</script>
shengzhang_'s avatar
shengzhang_ 已提交
86 87 88
		<div style="height: 0px; overflow: hidden;">
			<script type="text/javascript" src="https://v1.cnzz.com/z_stat.php?id=1279021391&web_id=1279021391"></script>
		</div>
shengzhang_'s avatar
shengzhang_ 已提交
89 90 91

	</body>
</html>