代码拉取完成,页面将自动刷新
一个非常简单的markdown文档站点阅读器小工具,自动拉取目录数据并生成目录侧边栏,自动根据文档生成TOC
index.html
即可访问站点: https://git-books.github.io
仓库地址: https://github.com/git-books/git-books.github.io
你可以通过 config.js
来覆盖默认配置, 然后访问 index.html
即可
// file: assets/js/config.defalut.js
{
// use for cache prefix
siteKey: 'swoft',
siteName: 'Swoft',
siteDes: 'the description text',
// page title = baseTile + content title
baseTitle: 'Swoft Doc',
// basePath: ,
logoUrl: '/',
docProject: 'swoft-cloud/swoft-doc',
// e.g https://raw.githubusercontent.com/{swoft-cloud/swoft-doc}/master/{beanfactory.md}
dataUrl: 'https://raw.githubusercontent.com/swoft-cloud/swoft-doc/master/',
docUrl: 'https://github.com/swoft-cloud/swoft-doc',
// e.g https://github.com/swoft-cloud/swoft-doc/blob/master/http.md
editUrl: 'https://github.com/swoft-cloud/swoft-doc/blob/master',
project: 'swoft-cloud/swoft',
projectUrl: 'https://github.com/swoft-cloud/swoft',
issueUrl: 'https://github.com/swoft-cloud/swoft/issues',
authorPage: 'https://github.com/stelin',
authorName: 'stelin',
emptyData: 'No content to display!',
catelogPage: 'SUMMARY.md',
defaultPage: 'README.md',
// assets/lib/bootswatch/{theme:paper}/bootstrap.min.css
theme: 'paper',
// assets/lib/highlight/styles/{codeTheme:github}.css
codeTheme: 'github',
makeTOC: true,
/* £ $ & β ξ ψ ℘ § */
anchorIcon: '℘',
tableClass: 'table table-bordered table-striped'
}
MIT
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。