a very lightweight markdown docs site reader
MIT License
markdownTOC github markdown
index.html
(pages)github pages
config.js
, index.html
**** https://inhere.github.io/md-site-reader/
@astaxie github Go web
index.html
config.js
// page title = baseTile + content title
config.baseTitle = 'Go Web '
config.siteName = 'Go Web '
config.siteDes = 'Go Web '
config.siteKey = 'go-web-dev'
config.logoUrl = '/md-site-reader/'
config.docProject = 'astaxie/build-web-application-with-golang'
// // e.g https://raw.githubusercontent.com/{astaxie/build-web-application-with-golang}/master/{beanfactory.md}
config.dataUrl = 'https://raw.githubusercontent.com/astaxie/build-web-application-with-golang/master/zh/'
config.docUrl = 'https://github.com/astaxie/build-web-application-with-golang'
// // e.g https://github.com/astaxie/build-web-application-with-golang/edit/master/http.md
config.editUrl = 'https://github.com/astaxie/build-web-application-with-golang/edit/master'
config.project = 'inhere/md-site-reader'
config.projectUrl = 'https://github.com/inhere/md-site-reader'
config.issueUrl = 'https://github.com/astaxie/build-web-application-with-golang/issues'
config.authorPage = 'https://github.com/astaxie'
config.authorName = 'astaxie'
config.theme = 'paper'
config.codeTheme = 'github'
config.catelogPage = 'SUMMARY.md'
config.defaultPage = 'README.md'
config.makeTOC = true
config.emptyData = 'No content to display!'
**** https://git-books.github.io/
github https://github.com/git-books/git-books.github.io
github
// 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: '',
// e.g https://raw.githubusercontent.com/{swoft-cloud/swoft-doc}/master/{beanfactory.md}
dataUrl: '',
docUrl: '',
// e.g https://github.com/swoft-cloud/swoft-doc/blob/master/http.md
editUrl: '',
project: '',
projectUrl: '',
issueUrl: '',
authorPage: '',
authorName: '',
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