Skip to content

Latest commit

 

History

History
61 lines (42 loc) · 1.33 KB

md.md

File metadata and controls

61 lines (42 loc) · 1.33 KB

docsify

基于 docsify

https://docsify.js.org/#/zh-cn/cover

启动服务

docsify serve ./docs

https://zeroone001.github.io/robotdemo.github.io/#/

仓库地址

https://github.com/BerserkerRider/robot.github.io

gittalk

展示GitHub issues 内容的插件

https://github.com/gitalk/gitalk

安装

https://github.com/gitalk/gitalk#install

var gitalkConfig = {
    clientID: "a2bdae5457402030fb6b",
    clientSecret: "c1c9ce6f3334a85f5456b602ca138dee038fd414",
    repo: "robotdemo.github.io",
    owner: "zeroone001",
    admin: ["zeroone001"],
    perPage: 20,
    language: "zh-CN",
    // labels: ['Open'],
    pagerDirection: "last",
    distractionFreeMode: false,
    proxy: 'http://192.168.31.16:8011'
};
const gitalk = new Gitalk({
    clientID: 'GitHub Application Client ID',
    clientSecret: 'GitHub Application Client Secret',
    repo: 'https://github.com/zeroone001/robotdemo.github.io/tree/master',      // The repository of store comments,
    owner: 'zeroone001',
    admin: ['zeroone001'],
    id: location.pathname,      // Ensure uniqueness and length less than 50
    distractionFreeMode: false  // Facebook-like distraction free mode
})

gitalk.render('gitalk-container');

第三方登录

https://www.ruanyifeng.com/blog/2019/04/github-oauth.html

开源

https://github.com/doocs/doocs.github.io