Giter Site home page Giter Site logo

dapepe / documentor Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bafs/documentor

0.0 2.0 0.0 104 KB

Super intuitive documentation generator, from markdown files to a single html file (style, scripts, images, search engine embedded). —

Home Page: https://bafs.github.io/Documentor

JavaScript 70.52% HTML 8.06% CSS 21.42%

documentor's Introduction

A super intuitive doc generator from Markdown files

Installation

npm -g i documentor

or for yarn users: yarn global add documentor

Quick Usage

documentor init  # initialisation of the documentation
documentor ./myName -o output.html  # render the documentation to output.html

Please check the documentation for more details.

Command Line Usage

  • -i, --input: Input folder (optional flag)
  • -o, --output: Write in file
  • -c, --config: Configuration file
  • -w, --watch: Watch docs files with partial generation
  • -v, --verbose: Configuration file
  • --var, --variable: Set or override config variable(s)
  • -h, --help: Show help

Examples

Generate project.html from ./docs folder

documentor ./docs -o out.html

Output html to STDOUT from ./docs folder and read the configuration file conf.yml

documentor docs -c conf.yml

Generate "out.html" with a custom name and footer

documentor ./docs -o out.html --var.name "My Project" --var.footer "(c) Project 1.0"

Watch the "docs" folder and regenerate "out.html" on change

documentor docs -o out.html -w

Dev

yarn install

Test

yarn test

Screenshot

TODO

  • Embed images from markdown

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.