基于 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
展示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');