Giter VIP home page Giter VIP logo

ezdocs's Introduction

ezdocs Documentation Generator

ezdocs is a documentation generator that converts Markdown to HTML using the Blackfriday tool by Russ Ross and rendered using Bootstrap 2 (United theme by default). All you need is a Go web server and some JavaScript.

The left sidebar serves as table of contents for a particular topic.

The right sidebar serves as the actual content where code is syntax highlighted according to GitHub style.

See examples:

Features:

  • Markdown to HTML (using Blackfriday tool)
  • Bootstrap 2 (United theme by default)
  • Static content but dynamically rendered at client-side using AJAX
  • Tree view of table of contents (left side bar)
  • Powered by highlight.js for syntax highlight

Customization:

  • The table of contents can be 3 levels deep
  • Bootstrap 2 theme can be modified (located at css folder)

Folder structure:

  • css
  • html
  • img
  • js
  • index.html

Steps:

1 .Compile Blackfriday tool

Download Blackfriday Tool at https://github.com/itmarketplace/blackfriday-tool/releases

2. Create your Markdown content

3. Convert Markdown to HTML

bt article.md article.html

4. Download Caddy Web server

Download here

5. Put your static files to a folder at the same level of Caddy

6. Modify jqready.js to include route of html file converted by Blackfriday tool

  var routes = {
	//javascript
	'/anchor': newHandler(f, "anchor"),
	'/kiss': newHandler(f, "kiss"),
	'/httprouter': newHandler(f, "httprouter"),
	'/jwt':  newHandler(f, "jwt"),
	'/salt': newHandler(f, "salt")
  }

7. Run Caddy Web server

8. See your ezdocs

For example, if you extracted Caddy to C:\web and your static files are at C:\web\static

you can see your ezdocs at http://localhost:2015/static

License

MIT

Copyright (c) 2016 - Isagani Mendoza

ezdocs's People

Contributors

ibmendoza avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.