Skip to content

Latest commit

 

History

History
61 lines (42 loc) · 1.36 KB

md.md

File metadata and controls

61 lines (42 loc) · 1.36 KB

docsify

Based on docsify

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

Start service

docsify serve ./docs

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

Warehouse Address

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

##gittalk

Plug-in to display the content of GitHub issues

https://github.com/gitalk/gitalk

Install

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

vargitalkConfig = {
     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');

Sign in with

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

Open source

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