Git Product home page Git Product logo

documon's Introduction

Documon

A documentation system for mortals. Use with any language.

Generates a static, searchable documentation website from JavaDoc style comments found within source code. It is similar to YUIdoc, but doesn't infer anything from the source code or directory stucture.

Yes, I eat my own dog food -- this site you're currently looking at was generated by Documon.

Example + Documentation: http://www.documon.net

Get It

Install via NPM:

npm install documon

Or ↆ download Documon directly and use it "stand alone" (via Node).

Or via github:

Quick Start

Within Node project (javascript):

var docs = require("documon");
docs({
    src : "path/to/src"
});

From CLI:

node /path/to/documon/index.js "/path/to/source" "/path/to/destination"

Benefits

Comment tags are soley responsible for organizing the resulting heirarchy (inheritence and membership).

  • Built for mortals, runs on Node.
  • Generates static website (no server-side stuff).
  • Search enabled (low overhead, no database)
  • Use within any Node build system.
  • Zero dependancies.
  • Use with any programming language.
  • Plain-text + markdown based.
  • JavaDoc syntax.
  • Structure is derived soley from the comments.
  • Direct control over final structure of the resulting website.
  • Great for small and large projects.
  • Auto inheritance cross fill and referencing (links to and fills children classes with inherited methods, props and events).

Documon does NOT:

  • Actual source code not required.
  • Doesn't interpret / execute source code.
  • No over-arching code organization required.
  • Doesn't infer inheritence / membership from the directory structure.
  • Doesn't infer property / method names, arguments, etc, from the source code.

As a result, comment blocks must be robust and include all pertinent details required to generate documentation.

Get Involved

Platforms

Documon is written in Javascript and runs on the Node platform, which runs on Linux, Mac, and Windows systems. Documon can be installed using NPM, or ↆ downloaded directly.

Templates

Templating is handled through vanilla javascript modules, leveraging ES6's Template Literals. This provides the highest level of flexability with zero-dependancies, unlimited logic constraints, and nothing new to learn.

Of course, since templates are JS, you can always roll some other templating system, such as Twig, or Handlebars, into your custom template.

Dependancies

Documon's only dependancy is Node, no additional modules are needed.

Change Log

v1.1 - 2019-10-20 @ 13:10:18

  • updates

v1.0 - 2017-01-28 @ 13:09:49

  • initial release

Author & Copyright

Copyright © Mike Gieson. Released under the MIT license.

.

documon's People

Contributors

bobtherobot avatar

Stargazers

 avatar

Watchers

 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.