index.html 4.8 KB
Newer Older
智布道's avatar
智布道 已提交
1 2 3
<!DOCTYPE html>
<html lang="en">
<head>
智布道's avatar
智布道 已提交
4
  <meta name="google-site-verification" content="DJSx-fAGWci-EWueWy2_RfafHJX1iv5XhfftGSg-SR0" />
智布道's avatar
智布道 已提交
5 6 7 8 9 10 11 12 13 14 15 16 17 18
  <meta charset="UTF-8">
  <title>JustAuth - 史上最全的整合第三方登录的开源库</title>
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
  <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">

  <meta name="description" content="JustAuth,史上最全的整合第三方登录的开源库" />
  <meta name="keywords" content="JustAuth,第三方授权登录,OAuth" />

  <meta itemprop="name" content="JustAuth,史上最全的整合第三方登录的开源库" />
  <meta itemprop="description" content="JustAuth,如你所见,它仅仅是一个第三方授权登录的工具类库,它可以让我们脱离繁琐的第三方登录SDK,让登录变得So easy!" />
  <meta itemprop="image" content="./_media/cover.png" />

  <link rel="shortcut icon" href="favicon.ico">
  <link rel="stylesheet" href="//unpkg.com/docsify/lib/themes/vue.css">
智布道's avatar
智布道 已提交
19
  <link rel="stylesheet" href="//unpkg.com/gitalk/dist/gitalk.css">
20
  <link rel="stylesheet" href="//cdn.jsdelivr.net/npm/mermaid/dist/mermaid.min.css">
智布道's avatar
智布道 已提交
21

智布道's avatar
智布道 已提交
22 23
</head>
<body>
智布道's avatar
智布道 已提交
24
  <div data-app id="app">Please wait...</div>
智布道's avatar
智布道 已提交
25
  <script>
26
    var num = 0;
智布道's avatar
智布道 已提交
27
    window.$docsify = {
智布道's avatar
智布道 已提交
28 29 30
      el: '#app',
      name: 'JustAuth',
      logo: './_media/cover.png',
智布道's avatar
智布道 已提交
31 32 33 34 35 36 37
      search: {
        maxAge: 86400000,
        noData: {
          '/': '找不到结果'
        },
        paths: 'auto',
        placeholder: {
智布道's avatar
智布道 已提交
38
          '/': '输入您的关键词进行搜索'
智布道's avatar
智布道 已提交
39 40 41 42 43 44 45 46
        }
      },
      repo: 'https://gitee.com/yadong.zhang/JustAuth',
      loadSidebar: true,
      maxLevel: 4,
      subMaxLevel: 2,
      auto2top: true,
      coverpage: true,
智布道's avatar
智布道 已提交
47
      autoHeader: true,
智布道's avatar
智布道 已提交
48
      formatUpdated: '{YYYY}/{MM}/{DD} {HH}:{mm}:{ss}',
智布道's avatar
智布道 已提交
49
      notFoundPage: '_404.md',
智布道's avatar
智布道 已提交
50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67
      plugins: [
        function (hook, vm) {
          var footer = [
            '<hr/>',
            '<footer>',
            '<span>JustAuth: <a href="https://github.com/justauth/JustAuth">Github</a> | <a href="https://gitee.com/yadong.zhang/JustAuth">Gitee</a> &copy;2019.</span>',
            '<span>Proudly published with <a href="https://github.com/docsifyjs/docsify" target="_blank">docsify</a>.</span>',
            '</footer>'
          ].join('');
          hook.afterEach(function (html) {
            return html + footer
          });
          hook.beforeEach(function (html) {
            var url = 'https://gitee.com/yadong.zhang/JustAuth/tree/master/docs/' + vm.route.file;
            var editHtml = '[📝 编辑该文档](' + url + ')\n';

            return  html
              + '\n----\n'
68
              + '最后更新时间: {docsify-updated} '
智布道's avatar
智布道 已提交
69 70 71
              + editHtml
          })
        }
72 73 74 75 76 77 78 79 80 81 82 83 84
      ],
      markdown: {
          renderer: {
              code: function(code, lang) {
                  if (lang === "mermaid") {
                      return (
                          '<div class="mermaid">' + mermaid.render('mermaid-svg-' + num++, code) + "</div>"
                      );
                  }
                  return this.origin.code.apply(this, arguments);
              }
          }
      }
智布道's avatar
智布道 已提交
85 86 87
    }
  </script>
  <script src="//unpkg.com/docsify/lib/docsify.min.js"></script>
智布道's avatar
智布道 已提交
88 89
  <script src="//unpkg.com/docsify/lib/plugins/search.min.js"></script>
  <script src="//unpkg.com/docsify-copy-code"></script>
90
  <script src="//cdn.jsdelivr.net/npm/mermaid/dist/mermaid.min.js"></script>
91
  <script>mermaid.initialize({startOnLoad:true});</script>
92
  <script src="//unpkg.com/prismjs/components/prism-java.min.js"></script>
智布道's avatar
智布道 已提交
93

智布道's avatar
智布道 已提交
94 95 96 97 98 99 100 101 102 103
  <script src="//unpkg.com/docsify/lib/plugins/gitalk.min.js"></script>
  <script src="//unpkg.com/gitalk/dist/gitalk.min.js"></script>

  <script>
      const gitalk = new Gitalk({
          clientID: 'e58f172df200e88e266b',
          clientSecret: 'ee22ce68934616f7de043a950cbdb7d613a03202',
          repo: 'justauth-talk',
          owner: 'zhangyd-c',
          admin: ['zhangyd-c'],
智布道's avatar
智布道 已提交
104
          id: location.hash,
智布道's avatar
智布道 已提交
105 106 107 108
          // facebook-like distraction free mode
          distractionFreeMode: false
      })
  </script>
智布道's avatar
智布道 已提交
109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128

  <!-- 百度统计 -->
  <script>
    var _hmt = _hmt || [];
    (function() {
      var hm = document.createElement("script");
      hm.src = "https://hm.baidu.com/hm.js?4c7a1a462477545b480a3dd1ed95f0a9";
      var s = document.getElementsByTagName("script")[0];
      s.parentNode.insertBefore(hm, s);
    })();
  </script>
  <!-- Global site tag (gtag.js) - Google Analytics -->
  <script async src="https://www.googletagmanager.com/gtag/js?id=UA-151202614-1"></script>
  <script>
    window.dataLayer = window.dataLayer || [];
    function gtag(){dataLayer.push(arguments);}
    gtag('js', new Date());

    gtag('config', 'UA-151202614-1');
  </script>
智布道's avatar
智布道 已提交
129 130
</body>
</html>