All Projects → inhere → md-site-reader

inhere / md-site-reader

Licence: MIT license
a very lightweight markdown docs site reader

Programming Languages

CSS
56736 projects
javascript
184084 projects - #8 most used programming language
HTML
75241 projects

Projects that are alternatives of or similar to md-site-reader

Emacs Easy Hugo
Emacs major mode for managing hugo
Stars: ✭ 235 (+1368.75%)
Mutual labels:  static-site-generator, github-pages
acblog
An open source extensible static & dynamic blog system. (an alternative tool with same features at StardustDL/paperead)
Stars: ✭ 60 (+275%)
Mutual labels:  static-site-generator, github-pages
github-pages-vuepress
Build a static website using VuePress and deploy to Github Pages
Stars: ✭ 20 (+25%)
Mutual labels:  static-site-generator, github-pages
Beautiful Jekyll
✨ Build a beautiful and simple website in literally minutes. Demo at https://beautifuljekyll.com
Stars: ✭ 3,778 (+23512.5%)
Mutual labels:  static-site-generator, github-pages
Jekyll Rtd Theme
Just another documentation theme compatible with GitHub Pages
Stars: ✭ 92 (+475%)
Mutual labels:  static-site-generator, github-pages
Wowchemy Hugo Modules
🔥 Hugo website builder, Hugo themes & Hugo CMS. No code, build with widgets! 创建在线课程,学术简历或初创网站。
Stars: ✭ 6,093 (+37981.25%)
Mutual labels:  static-site-generator, github-pages
startbootstrap-stylish-portfolio-jekyll
Jekyll theme based on Stylish Portfolio Bootstrap theme
Stars: ✭ 20 (+25%)
Mutual labels:  static-site-generator, github-pages
Actions Gh Pages
GitHub Actions for GitHub Pages 🚀 Deploy static files and publish your site easily. Static-Site-Generators-friendly.
Stars: ✭ 2,576 (+16000%)
Mutual labels:  static-site-generator, github-pages
wowchemy-hugo-themes
🔥 Hugo website builder, Hugo themes & Hugo CMS. No code, easily build with blocks! 创建在线课程,学术简历或初创网站。#OpenScience
Stars: ✭ 6,891 (+42968.75%)
Mutual labels:  static-site-generator, github-pages
flourish
Yet another static site generator
Stars: ✭ 12 (-25%)
Mutual labels:  static-site-generator
Kotsu
✨ Clean, opinionated foundation for new projects — to boldly go where no man has gone before
Stars: ✭ 48 (+200%)
Mutual labels:  static-site-generator
easy-markdown-to-github-pages
Convert Markdown files in Github to a full website using Github Pages
Stars: ✭ 80 (+400%)
Mutual labels:  github-pages
bowman
A simple static site generator with an integrated toolchain for efficient development and delivery.
Stars: ✭ 17 (+6.25%)
Mutual labels:  static-site-generator
go-slate
A CLI tool to generate API documentation using Slate layout by Robert Lord
Stars: ✭ 19 (+18.75%)
Mutual labels:  static-site-generator
ghost-on-github-pages
💻⏰ Ghost on Github Pages. Build and deploy Ghost for free in a few minutes.
Stars: ✭ 48 (+200%)
Mutual labels:  github-pages
static-lite
A minimalist configuration for generating static sites, powered entirely by NPM scripts.
Stars: ✭ 28 (+75%)
Mutual labels:  static-site-generator
laststaticsitegenerator
After learning how to use task runners like grunt, gulp, webpack and many static site generators i was in need for one workflow that makes setting up any tools unnecessary. Here it is!
Stars: ✭ 14 (-12.5%)
Mutual labels:  static-site-generator
sb2nov.github.io
Sourabh's portfolio
Stars: ✭ 32 (+100%)
Mutual labels:  github-pages
polyglot
Create websites using any mix of programming languages or workflows 💎
Stars: ✭ 79 (+393.75%)
Mutual labels:  static-site-generator
gridsome-starter-default
🐣 Default starter for Gridsome
Stars: ✭ 35 (+118.75%)
Mutual labels:  static-site-generator

markdown documents site reader

一个非常简单的markdown文档站点阅读器小工具,自动拉取目录数据并生成目录侧边栏,自动根据文档生成TOC。 只需几步就可以将一个 github 上的 markdown 文档仓库渲染成一个文档站点

  • 纯静态渲染,只要有一个可以放静态文件的服务器, 配置好相关信息。访问 index.html 即可(可以直接使用代码托管平台的pages服务)
  • 原生支持渲染 gitbook 导出的 markdown 站点
  • 可直接渲染github(或者其他任意git代码托管平台)上的任意一个 markdown 文档仓库,无需拉取仓库代码
  • 简单的目录搜索功能支持(会将目录的 链接文字和链接href 作为匹配目标)
  • 样式使用基于bootstrap 3 的 bootswatch(可以直接在页面底部切换各种主题)
  • 自动缓存内容到本地(localSorage),加快二次打开速度
  • 使用highlight添加代码高亮支持

将此仓库代码拉取到你的服务器上使用,速度会比直接使用 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!'
  • 效果预览:

alt text

更多书籍文档

请看站点 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'
}

License

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].