Coder Social home page Coder Social logo

art2u / dokker Goto Github PK

View Code? Open in Web Editor NEW

This project forked from kengz/dokker

0.0 2.0 0.0 391 KB

Dokker.js creates professional Javascript code documentations.

Home Page: http://dokkerjs.com

License: MIT License

JavaScript 69.02% HTML 8.65% CSS 22.33%

dokker's Introduction

dokker logo

Dokker.js creates professional Javascript code documentations.

See Dokker.js documentation as example.

Build Status

Features

  • Create or HTML or markdown documentation from JSDOC tags
  • Support for literate programming documentation
  • Live edit source code and watch changes
  • Include link to your Github repository
  • Customize your own templates with ejs or use default style
  • Create feature description from mocha test suite
  • Automagically include your README.md into the documentation
  • Use your own logo to make an astonishing impression
  • Deploy documentation to Github pages on the fly

Community

Gitter

Installation

Dokker is available as npm package. So the easiest way is to install dokker as local module into your project:

npm install dokker

Usage

After installation you can execute Dokker with the help of several terminal commands.

Bootstrap Dokker project

Dokker needs a configuration file to execute, such as a .travis or .jshintrc. You can easily create .dokker.json file with the ./node_modules/dokker/bin/init command from the root directory of your project or copy an example file.

Dokker provides a default template for your project. The template is based on an ejs file. Either you use the default template or modify it. If you choose for the latter you can copy the templates directory and tweak the ejs files how you like.

Create documentation

Creating a documentation is really simple with the help of Dokker. You just configure the .dokker.json file and execute ./node_modules/dokker/bin/dokker. Then you're done.

Live edit your documentation

If you want to work on your source file and see how the documentation evolves, you can do ./node_modules/dokker/bin/watch and it will open a browser with live preview.

Deploy to Github Pages

If you want to deploy your documentation to Github Pages, run ./node_modules/dokker/bin/gh-pages. Finally a separate branch, named gh-pages is created from the docs folder. That is enough for Github to serve your documentation. Please do not forget to git commit your changes before your run gh-pages command.

Dokker in the wild

Some examples by our users. Let us know what you did with Dokker too!

Further Reading

Contributors

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.